Skip to content

privy secrets run

Explicitly give one stored secret to a TRUSTED child through its environment; child output is not redacted.

Terminal window
privy secrets run [options] <kind> <id> <program-and-args...>
Argument Description
kind —
id —
program-and-args —
Option Description
--env <name> Application environment variable for the secret; no secret value is placed in argv.
--yes Consent to granting this secret to the specified child program.
--dry-run Show the program/reference without reading the secret or executing anything.

Global options such as --app, --account and --profile also apply. See the command reference overview.

Terminal window
privy secrets run app-credential CREDENTIAL_ID --env PRIVY_APP_SECRET --dry-run -- node server.js

Inspect the full contract locally with privy schema secrets run.

Privy CLI is an unofficial, community project by Samarth Saxena. Not affiliated with or endorsed by Privy. The Privy name and wordmark belong to Privy. It uses undocumented dashboard APIs that can change.