Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kenmuse/ghappregistration

Sample PowerShell module to create Azure App with Federated Credential
https://github.com/kenmuse/ghappregistration

Last synced: 15 days ago
JSON representation

Sample PowerShell module to create Azure App with Federated Credential

Awesome Lists containing this project

README

        

# AzOidcAppRegistration
Sample PowerShell module to create Azure App with Federated Credential

To use this script:

1. Use `Connect-AzAccount` to authenticate to the Azure Account (if not already done)
2. Use `Import-Module ./AzOidcAppRegistration.psm1` to load the module into memory
3. Call `New-GhAzOidcApplication -Name 'Your App Name' -Subject `repo:MyOrg/MyRepo:environment:demo`, configuring the parameters as appropriate for your application.
4. The script will return the identifiers for the application and service principal.