Create access keys

After you create a storage account, you can create access keys for users that have access to the storage account. Access keys are needed for all Cloud Object Storage requests on the container.

Access keys are created through Service API requests, as in the following example:

curl "http://<accesser ip>:8337/credentials" -X POST -u admin:password 
-d '{"credential":{"project_id": "<storage account name>","type":"ec2"}}' -H "Content-Type: application/json"
  • <accesser ip> is the IP address of an Accesser® Device that belongs to an access pool with the service API enabled. To use an IPv6 address, enclose the Accesser IP in square brackets: [<accesser ip>].
  • <storage account name> is the name of the storage account the access key is associated with.

As part of the response, the key ID, key, and secret key, secret, are returned. These credentials must be used by the user to create and modify containers.