Vault Agent Auto-Auth AliCloud Method
alicloud method performs authentication against the AliCloud Auth
The Vault agent will use the first credential it can successfully obtain in the following order:
- Environment variables
- A static credential configuration
- Instance metadata (recommended)
Wherever possible, we recommend using instance metadata for credentials. These rotate every hour
and require no effort on your part to provision, making instance metadata the most secure of the three methods. If
using instance metadata and a custom
credential_poll_interval, be sure the frequency is set for
less than an hour, because instance metadata credentials expire every hour.
Environment variables are given first precedence to provide the ability to quickly override your configuration.
(string: required)- The role to authenticate against on Vault.
(string: required)- The AliCloud region in which the Vault agent resides. Example: "us-west-1".
(integer: optional)- In seconds, how frequently the Vault agent should check for new credentials.
If instance metadata is not available, you may provide credential information through the parameters below.
(string: optional)- The access key to use.
(string: optional)- The secret key to use.
(string: optional)- The access token to use.
(string: optional)- The role ARN to use.
(string: optional)- The role session name to use.
(string: optional)- The role session expiration to use.
(string: optional)- The private key to use.
(string: optional)- The public key ID to use.
(string: optional)- The session expiration to use.
(string: optional)- The role name to use.