Skip to contents

Vault: Rotates the root credentials used in AWS by Vault.

Usage

aws_rotate_root_creds(url = NULL, token = NULL)

Arguments

url

URL of the HashiCorp Vault instance.

token

token (preferrably) the root token to rotate the AWS credentials being used by Vault.

Value

Return's the access key that has been rotated in AWS.

Details

This function rotates the root IAM User credentials used in AWS by Vault.

Examples


if (FALSE)   aws_rotate_root_creds(url,token)