Enabling Auto Rotation of OCI Keys
Use the post /v1/cckm/oci/keys/{id}/enable-auto-rotation
API to enable auto rotation of an OCI key with the given ID.
Syntax
Here, {id}
represents the resource ID of the OCI key for which automatic key rotation is to be enabled.
Request Parameters
Parameter | Type | Description |
---|---|---|
AUTHTOKEN | string | Authorization token. |
auto_rotate_key_source | string | Source of key material for the new OCI key. The options are: • native • hsm-luna (FM-enabled Luna HSM is not supported as a key source) • dsm • external-cm • ciphertrust |
job_config_id | string | ID of the scheduler job that will perform key rotation. |
auto_rotate_domain_id | string | (DSM keys only) ID of the domain in which the DSM key will be created. Specify this parameter when auto_rotate_key_source is dsm . |
auto_rotate_external_cm_domain_id | string | (External CipherTrust Manager keys only) ID of the external CipherTrust Manager domain in which the external CipherTrust Manager key will be created. Specify this when auto_rotate_key_source is external-cm . |
auto_rotate_partition_id | string | (Luna HSM keys only) ID of the partition in which the HSM key will be created. Specify this parameter when auto_rotate_key_source is hsm-luna . |
Example Request
Example Response
The sample output shows details such as the key material origin and other parameters for automatic rotation of the specified OCI key.
Response Codes
Response Code | Description |
---|---|
2xx | Success |
4xx | Client errors |
5xx | Server errors |
Refer to HTTP status codes for details.