Generating S3 user access keys via REST API

You can generate a new or additional access key pair for the specified user by sending a POST request to the ostor-users service along with the user email address and the genKey parameter:

# s3_curl POST "http://s3.example.com/?ostor-users&emailAddress=user@example.com&genKey"
{
    "UserEmail": "user@example.com",
    "UserId": "ca55631f9f3d59dc",
    "AWSAccessKeys": [
        {
            "AWSAccessKeyId": "ca55631f9f3d59dcZMDX",
            "AWSSecretAccessKey": "ffWvnOcNiH0jkQod4huv51BMYBuSWs4zRLFVwd4d"
        }
    ]
}