HEX
Server: Apache/2.4.65 (Ubuntu)
System: Linux ielts-store-v2 6.8.0-1036-gcp #38~22.04.1-Ubuntu SMP Thu Aug 14 01:19:18 UTC 2025 x86_64
User: root (0)
PHP: 7.2.34-54+ubuntu20.04.1+deb.sury.org+1
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,
Upload Files
File: //snap/google-cloud-cli/current/help/man/man1/gcloud_compute_interconnects_macsec_update-key.1
.TH "GCLOUD_COMPUTE_INTERCONNECTS_MACSEC_UPDATE\-KEY" 1



.SH "NAME"
.HP
gcloud compute interconnects macsec update\-key \- update pre\-shared key in a Compute Engine interconnect MACsec configuration



.SH "SYNOPSIS"
.HP
\f5gcloud compute interconnects macsec update\-key\fR \fINAME\fR \fB\-\-key\-name\fR=\fIKEY_NAME\fR [\fB\-\-start\-time\fR=\fISTART_TIME\fR] [\fIGCLOUD_WIDE_FLAG\ ...\fR]



.SH "DESCRIPTION"

\fBgcloud compute interconnects macsec update\-key\fR is used to update a
pre\-shared key in MACsec configuration of interconnect.

For an example, refer to the \fBEXAMPLES\fR section below.



.SH "EXAMPLES"

To update a pre\-shared key in MACsec configuration, run:

.RS 2m
$ gcloud compute interconnects macsec update\-key \e
    example\-interconnect \-\-key\-name=default\-key \e
    \-\-start\-time=2021\-02\-01T12:12:12Z
.RE



.SH "POSITIONAL ARGUMENTS"

.RS 2m
.TP 2m
\fINAME\fR

Name of the interconnect to update.


.RE
.sp

.SH "REQUIRED FLAGS"

.RS 2m
.TP 2m
\fB\-\-key\-name\fR=\fIKEY_NAME\fR

A name of pre\-shared key being added to MACsec configuration of the
interconnect. The name must be 1\-63 characters long, and comply with RFC1035.


.RE
.sp

.SH "OPTIONAL FLAGS"

.RS 2m
.TP 2m
\fB\-\-start\-time\fR=\fISTART_TIME\fR

A RFC3339 timestamp on or after which the key is valid. startTime can be in the
future. If the keychain has a single key, \-\-start\-time can be omitted. If the
keychain has multiple keys, \-\-start\-time is mandatory for each key. The start
times of two consecutive keys must be at least 6 hours apart.


.RE
.sp

.SH "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 \fB$ gcloud help\fR for details.



.SH "NOTES"

These variants are also available:

.RS 2m
$ gcloud alpha compute interconnects macsec update\-key
.RE

.RS 2m
$ gcloud beta compute interconnects macsec update\-key
.RE