Generating S3 account access keys via REST API
You can generate a new or additional access key pair for the specified account of an S3 user by sending a POST request to the ostor-users service along with the user email address, account name, and the genKey parameter:
# s3_curl POST "http://s3.example.com/?ostor-users&emailAddress=user@email.com&accountName=account&genKey"
{
"UserEmail": "user@email.com",
"UserId": "b09693b73b3c7686",
"AWSAccessKeys": [
{
"AWSAccessKeyId": "b09693b73b3c7686Z8BU",
"AWSSecretAccessKey": "m8PgWFLXPeJVSWojCE3DxWDoRk80g7CMyB7xK3Hd"
}
]
}