public sealed class InterconnectMacsecPreSharedKey : IMessage<InterconnectMacsecPreSharedKey>, IEquatable<InterconnectMacsecPreSharedKey>, IDeepCloneable<InterconnectMacsecPreSharedKey>, IBufferMessage, IMessage
Reference documentation and code samples for the Compute Engine v1 API class InterconnectMacsecPreSharedKey.
Describes a pre-shared key used to setup MACsec in static connectivity association key (CAK) mode.
Required. A name for this pre-shared key. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
A RFC3339 timestamp on or after which the key is valid. startTime can be in the future. If the keychain has a single key, startTime can be omitted. If the keychain has multiple keys, startTime is mandatory for each key. The start times of keys must be in increasing order. The start times of two consecutive keys must be at least 6 hours apart.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-08 UTC."],[[["\u003cp\u003eThis webpage provides reference documentation for the \u003ccode\u003eInterconnectMacsecPreSharedKey\u003c/code\u003e class within the Google Cloud Compute Engine v1 API, detailing its properties, inheritance, and implemented interfaces.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version available for this class is 3.6.0, and the documentation provides access to multiple previous versions, ranging down to 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eInterconnectMacsecPreSharedKey\u003c/code\u003e is used to configure pre-shared keys for MACsec in static connectivity association key mode, and requires a name that follows specific RFC1035 guidelines, as well as a start time which must be a RFC3339 timestamp.\u003c/p\u003e\n"],["\u003cp\u003eThe class implements multiple interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and also inherits from the base \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation provides constructors for creating instances of the class, either empty or by cloning an existing \u003ccode\u003eInterconnectMacsecPreSharedKey\u003c/code\u003e object, and includes the name and start time fields with their validation rules.\u003c/p\u003e\n"]]],[],null,[]]