Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 1.11 KB

cosign_piv-tool_generate-key.md

File metadata and controls

33 lines (24 loc) · 1.11 KB

cosign piv-tool generate-key

generate-key generates a new signing key on the hardware token

cosign piv-tool generate-key [flags]

Options

  -h, --help                    help for generate-key
      --management-key string   management key, uses default if empty
      --pin-policy string       PIN policy for slot (never|once|always)
      --random-management-key   if set to true, generates a new random management key and deletes it after
      --slot string             Slot to use for generated key (authentication|signature|card-authentication|key-management)
      --touch-policy string     Touch policy for slot (never|always|cached)

Options inherited from parent commands

  -f, --no-input             skip warnings and confirmations
      --output-file string   log output to a file
  -t, --timeout duration     timeout for commands (default 3m0s)
  -d, --verbose              log debug output
  -y, --yes                  skip confirmation prompts for non-destructive operations

SEE ALSO