- Enclosing class:
- CreateSecretVersionLocksBulkOptions
public static interface CreateSecretVersionLocksBulkOptions.Mode
An optional lock mode. When you create a lock, you can set one of the following modes to clear any matching locks
on a secret version.
- `remove_previous`: Removes any other locks with matching names if they are found in the previous version of the
secret. - `remove_previous_and_delete`: Completes the same action as `remove_previous`, but also permanently
deletes the data of the previous secret version if it doesn't have any locks. Not supported for custom credentials
secret type.