Skip to contents

Vault: Gets AWS creds from Vault.

Usage

get_aws_creds(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 the AWS creds from the role/IAM User registered in Vault.

Examples


if (FALSE)   get_aws_creds(url="vault-url.com",token=token,role_name="aws-vault-role-name")