Class DualAuthKeyMetadata

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

    public class DualAuthKeyMetadata
    extends com.ibm.cloud.sdk.core.service.model.GenericModel
    Metadata that indicates the status of a dual authorization policy on the key.
    • Method Detail

      • isEnabled

        public Boolean isEnabled()
        Gets the enabled. The status of a dual authorization policy on the key. If `true`, dual authorization is required to delete the key. If `false`, no prior authorization is required to delete the key.
        Returns:
        the enabled
      • isKeySetForDeletion

        public Boolean isKeySetForDeletion()
        Gets the keySetForDeletion. Indicates if a delete authorization has been issued for a key. If `true`, an authorization to delete this key has been issued by the first user, and a second user with a Manager access policy can safely delete the key. If the `enabled` property is `false`, this field is omitted in the response body.
        Returns:
        the keySetForDeletion
      • getAuthExpiration

        public Date getAuthExpiration()
        Gets the authExpiration. The date that an authorization for deletion expires for the key. If this date has passed, the authorization is no longer valid. If the `enabled` or `keySetForDeletion` properties are `false`, this field is omitted in the response body.
        Returns:
        the authExpiration