vercel secrets
Learn how to list, add, remove, and manage secrets used in environment variables with the vercel secrets CLI command.Table of Contents
On May 1st, 2024 secrets will be automatically converted to sensitive Environment Variables for Preview and Production environments. Secrets attached to Development environments will not be migrated. Learn more.
The vercel secrets
command is used to manage Secrets used in Environment Variables under the current scope, providing functionality to list, add, rename, and remove Secrets.
terminal
vercel secrets list
terminal
vercel secrets add [secret-name] [secret-value]
terminal
vercel secrets rename [old-name] [new-name]
terminal
vercel secrets remove [secret-name]
The following global options can be passed when using the vercel secrets
command:
For more information on global options and their usage, refer to the options section.
Last updated on September 20, 2024
Was this helpful?