Generating S3 account access key pairs via CLI

You can generate a new access key pair for the specified account of an S3 user with the ostor-s3-admin gen-access-key command. The maximum of 2 active access key pairs are allowed per account. You need to specify either the user email (-e) or S3 ID (-i) and the account name. For example:

# ostor-s3-admin gen-access-key -V 0100000000000002 -n account -e

It is recommended to periodically revoke old and generate new access key pairs.