Class KeyPolicyDualAuthDeleteDualAuthDelete
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.ibm_key_protect_api.v2.model.KeyPolicyDualAuthDeleteDualAuthDelete
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class KeyPolicyDualAuthDeleteDualAuthDelete extends com.ibm.cloud.sdk.core.service.model.GenericModel
Data associated with the dual authorization delete policy.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
KeyPolicyDualAuthDeleteDualAuthDelete.Builder
Builder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Boolean
enabled()
Gets the enabled.KeyPolicyDualAuthDeleteDualAuthDelete.Builder
newBuilder()
New builder.
-
-
-
Method Detail
-
newBuilder
public KeyPolicyDualAuthDeleteDualAuthDelete.Builder newBuilder()
New builder.- Returns:
- a KeyPolicyDualAuthDeleteDualAuthDelete builder
-
enabled
public Boolean enabled()
Gets the enabled. If set to `true`, Key Protect enables a dual authorization policy on a single key. After you enable the policy, Key Protect requires an authorization from two users to delete this key. For example, you can authorize the deletion first by using the [SetKeyForDeletion](#invoke-an-action-on-a-key) action. Then, a different user provides a second authorization implicitly by calling `DELETE /keys` to delete the key. **Note:** Once the dual authorization policy is set on the key, it cannot be reverted.- Returns:
- the enabled
-
-