The command will be something like:
azd pipeline config --auth-type oidc
Please see this implementation to see everything we need to script to get OIDC setup:
https://github.com/jongio/github-azure-oidc/blob/main/oidc.sh
We'll want to include a fics.json file to help the devs understand what they are doing and is a good way to visualize what the FICs look like in JSON format.
https://github.com/jongio/github-azure-oidc/blob/main/fics.json
Here's a video that walks through all the concepts involved with OIDC: https://youtu.be/r5QdsjjdRDs
We have a dependency on the Related: Azure/azure-cli#20582
But we can call the graph REST API directly as I do in the above script until that is implemented.
We will use the azure/login action to support this, so the workflow included with the template will need to be updated to support OIDC or AZURE_CREDENTIALS. We might need to have different workflow files based on the authtype.
The command will be something like:
azd pipeline config --auth-type oidcPlease see this implementation to see everything we need to script to get OIDC setup:
https://github.com/jongio/github-azure-oidc/blob/main/oidc.sh
We'll want to include a
fics.jsonfile to help the devs understand what they are doing and is a good way to visualize what the FICs look like in JSON format.https://github.com/jongio/github-azure-oidc/blob/main/fics.json
Here's a video that walks through all the concepts involved with OIDC: https://youtu.be/r5QdsjjdRDs
We have a dependency on the Related: Azure/azure-cli#20582
But we can call the graph REST API directly as I do in the above script until that is implemented.
We will use the
azure/loginaction to support this, so the workflow included with the template will need to be updated to support OIDC or AZURE_CREDENTIALS. We might need to have different workflow files based on the authtype.