Developers
Push secrets to GitHub, GitLab or Vercel
Copy a project’s secrets into your CI provider without pasting them by hand.
- Sign in with the CLI.
- Create a token at your provider and put it in an environment variable:
- GitHub:
GITHUB_TOKEN(needs permission to write Actions secrets) - GitLab:
GITLAB_TOKEN(scopeapi) - Vercel:
VERCEL_TOKEN
- Preview first, then push:
keyvalt ci push github --repo acme/web --project "My app" --env production --dry-run
keyvalt ci push github --repo acme/web --project "My app" --env production
keyvalt ci push gitlab --repo group/web --project "My app" --env production
keyvalt ci push vercel --repo web --project "My app" --env production --target production,preview
- GitHub: add
--ci-env productionto save to a GitHub environment. - Values go straight from your computer to the provider. KeyValt only records that a push happened (provider, repository, number of values).