Class GatewayMacsecCakActiveDelta

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

    public class GatewayMacsecCakActiveDelta
    extends com.ibm.cloud.sdk.core.service.model.GenericModel
    This field will be present when the `status` of the MACsec CAK is `rotating` or `inactive`. It may be present when the CAK `status` is `failed`. This object denotes the MACsec CAK's values prior to beginning a CAK rotation and represents the previous key still configured in the direct link's MACsec key chain. This object will be removed when the MACsec CAK rotation completes, indicating that the previous key has been removed from the key chain, and the current CAK's values are in use.
    • Method Detail

      • getKey

        public HpcsKeyReference getKey()
        Gets the key. A reference to a [Hyper Protect Crypto Service Standard Key](https://cloud.ibm.com/docs/hs-crypto?topic=hs-crypto-get-started).
        Returns:
        the key
      • getName

        public String getName()
        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
      • getStatus

        public String getStatus()
        Gets the status. Current status of the CAK. Status `operational` is returned when the CAK is configured successfully. Status `rotating` is returned during a key rotation. The CAK defined by `active_delta` is still configured on the device and could be securing the MACsec session. In the case of a primary CAK, the status will be `rotating` for a period of time while waiting for the MACsec session to be secured with the new CAK. After that time, the CAK will either enter `active` or `inactive` status. Status `active` is returned when the CAK is configured successfully and is currently used to secure the MACsec session. Status `inactive` is returned when the CAK is configured successfully, but is not currently used to secure the MACsec session. The CAK may enter `rotating` status, and ultimately the `active` status, if it is found to be used to secure the MACsec session. The CAK may never leave this status on its own (e.g. if there is a key/key name mismatch). You are allowed to patch the CAK in this state to start the rotation procedure again. Status `failed` is returned when the CAK cannot be configured. To recover, first resolve any issues with your HPCS key, then patch this CAK with the same or new key. Alternatively, you can delete this CAK if used for the `fallback` session.
        Returns:
        the status