Creating S3 users via REST API

You can create an S3 user by sending a PUT request to the ostor-users service along with an email address:

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