Machine User
To manage products through the API, we need an API key. These keys can be defined in the machine user section. By assigning a name to a machine user in the access policies section, you can give specific access to each machine user.
To define a machine user, follow these steps:
-
Select Settings from the main menu.
-
In the IAM section, select Machine User List from the menu that opens. On this page, you can see all defined machine users.
-
To define a new machine user, click Create Machine User.
-
On the page that opens, assign a name to your machine user.
The machine user name can contain lowercase English letters, numbers, and -, and must be between 5 and 100 characters long.
-
Then click Create Machine User.
Note that after creating the machine user, you need to give it the necessary access by defining an access policy so you can get responses to API requests.
Access Keys
After creating a machine user, you can add API or HMAC access keys to it.
Adding API Keys
From the (...) menu next to the machine user, select Access Keys.
Then select Create Access Key and choose API Key.
A new API key is generated for you. Copy the key and keep it, because for security reasons you won't have access to it again.
You can define several API keys for each machine user and delete or disable them when needed.
The guide to using the API helps you use the API key.
Adding HMAC Keys
HMAC is an encrypted authentication method used to sign requests and increase communication security. In your Arvancloud account, you can define HMAC keys for machine users.
Note that HMAC can only be used for Object Storage APIs.
To add an HMAC key, select Access Keys from the (...) menu next to the machine user.
Then click Create Access Key and select HMAC Key.
Copy and save the generated HMAC key.
This key is shown only once and can't be recovered.
You can define several HMAC keys for each machine user and delete or disable them when needed.