- NAME
-
- gcloud preview compute interconnects macsec remove-key - remove pre-shared key from a Compute Engine interconnect MACsec configuration
- SYNOPSIS
-
-
gcloud preview compute interconnects macsec remove-keyNAME--key-name=KEY_NAME[GCLOUD_WIDE_FLAG …]
-
- DESCRIPTION
-
(PREVIEW)gcloud preview compute interconnects macsec remove-keyis used to remove pre-shared key from MACsec configuration of interconnect.For an example, refer to the
EXAMPLESsection below. - EXAMPLES
-
To remove a pre-shared key from MACsec configuration, run:
gcloud preview compute interconnects macsec remove-key example-interconnect --key-name=default-key - POSITIONAL ARGUMENTS
-
NAME- Name of the interconnect to update.
- REQUIRED FLAGS
-
--key-name=KEY_NAME- The name of pre-shared key being removed from MACsec configuration of the interconnect.
- GCLOUD WIDE FLAGS
-
These flags are available to all commands:
--access-token-file,--account,--billing-project,--configuration,--flags-file,--flatten,--format,--help,--impersonate-service-account,--log-http,--project,--quiet,--trace-token,--user-output-enabled,--verbosity.Run
$ gcloud helpfor details. - NOTES
-
This command is currently in DEVELOPER PREVIEW and may change without notice. If
this command fails with API permission errors despite specifying the correct
project, you might be trying to access an API with an invitation-only early
access allowlist. These variants are also available:
gcloud compute interconnects macsec remove-keygcloud alpha compute interconnects macsec remove-keygcloud beta compute interconnects macsec remove-key
gcloud preview compute interconnects macsec remove-key
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-04-14 UTC.