Configuring Keystone:-
Source the admin credentials to gain access to admin-only CLI commands: –
$ source adminrc.sh
Create the swift user:
$ openstack user create --domain default --password-prompt swift
Check if user is created successfully:
openstack user show swift

Add the admin role to the swift user:
$ openstack role add --project admin --user swift admin
Check swift role assignment:
openstack role assignment list --user swift

Create the swift service entity:
$ openstack service create --name swift --description "OpenStack Object Storage" object-store
Create the Object Storage service API endpoints:
$ openstack endpoint create --region Region1 object-store public http://node1:8080/v1/AUTH_%(tenant_id)s $ openstack endpoint create --region Region1 object-store internal http://node1:8080/v1/AUTH_%(tenant_id)s $ openstack endpoint create --region Region1 object-store admin http://node1:8080/v1

Related Topics:
An Overview of Swift – An Object Storage Service | OpenStack Swift – Part 1
Deploy Multi node Openstack Swift – Queens Configuration | OpenStack Swift – Part 2
Configuring Keystone | OpenStack Swift – Part 3
Install and Configure Proxy Server Components | OpenStack Swift – Part 4
Install and Configure the Storage Nodes | OpenStack Swift – Part 5
Install and configure components | OpenStack Swift – Part 6
Create and Distribute Initial Rings | OpenStack Swift – Part 7
Verify Operation | OpenStack Swift – Part 8




