Administrator’s Command Line Guide

Table Of Contents
3.3. Managing S3 Users
3.3.3 Querying S3 User Information
To display information about the specified user, use the ostor-s3-admin query-user-info command. You need to
specify either the user email (-e) or S3 ID (-i). For example:
# ostor-s3-admin query-user-info -e user@email.com
Query user: user id=d866d9d114cc3d20, user email=user@email.com
Key pair[0]: access key id=d866d9d114cc3d20G456,
secret access key=5EAne6PLL1jxprouRqq8hmfONMfgrJcOwbowCoTt
Key pair[1]: access key id=d866d9d114cc3d20D8EW,
secret access key=83tTsNAuuRyoBBqhxMFqHAC60dhKHtTCCkQe54zu
3.3.4 Disabling S3 Users
You can disable a user with the ostor-s3-admin disable-user command. You need to specify either the user email
(-e) or S3 ID (-i). For example:
# ostor-s3-admin disable-user -e user@email.com
3.3.5 Deleting S3 Users
You can delete existing object storage users with the ostor-s3-admin delete-user command. Users who own any
buckets cannot be deleted, so delete user’s buckets first. You need to specify either the user email (-e) or S3
ID (-i). For example:
# ostor-s3-admin delete-user -i bf0b3b15eb7c9019
Deleted user: user id=bf0b3b15eb7c9019
3.3.6 Generating S3 User Access Key Pairs
You can generate a new access key pair for the specified user with the ostor-s3-admin gen-access-key command.
The maximum of 2 active access key pairs are allowed per user (same as with the Amazon Web Services). You
need to specify either the user email (-e) or S3 ID (-i). For example:
# ostor-s3-admin gen-access-key -e user@email.com
Generate access key: user id=d866d9d114cc3d20, access key id=d866d9d114cc3d20D8EW,
33