envs

HashiCorp Vault — CLI and API

vault/server · version 1

envs add vault/server

This declares the keys below in your catalog and sets none of them. A template is a schema for keys; it never carries a value.

Key Needed Kind Notes
VAULT_ADDR required config Where the cluster is. An address, and required beside the token: neither works alone.. where to get it
VAULT_TOKEN required secret Authenticates the caller. Unlike most credentials here it expires by default and is renewed rather than replaced, so a leaked one stops working on its own schedule. Root tokens can be set never to expire and are for setup only.. where to get it
VAULT_NAMESPACE optional config Which namespace, on Enterprise. A path, not a credential.. where to get it

The JSON the CLI reads