It is important to be able to manage account permissions, users, and services. This guide includes information about account provisioning, authentication, and creating users.
Provisioning
Accounts are currently provisioned manually by the Highwinds support team. The access URLs and authentication credentials will be sent to you upon request by your assigned solutions engineer.
On the authorization side, accounts are split into customers (tenants) and users. A customer/tenant can have one or more users. Each user can either be an admin or a normal user. Admins can grant and revoke permissions to containers to themselves or other users.
On the storage side, there are accounts, containers, and objects. Storage accounts are associated to customer/tenants. Accounts contain containers. Containers can have per-user permissions, and contain objects. Objects always inherit permissions from the container and can't have their own permissions.
Authentication
All requests to Highwinds' API need an authentication token.
curl -v -H 'X-Storage-User: AccountName:AccountUser' -H 'X-Storage-Pass: YourPassword' https://hcs.hwcdn.net/auth/v1.0
Be sure to note the X-Storage-Url and the X-Storage-Token, as they will be needed for all storage-related transactions.
Auth tokens are usually good for up to 24 hours, but may expire sooner under certain circumstances, such as a server restart. If you subsequently get a 401 error for a storage transaction, it is likely your token expired, and you will need to obtain a new token.
Creating Users
A customer can have one or more users, each of which can designated as an admin or a standard user. Users are currently provisioned manually. Please contact the NOC or your assigned solutions engineer to request user provisioning.