Updating SAP Key Attributes
Use the patch /v1/cckm/sap/keys/{id}
API to update the SAP key attributes such as key name, description, whether enabled, whether exportable, and key operations.
Syntax
Here, {id}
is the resource ID of the SAP key.
Request Parameters
Parameter | Type | Description |
---|---|---|
AUTHTOKEN | string | Authentication token. |
description | string | Description of the key. |
enabled | boolean | Whether to enable the key. Set to true to enable the key, set to false to disable the key. |
exportable | boolean | Whether the key is exportable. Set to true to make the key exportable, set to false to make the key non-exportable. |
name | string | Name of the key. |
operations | array of strings | Cryptographic operations allowed to the key. 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.