login icon indicating copy to clipboard operation
login copied to clipboard

How to use federated credentials outside CLI and Powershell

Open lordozb opened this issue 7 months ago • 3 comments

We maintain Github action for Synapse. So far we've been using the SPN Secret to generate the bearer token from AAD using the REST API. The ask is to support federated credentials. Based on the documentation, it is recommended to use AzLogin Github action. However, how can this be used with a REST API? Our action uses REST API to deploy artifacts to Synapse instead of using powershell or CLI.

How can we use federated identity + AzLogin action to generate tokens which can be used in the REST API for AuthN and Authz?

lordozb avatar Jul 09 '24 06:07 lordozb