Keyring & Data Encryption

    /keyring

    Response

    1. "ids": [
    2. "RfsDJ2Ol",
    3. "xSD219lH"
    4. ]
    5. }

    View Active Key

    Endpoint

    /keyring/active

    Response

    1. HTTP 200 OK
    1. {
    2. "id": "RfsDJ2Ol"
    3. }

    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

    1. "data": "<base64>..."
    2. }

    Import Exported Keyring

    This endpoint is only available with the cluster keyring strategy.

    Endpoint

    /keyring/import

    Request Body

    Response

    1. 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

    1. HTTP 201 Created

    Generate New Key

    This endpoint is only available with the cluster keyring strategy.

    /keyring/generate

    Response

    1. {
    2. "id": "500pIquV",
    3. "key": "3I23Ben5m7qKcCA/PK7rnsNeD3kI4IPtA6ki7YjAgKA="
    4. }

    This endpoint is only available with the cluster keyring strategy.

    Endpoint

    /keyring/remove

    Request Body

    Response

    1. HTTP 204 No Content

    Sync Keyring with Vault Endpoint

    This endpoint is only available with the keyring strategy.

    Endpoint

    /keyring/vault/sync

    Response