Update a vault key
Changed onPartially updates an existing vault key. Only the key's name can be changed; the public key material is immutable. A PUT operation is not offered because key material cannot be replaced.
Request
- Base URLhttps://global.api.konghq.com
- Auth
- HTTP bearer
- or HTTP bearer
- or HTTP bearer
- or HTTP bearer
Path parameters
ID of the directory
ID of the vault key
Request body
Response
A vault key
A PEM-encoded RSA or EC public key registered to encrypt token vault data for a token-vault enabled directory.
Contains a unique identifier used for this resource.
Contains a unique identifier used for this resource.
The PEM-encoded public key.
RFC 7638 JWK thumbprint (base64url-encoded SHA-256 digest) of the public key.
The asymmetric algorithm of the vault key.
Size of the key in bits (for example 2048 for RSA, 256 for EC P-256).
An ISO-8601 timestamp representation of entity creation date.
An ISO-8601 timestamp representation of entity update date.
Example response
{
"id": "5f9fd312-a987-4628-b4c5-bb4f4fddd5f7",
"directory_id": "5f9fd312-a987-4628-b4c5-bb4f4fddd5f7",
"public_key": "-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA...\n-----END PUBLIC KEY-----",
"kid": "NzbLsXh8uDCcd-6MNwXF4W_7noWXFZAfHkxZsRGC9Xs",
"key_size": 2048,
"created_at": "2022-11-04T20:10:06.927Z",
"updated_at": "2022-11-04T20:10:06.927Z"
}Changes
- info
endpoint added
- info