Hi, Welcome to MS Q&A
Using Managed Identity with Azure Key Vault is a recommended practice for securely accessing secrets without exposing them directly in your code or using global variables. However, Power Automate might not directly support Managed Identity for accessing Key Vault secrets out of the box.
They only support Service principal or app registration
To achieve this, you might need to implement a workaround:
- Azure Function or Logic App: You can create an Azure Function or Logic App that retrieves secrets from Azure Key Vault using Managed Identity. Then, your Power Automate scripts can call this Azure Function or Logic App to get the required secrets.
- Azure Automation: Azure Automation might also be an option for running your scripts securely with Managed Identity and accessing Key Vault secrets.
Kindly check this for more info https://learn.microsoft.com/en-us/connectors/keyvault/
Please accept answer if it helps, Thanks!