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 • ciphertrust |
job_config_id | string | ID of the scheduler job that will perform key rotation. |
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.