Manage product secrets and production vault keys
clanker vault secret set
Set a secret's value, read from stdin, in each product and environment given, creating the name where it is missing
clanker vault secret set [options]
Arguments
This command takes no arguments.
Options
--workspace <slug>stringWorkspace slug or id (default: the linked workspace)
--product <slug>stringRequiredProduct (repeatable)
Defaults to
--env <slug>stringRequiredEnvironment (repeatable)
Defaults to
--name <name>stringRequiredThe secret's name, such as DATABASE_URL
--clearflagClear the value instead of reading one from stdin
--request-id <id>stringReuse this ID when retrying a write
Examples
printf %s "$DATABASE_URL" | clanker vault secret set --product storefront --env staging --name DATABASE_URL