Closed woter1832 closed 2 years ago
Ahh. My fault. I didn't do the GitHub OAuth piece first. The OAUTH_CLIENT_ID
& OAUTH_CLIENT_SECRET
are generated by GitHub.
Although, as AZURE_SECRET
contains SUBSCRIPTION_ID
I would have thought it would have got it from there. As I read your code, I expect I'll discover it's much easier to get it from a single string than getting it out of AZURE_SECRET
JSON.
Hi @deepbass ,
Firstly, thank you very much for all this.
Reading the section on creating the GitHub secrets. I am a little confused:
Which two values?
repo
andbase_url
? I don't see these values in the secrets screenshot above.The
AZURE_CREDENTIALS
secret containsCLIENT_ID
,CLIENT_SECRET
andSUBSCRIPTION_ID
. Why do they need to be repeated? AreOAUTH_CLIENT_ID
andOAUTH_CLIENT_SECRET
from different values to those inAZURE_CREDENTIALS, i.e. we need to run
az ad sp create-for-rbac...` twice?Thank you in advance.
W.