Runtime parameters
Inject parameters at runtime to alter tracks.
Last updated
Was this helpful?
Inject parameters at runtime to alter tracks.
Last updated
Was this helpful?
Runtime parameters are key/value pairs that are injected as environment variables into . The values for runtime parameters can be hard coded values, or sensitive values fetched from our feature.
Runtime parameters specified when starting a track via the API will override the values configured on an invite if there are duplicate keys.
Select the sharing method appropriate to your use case.
Copy the of the track you want to add runtime parameters to.
Append rtp_<name>=<value>
or rts_<name>=<value>
to the URL for runtime parameters and secrets, respectively. In either case, the <name>
value will be available as an environment variable in lifecycle scripts.
The following example sets an environment variable called USER_ID
to the value testuser
and an environment variable called API_KEY
to the value in the configured in the secret named SECRET_API_KEY
.