gcloud_beta_compute_os-login_ssh-keys_update (1)
NAME
- gcloud beta compute os-login ssh-keys update - update an SSH public key in an OS Login profile
SYNOPSIS
-
gcloud beta compute os-login ssh-keys update --ttl=TTL (--key=KEY | --key-file=KEY_FILE) [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(BETA) gcloud beta compute os-login ssh-keys update will take
REQUIRED FLAGS
-
- --ttl=TTL
-
The amount of time before the SSH key expires. For example, specifying
30m will set the expiration time on the SSH key for 30 minutes from
the current time. A value of 0 will result in no expiration time. See $ gcloud
topic datetimes for information on duration formats.
-
Exactly one of these must be specified:
-
- --key=KEY
-
The SSH public key to update the OS Login Profile. Key value can either be the
SSH key or the OS Login fingerprint of the key.
- --key-file=KEY_FILE
-
The path to a file containing an SSH public key to update the OS Login Profile.
Key value can either be the SSH key or the OS Login fingerprint of the key.
-
GCLOUD WIDE FLAGS
These flags are available to all commands: --account, --configuration, --flags-file, --flatten, --format, --help, --log-http, --project, --quiet, --trace-token, --user-output-enabled, --verbosity. Run $ gcloud help for details.
NOTES
This command is currently in BETA and may change without notice. These variants are also available:
- $ gcloud compute os-login ssh-keys update $ gcloud alpha compute os-login ssh-keys update