Updating a SAP Key Version
Use the patch /v1/cckm/sap/keys/{id}/versions/{versionID}
API to enable or disable a key version and modify the allowed key operations on it. Specify the key ID and the version ID.
Syntax
Here, {id}
is the resource ID of the key ID and {versionID}
is the resource ID of the key version.
Request Parameters
Parameter | Type | Description |
---|---|---|
AUTHTOKEN | string | Authentication token. |
enabled | boolean | Whether to enable the key version. Set to true to enable the version, set to false to disable the version. By default, the version is disabled. |
operations | array of strings | Cryptographic operations allowed on the key version. Possible values are: • ENCRYPT • DECRYPT • SIGN • VERIFY • WRAP • UNWRAP |
Example Request
Example Response
Response Codes
Response Code | Description |
---|---|
2xx | Success |
4xx | Client errors |
5xx | Server errors |
Refer to HTTP status codes for details.