Skip to content

Instantly share code, notes, and snippets.

@anishi1222
Created March 13, 2022 12:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anishi1222/368c5d511c2b4a5f369a2e099069028c to your computer and use it in GitHub Desktop.
Save anishi1222/368c5d511c2b4a5f369a2e099069028c to your computer and use it in GitHub Desktop.
{
"@odata.context": "https://graph.microsoft.com/beta/$metadata#applications('<ObjectId for the application created in #1>')/federatedIdentityCredentials/$entity",
"audiences": [
"api://AzureADTokenExchange"
],
"description": "<additional comments for federated identity credential>",
...,
"issuer": "https://token.actions.githubusercontent.com",
"name": "<name for federated identity credential>",
"subject": "<GitHub username>/<repository>:refs/heads/<branch>"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment