Skip to content

vkv import

vkv import

import secrets from vkv's json or yaml output

vkv import [flags]

Options

  -d, --dry-run                print resulting KV engine (env: VKV_IMPORT_DRY_RUN)
  -e, --engine-path string     engine path in case your KV-engine contains special characters such as "/", the path (-p) flag will then be appended if specified ("<engine-path>/<path>") (env: VKV_IMPORT_PATH)
  -f, --file string            path to a file containing vkv yaml or json output (env: VKV_IMPORT_FILE)
      --force                  overwrite existing kv entries (env: VKV_IMPORT_FORCE)
  -h, --help                   help for import
      --max-value-length int   maximum char length of values. Set to "-1" for disabling (env: VKV_IMPORT_MAX_VALUE_LENGTH) (default 12)
  -p, --path string            KVv2 Engine path (env: VKV_IMPORT_PATH)
      --show-values            don't mask values (env: VKV_IMPORT_SHOW_VALUES)
  -s, --silent                 do not output secrets (env: VKV_IMPORT_SILENT)

SEE ALSO

  • vkv - the swiss army knife when working with Vault KV engines
Auto generated by spf13/cobra on 19-Dec-2024