Skip to contents

Vault: Gets the approle token from Vault.

Usage

get_approle_token(url, role_id, secret_id)

Arguments

url

URL of the HashiCorp Vault instance.

role_id

role_id of the approle in Vault.

secret_id

secret_id of the approle in Vault.

Value

Return's the approle token that allows an approle to query secrets in Vault.

Details

This function gets the approle token from the vault instance. You can then utilize the approle token to query data from vault.

Examples


if (FALSE)   get_approle_token(url,role_id,secret_id)