Warning
This document has not been updated for a while now. It may be out of date.
Last updated: 5 Jun 2024
signon: Environment variables
ActiveRecord Encryption
Used by ActiveRecord to encrypt values in the database e.g. User#otp_secret_key.
ACTIVE_RECORD_ENCRYPTION_KEY_DERIVATION_SALTACTIVE_RECORD_ENCRYPTION_PRIMARY_KEY
Devise
Used by Devise and/or its extensions to encrypt values in the database e.g. User#password.
DEVISE_PEPPERDEVISE_SECRET_KEY
GOV.UK Notify
Used to configure Mail::Notify for use by ActionMailer in sending emails.
GOVUK_NOTIFY_API_KEYGOVUK_NOTIFY_TEMPLATE_ID
Rewrite URIs for OAuth Applications
Used by Doorkeeper::Application#substituted_uri.
SIGNON_APPS_URI_SUB_PATTERNSIGNON_APPS_URI_SUB_REPLACEMENT
GOV.UK app domain
Used to configure Google Analytics in the new app/views/layouts/admin_layout.html.erb.
GOVUK_APP_DOMAIN
GOV.UK environment names
Used to configure GovukAdminTemplate and in Healthcheck::ApiTokens#expiring_tokens.
GOVUK_ENVIRONMENT