Skip to content

Latest commit

 

History

History
43 lines (30 loc) · 1.14 KB

cherryctl_ssh-key_update.md

File metadata and controls

43 lines (30 loc) · 1.14 KB

cherryctl ssh-key update

Updates an SSH key.

Synopsis

Updates an SSH key with either a new public key, a new label, or both.

cherryctl ssh-key update ID [--label <text>] [--key <public_key>] [flags]

Examples

  # Update team to change currency to EUR:
  cherryctl ssh-key update 12345 --key [email protected]

Options

  -h, --help             help for update
      --key string       Public SSH key string.
      --label string     Label of the SSH key.
  -i, --ssh-key-id int   ID of the SSH key.

Options inherited from parent commands

      --api-url string   Override default API endpoint (default "https://api.cherryservers.com/v1/")
      --config string    Path to JSON or YAML configuration file
      --context string   Specify a custom context name (default "default")
      --fields strings   Comma separated object field names to output in result. Fields can be used for list and get actions.
  -o, --output string    Output format (*table, json, yaml)
      --token string     API Token (CHERRY_AUTH_TOKEN)

SEE ALSO