Skip to contents

Vault: Gets the Vault Data

Usage

get_user_token(url, user, pass)

Arguments

url

URL of the HashiCorp Vault instance.

user

username registered in Vault.

pass

password for username registered in Vault

Value

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

Details

This function gets the user token from Vault for the user name registered in your Vault instance registered at the auth/userpass path.

Examples


if (FALSE)   get_user_token(url,user,pass)