Last updated on February 8, 2023
1 min read
vercel secretsLearn how to list, add, remove, and manage secrets used in environment variables with the vercel secrets CLI command.
Note: Environment Variables are now encrypted by default, so it's no longer necessary to use
vercel secrets. This command will eventually be deprecated.
vercel secrets command is used to manage Secrets used in Environment Variables under an account, providing functionality to list, add, rename, and remove Secrets.
vercel secrets list
vercel secrets add [secret-name] [secret-value]
vercel secrets rename [old-name] [new-name]
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.