Keyring & Data Encryption
/keyring
Response
"ids": [
"RfsDJ2Ol",
"xSD219lH"
]
}
View Active Key
Endpoint
/keyring/active
Response
HTTP 200 OK
{
"id": "RfsDJ2Ol"
}
This endpoint is only available with the cluster
keyring strategy.
The endpoint requires that the and keyring_private_key
Kong configuration values are defined.
Endpoint
/keyring/export
Response
"data": "<base64>..."
}
Import Exported Keyring
This endpoint is only available with the cluster
keyring strategy.
Endpoint
/keyring/import
Request Body
Response
HTTP 201 Created
This endpoint is only available with the cluster
keyring strategy.
The endpoint requires that the keyring_public_key
and Kong configuration values are defined.
Endpoint
/keyring/import/raw
Request Body
Response
HTTP 201 Created
Generate New Key
This endpoint is only available with the cluster
keyring strategy.
/keyring/generate
Response
{
"id": "500pIquV",
"key": "3I23Ben5m7qKcCA/PK7rnsNeD3kI4IPtA6ki7YjAgKA="
}
This endpoint is only available with the cluster
keyring strategy.
Endpoint
/keyring/remove
Request Body
Response
HTTP 204 No Content
Sync Keyring with Vault Endpoint
This endpoint is only available with the keyring strategy.
Endpoint
/keyring/vault/sync
Response