vault.login#
Detects the Vault login method and tries to fetch a Vault token.
This function supports currently only the login into HashiCorp Vault or OpenBao with a JWT token.
Usage: vault.login
Used environment variables:
VAULT_HOST: The HashiCorp Vault or OpenBao host.
VAULT_AUTH_ROLE: User Role
VAULT_ID_TOKEN: JWT token used to login and fetch the Vault Token.
VAULT_TOKEN: The Vault token used for authentication.