gcloud beta compute users remove-keys

NAME
gcloud beta compute users remove-keys - remove a public key from a Google Compute Engine user
SYNOPSIS
gcloud beta compute users remove-keys [NAME] [--fingerprints=FINGERPRINT,[FINGERPRINT,…]] [GCLOUD_WIDE_FLAG …]
DESCRIPTION
(BETA) gcloud beta compute users remove-keys removes public keys from a Google Compute Engine user.
POSITIONAL ARGUMENTS
[NAME]
If provided, the name of the user to remove public keys from. Else, the default user will be used. The default username is mapped from the email address of the authenticated account. Please run:
  $ gcloud config set account ACCOUNT

to change the authenticated account.

FLAGS
--fingerprints=FINGERPRINT,[FINGERPRINT,…]
The fingerprints of the public keys to remove from the user.
GCLOUD WIDE FLAGS
These flags are available to all commands: --account, --configuration, --flatten, --format, --help, --log-http, --project, --quiet, --trace-token, --user-output-enabled, --verbosity. Run $ gcloud help for details.
EXAMPLES
To remove all public keys for a user, run:
  $ gcloud beta compute users remove-keys example-user

To remove a specific public key, first describe the user (using gcloud compute users describe example-user) to determine the fingerprints of the public keys you wish to remove. Then run:

  $ gcloud beta compute users remove-keys example-user \
      --fingerprints b3ca856958b524f3f12c3e43f6c9065d
NOTES
This command is currently in BETA and may change without notice. This variant is also available:
  $ gcloud alpha compute users remove-keys
Was this page helpful? Let us know how we did:

Send feedback about...