Skip to main content

Update Vault Attributes

Update the metadata of a vault

General Usage:

slv vault --vault <PATH_TO_VAULT> update [flags]

Flags:

FlagArgumentsRequiredDefaultDescription
--nameStringFalseNoneThe name to update the vault name with
--k8s-namespaceStringFalseNoneNamespace for the K8S Custom Resource
--vaultStringTrueNAPath to the SLV Vault file
--helpNoneNANAHelp text for slv vault update

When none of the flags above are given, the command would update the vault structure into a K8S compatible resource YAML.

Usage

slv vault --vault test.slv.yaml update --name <NEW_VAULT_NAME> --k8s-namespace <NAMESPACE>

Example:

$ slv vault --vault test.slv.yaml update --name new_vault --k8s-namespace slv
Vault test.slv.yaml transformed to K8s resource new_vault