-
Hi Just a quick question: is it possible to decrypt stored secrets from parameter.json? Because I want to commit this parameters (in this case an access token) to a public repo and the CI/CD pipeline should use this secrets. |
Beta Was this translation helpful? Give feedback.
Answered by
Basyras
Jan 18, 2023
Replies: 1 comment 5 replies
-
Beta Was this translation helpful? Give feedback.
5 replies
Answer selected by
IT-VBFK
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Your pipeline does not need to use
parameters.json
at all. If all secrets are found as environment variables I believe nuke is not even trying to read if fromparameters.json
. If you use Github actions you can simply add your secret as standard pipeline secret and in your_build.csproj
you can access secrets like thisof course this force you to have secrets in 2 places in
parameters.json
when running locally and in Github Actions secrets when running the pipel…