Environment level secret updates an incorrect value of secret while using cli command #3814
akumar1-godaddy
started this conversation in
General
Replies: 1 comment
-
|
Thank you for reporting! This is a bug, so I've moved it to our issue tracker ✌️ #3831 Right now there is no workaround other than creating environment secrets via the web interface. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi Team,
I am using gh cli version
gh version 1.11.0 (2021-06-03)and the following command to update environment secrets for a repo.gh secret set AWS_DEPLOY_ACCESS_KEY -b"${ac}" --env=dev-private --repo myorg/my-repo-nameI can see the environment secret gets updated (last updated field) after running the command but for some reason it sets an incorrect value in the secret since my workflow with action (aws-actions/configure-aws-credentials@v1) fails with the error.
The same workflow runs successfully if I manually update the environment secrets directly using the browser but if I update the secrets using cli, my action fails with the error.
I am looking forward to help on this issue.
Thanks in advance!
Amit
Beta Was this translation helpful? Give feedback.
All reactions