Updates an SSH key.
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]
# Update team to change currency to EUR:
cherryctl ssh-key update 12345 --key [email protected]
-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.
--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)
- cherryctl ssh-key - Ssh-key operations.