Creating and Getting an Access Key
To use the API of Arvancloud products, you need a token or access key. These tokens work like regular OAuth tokens, and you can use them for authentication in API requests, in the Authorization header.
Keep your tokens secure, because they work like your account password. Don't put them in code that might be published; use variables for this instead. If a key is published and exposed to others, delete it to revoke its access.
To create an access key, first log in to the Arvancloud panel.
In the menu, click Settings. In the menu of the page that opens, click Machine User List in the IAM section.
Then click the Create Machine User button. In this section, choose a name for the machine user and enter a description for it.
Note that the machine user name must contain only lowercase English letters, numbers, and
-, and must be between 5 and 100 characters long.
Finally, click Create Machine User to create your machine user and see its details and access key.
On this page, an access key in the format apikey XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX is given to you.
After you close this message, you can't recover this key for security reasons, and your key information is stored in hashed form. Save the key in a secure place so you can access it in the future.
To disable or delete machine users, use the actions button next to each one in the machine user list.
To define different permissions for the key and machine user you created, you need to define access policies for it. The Access Policies guide helps you with this.