Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/kenmuse/ghappregistration
- Owner: kenmuse
- License: mit
- Created: 2023-07-31T22:45:19.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-07-31T23:38:11.000Z (over 1 year ago)
- Last Synced: 2024-10-17T02:49:16.582Z (about 1 month ago)
- Language: PowerShell
- Size: 8.79 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# AzOidcAppRegistration
Sample PowerShell module to create Azure App with Federated CredentialTo 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.