Class CreateGatewayMacsecCakOptions

  • All Implemented Interfaces:
    com.ibm.cloud.sdk.core.service.model.ObjectModel

    public class CreateGatewayMacsecCakOptions
    extends com.ibm.cloud.sdk.core.service.model.GenericModel
    The createGatewayMacsecCak options.
    • Method Detail

      • id

        public String id()
        Gets the id. Direct Link gateway identifier.
        Returns:
        the id
      • key

        public GatewayMacsecCakKeyReference key()
        Gets the key. The key to use for this MACsec CAK. The key must be a reference to a key in a supported key management service (HPCS or Secrets Manager).
        Returns:
        the key
      • name

        public String name()
        Gets the name. The name identifies the connectivity association key (CAK) within the MACsec key chain. The CAK's `name` must be a hexadecimal string of even lengths between 2 to 64 inclusive. This value, along with the material of the `key`, must match on the MACsec peers.
        Returns:
        the name
      • session

        public String session()
        Gets the session. The intended session the key will be used to secure. If the `primary` MACsec session fails due to a key/key name mismatch on the peers, the `fallback` session can take over. There must be a `primary` session CAK. A `fallback` CAK is optional.
        Returns:
        the session