Create the EAB Secret for the Issuer

Create a secret in Kubernetes that contains the secret of the EAB key you will use to register an account in the Keyfactor ACME server.

Note:  A user must be issued an EAB key (see GET KeyManagement) before being able to register an ACME client and request a certificate.

To create a secret in Kubernetes for your EAB key’s secret:

  1. Acquire an EAB key for the appropriate user (see GET KeyManagement).

  2. Convert the EAB secret to base64 url encoding. You can do this conversion with a command similar to:

    Copy
    echo -n "YOUR-EAB-KEY-SECRET" | tr '/+' '_-' | tr -d '='
  3. Create the secret in Kubernetes for the EAB secret. For example:

    Copy
    kubectl create secret generic eab-secret -n cert-manager --from-literal secret=BASE64URL-ENCODED-EAB-KEY-SECRET