Skip to content

Kops get keypairs

kops get keypairs

Get one or many keypairs.

kops get keypairs [KEYSET]... [flags]

Examples

  # List the cluster CA keypairs.
  kops get keypairs kubernetes-ca

  # List the service-account keypairs, including distrusted ones.
  kops get keypairs service-account --distrusted

Options

      --distrusted   Include distrusted keypairs
  -h, --help         help for keypairs

Options inherited from parent commands

      --config string   yaml config file (default is $HOME/.kops.yaml)
      --name string     Name of cluster. Overrides KOPS_CLUSTER_NAME environment variable
  -o, --output string   output format. One of: table, yaml, json (default "table")
      --state string    Location of state storage (kops 'config' file). Overrides KOPS_STATE_STORE environment variable
  -v, --v Level         number for the log level verbosity

SEE ALSO