ACME with Kong storage

Configure the ACME plugin with Kong Gateway as the storage backend.

Note: This option is not supported in Konnect or DB-less mode.

Prerequisites

  • A public IP and a resolvable DNS

  • Kong Gateway accepts proxy traffic on port 80

Environment variables

  • EMAIL: The account identifier.

  • KEY_ID: The ID of a Key.

  • KEY_SET: The ID of a Key Set to associate the Key ID with.

  • DOMAIN: An array of strings representing hosts.

Set up the plugin

Add this section to your declarative configuration file:

_format_version: "3.0"
plugins:
  - name: acme
    config:
      account_email: ${{ env "DECK_EMAIL" }}
      account_key:
        key_id: ${{ env "DECK_KEY_ID" }}
        key_set: ${{ env "DECK_KEY_SET" }}
      domains:
      - ${{ env "DECK_DOMAIN" }}
      tos_accepted: true
      storage: kong
Copied to clipboard!

Did this doc help?

Something wrong?

Help us make these docs great!

Kong Developer docs are open source. If you find these useful and want to make them better, contribute today!