question

MabroukAbdelrahmanVodafone-5252 avatar image
0 Votes"
MabroukAbdelrahmanVodafone-5252 asked PramodValavala-MSFT commented

AWS to Azure API Calls

i am looking to create direct integration between AWS and Azure so that i can send API calls from AWS lambda to Azure to provision resources on Azure directly (ex: create Azure budget, bucket etc), any idea what is the most efficient way to do that?

azure-api-management
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

PramodValavala-MSFT avatar image
0 Votes"
PramodValavala-MSFT answered PramodValavala-MSFT commented

@MabroukAbdelrahmanVodafone-5252 You can directly perform operations on Azure by leverage the Azure REST API. You could also use one of the available Azure SDKs for the language of your choice, which are wrappers around these APIs.


· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

But how can i authorize the API calls from AWS to Azure?

0 Votes 0 ·
PramodValavala-MSFT avatar image PramodValavala-MSFT MabroukAbdelrahmanVodafone-5252 ·

@MabroukAbdelrahmanVodafone-5252 After registering your client application with Azure AD as mentioned in the doc linked earlier, you could then use the client credentials flow to fetch an access token.

With a language SDK, you could use the corresponding Identity package which should provide this out of the box. For .NET its Azure.Identity for example. There is a similar module for other languages as well. Here is the links to help (Java, JS, Python)


0 Votes 0 ·