docs/data/reusables/enterprise_site_admin_settings/pgp-key-env-variable.md

294 B

  1. Define the key as an environment variable for {% data variables.product.product_name %}, replacing <YOUR-KEY-ID> with the GPG key ID.

    ghe-config "secrets.gpgverify.web-signing-key" "$(gpg --export-secret-keys -a <YOUR-KEY-ID> | awk '{printf "%s\\n", $0}')"