Vault: Gets the AWS STS credentials from Vault.
Usage
get_aws_sts(url = NULL, token = NULL, role_name = NULL)
Arguments
- url
url of the HashiCorp Vault instance.
- token
token from user/github/approle/etc.... registered in Vault.
- role_name
role_name for role registered in Vault
Value
Return's the user token that allows an individual to query secrets in Vault.
Details
This function gets AWS STS credentials from the registered role in your Vault instance.
Examples
if (FALSE) get_aws_sts(url,token,role_name)