Runtime

Runtime

bundle secret-requirements

Inspect fromEnv secret requirements for a deployed bundle closure.

Synopsis

Shell
$ phrony bundles secret-requirements BUNDLE[@VERSION]

Description

Lists the union of secret requirements across all frozen closure members in a deployed bundle. The runtime computes this from published member manifests — it is not authored on bundle.yaml.

When @version is omitted, the command uses the active bundle deployment (same resolution as bundles run). No secret values are printed; only secret names, fromEnv variable names, and declaring member child names.

Use this before bundles run to confirm which environment variables must be set locally. After changing secret refs in local agent manifests, republish and redeploy before the runtime picks up the new requirements.

Output

A table with columns SECRET_NAME, FROM_ENV, and DECLARED_BY (comma-separated closure member names).

Examples

Shell
$ phrony bundles secret-requirements demo/support
$ phrony bundles secret-requirements demo/support@1.2.0

Up next

bundle run

Start a session after setting the required environment variables.

Secrets

How secrets are declared, resolved, and stored per session.