Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Project Secrets / Environment Variables #652

Open
derekpovah opened this issue Dec 1, 2021 · 1 comment
Open

Support Project Secrets / Environment Variables #652

derekpovah opened this issue Dec 1, 2021 · 1 comment
Assignees

Comments

@derekpovah
Copy link

What problem does this feature solve?:

One of the biggest gaps in our CircleCI CLI workflow is not having the ability to manage Project specific environment variables via the CLI. Ideally the project commands would try to infer the CircleCI Project from the current directory, much like the follow command, but should obviously favor the vcs-type, org-name, and repo-name the user specifies.

Provide an example:

$ circleci help project
...

Usage:
  circleci project [command]

Available Commands:
  remove-secret Remove an environment variable from the named project
  secrets       List all secrets for the named project
  store-secret  Store a new environment variable in the named project. The value is read from stdin.
$ circleci project secrets <vcs-type> <org-name> <repo-name>
Project: <vcs-type>/<org-name>/<repo-name>
+----------------------+-------+
| ENVIRONMENT VARIABLE | VALUE |
+----------------------+-------+
| XXXXXX_XXXXX         | ••••  |
| XXXXXX_XXX           | ••••  |
| XXXXXX_XXXXXXXX      | ••••  |
+----------------------+-------+
$ circleci project remove-secret <vcs-type> <org-name> <repo-name> <secret name>
$ circleci project store-secret <vcs-type> <org-name> <repo-name> <secret name>
Enter secret value and press enter:
@abdelDriowya
Copy link
Contributor

Hi @derekpovah , thanks for your suggestion.
I will check internally with the team, and get back to you asap

@abdelDriowya abdelDriowya self-assigned this May 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants