In the swift authentication page, an example is
provided for creating a new user with radosgw-admin.
This example creates a user, but afaict, doesn't
create a user which can access swift (at any rate,
with out further actions).
Fixes: #16687
Signed-off-by: SirishaGuduru <SGuduru@walmartlabs.com>
The token may be retrieved from RADOS Gateway, or from another authenticator.
To obtain a token from RADOS Gateway, you must create a user. For example::
- sudo radosgw-admin user create --uid="{username}" --display-name="{Display Name}"
+ sudo radosgw-admin user create --subuser="{username}:{subusername}" --uid="{username}"
+ --display-name="{Display Name}" --key-type=swift --secret="{password}" --access=full
For details on RADOS Gateway administration, see `radosgw-admin`_.
X-Storage-Url: https://swift.radosgwhost.com/v1/ACCT-12345
X-Auth-Token: UOlCCC8TahFKlWuv9DB09TWHF0nDjpPElha0kAa
Content-Length: 0
- Content-Type: text/plain; charset=UTF-8
\ No newline at end of file
+ Content-Type: text/plain; charset=UTF-8