Work across multiple projects from the CLI
CLI
The CLI now works with accounts that have more than one project.
Shell
# List your projects apivault projects list # Set the default project apivault projects use <project-id> # Override it for one command apivault run -p <project-id> -- npm start
Every command accepts the global -p, --project <id> flag, and key management, run, and env commands all use the active project.
To bind a repository to a project, add an .apivaultrc or apivault.json file containing the project ID.
Learn more in the projects command reference.