App variables are values that you can store in the API to be used across all installs of an app. App variables are meant for sensitive values that you want to manage through the API, but do not want included in the app as an input or secret. For example, an API key where you don’t want it visible in the app’s inputs TOML file as part of a git-backed repo. Nuon’s API stores app variables in the Nuon data plane which is a PostgreSQL database with no encryption.Documentation Index
Fetch the complete documentation index at: https://docs.nuon.co/llms.txt
Use this file to discover all available pages before exploring further.
Defining App Variables
You can create app variables using the CLI.Using App Variables
App variables are included in the install state, and are available in job plans. Using our example secret namedexternal_api_key, you could interpolate it’s
value in your app using {{ .nuon.app.variables.external_api_key }}.
If you add or a update an app variable after an install has been created, you
will need to update that install’s state before the value will be included in
plans. Running a deploy or sandbox provision will trigger a state update.