Downward API
Overview
Forked workloads in Signadot Sandboxes run with environment variables describing the sandbox in the workload's main container:
Name | Value | Example |
---|---|---|
SIGNADOT_SANDBOX_NAME | name of the sandbox | my-sandbox |
SIGNADOT_SANDBOX_ROUTING_KEY | the routing key of the sandbox | dkd9393kkd |
The SIGNADOT_SANDBOX_ROUTING_KEY
environment variable can be used from within
a fork by application code to set request context. One case where this may be
useful is in supporting routing of callbacks back to a forked workload in place
of the baseline container.