mirror of
https://github.com/azure/login.git
synced 2026-06-09 09:17:13 +00:00
Update README.md
This commit is contained in:
parent
09f02f4e77
commit
b1aafe40a3
1 changed files with 4 additions and 1 deletions
|
|
@ -21,7 +21,10 @@ With the [Azure Login](https://github.com/Azure/login/blob/master/action.yml) Ac
|
|||
2. In your GitHub workflow, Set `permissions:` with `id-token: write` at workflow level or job level based on whether the OIDC token needs to be auto-generated for all Jobs or a specific Job.
|
||||
3. Within the Job deploying to Azure, add Azure/login action and pass the `client-id`, `tenant-id` and `subscription-id` of the Azure service principal associated with an OIDC Federated Identity Credential credeted in step (i)
|
||||
|
||||
Note: Currently OIDC login is supported for public clouds. Support for other clouds like Government clouds, Azure Stacks would be added soon.
|
||||
Note:
|
||||
- OIDC support in Azure is in Public Preview and is supported only for public clouds. Support for other clouds like Government clouds, Azure Stacks would be added soon.
|
||||
- GitHub runners will soon be updating the with the Az CLI and PowerShell versions that support with OIDC. Hence the below sample workflows include explicit instructions to download the same during workflow execution.
|
||||
- By default, Azure access tokens issued during OIDC based login could have limited validity. This expiration time is configurable in Azure.
|
||||
|
||||
|
||||
## Sample workflow that uses Azure login action to run az cli
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue