Skip to content
On this page
Reference → Airnode → v0.11 → Deployment Files
SearchHighlight.vue
FLEX_START_TAG

secrets.env

The secrets.env file is bundled with a config.json file and contains the secrets that the respective Airnode deployments will need. All variables defined in a secrets.env file will be available in the config.json file via variable interpolation (e.g. ${VARIABLE_NAME}).

There are few pieces of data that are highly recommend to be provided via variables. The variable names shown can be adjusted to anything desired. Just be sure to change the correlating interpolation value in config.json.

Variable nameconfig.json field nameDescription
AIRNODE_WALLET_MNEMONICnodeSettings.airnodeWalletMnemonicThe wallet mnemonic that will be used by the Airnode
CHAIN_PROVIDER_URLchains[].providers.<name>.urlThe blockchain provider url
SS_MY_API_KEYapiCredentials[].securitySchemeValueA security scheme value
HEARTBEAT_URLnodeSettings.heartbeat.urlThe URL to make the heartbeat request to
HEARTBEAT_API_KEYnodeSettings.heartbeat.apiKeyThe API key to authenticate against the heartbeat URL
GCP_PROJECT_IDnodeSettings.cloudProvider.projectId(GCP only) The GCP project ID for deployment

Below is an example of secrets.env. Variable names cannot contain dashes (-) or start with a number.

AIRNODE_WALLET_MNEMONIC="achieve...blouse echo label"
CHAIN_PROVIDER_URL="https://sepolia.infura.io/v3/b1955...eb84f"

SS_MY_API_KEY="FRAC...X5uTd"

HEARTBEAT_API_KEY="d714a900-3b9e-4e4d-8eae-756ef06a8836"
HEARTBEAT_URL="https://your.heartbeat.service.io/airnode"

# GCP only
GCP_PROJECT_ID="my-gcp-airnode-project-01"
FLEX_END_TAG

Released under the MIT License.