Hiding Password in Azure Logic App

Sandela Vinaya 6 Reputation points
2020-07-23T01:37:03.937+00:00

Trying to configure a Azure Logic App and using API's in it.

Want to use the password and passing through parameter. But I still see it visible for all. Is there any way, I can lock it, just like variables in Azure DevOps? Please suggest. Thanks13230-azlogicapppwd.jpg

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
{count} votes

1 answer

Sort by: Most helpful
  1. MayankBargali-MSFT 70,991 Reputation points Moderator
    2020-07-23T03:10:53.217+00:00

    Hi @Sandela Vinaya

    You can use obfuscation to secure the input and output in the designer: https://learn.microsoft.com/en-us/azure/logic-apps/logic-apps-securing-a-logic-app#obfuscate

    Please review the consideration when securing input and output: https://learn.microsoft.com/en-us/azure/logic-apps/logic-apps-securing-a-logic-app#obfuscation-considerations

    Access to run history data: https://learn.microsoft.com/en-us/azure/logic-apps/logic-apps-securing-a-logic-app#secure-run-history

    Updated:

    If you are creating the parameter of type string or securestring then the value will be visible in the designer and code view.

    To protect passwords, keys, secrets, and other sensitive information define secured parameters at the template level and workflow definition level by using the securestring or secureobject type using ARM template. You can then store these values in the Azure Key Vault and use the parameter file to reference the key vault and secret. Your template then retrieves that information at deployment: https://learn.microsoft.com/en-us/azure/logic-apps/logic-apps-securing-a-logic-app#secure-parameters-in-azure-resource-manager-templates

    You can leverage this ARM template: https://learn.microsoft.com/en-us/azure/logic-apps/logic-apps-securing-a-logic-app#secure-parameters-in-azure-resource-manager-templates

    While deploying the ARM template it will ask you all the parameter that you have mentioned in the ARM template as below
    13486-image.png

    Once the deployment is completed. In the designer view, you will see two parameters are added

    13386-image.png

    13487-image.png

    You can run the trigger and see that the username and password are passed correctly and in the code or designer view, you value not see any default value as this is set at the ARM template parameter level.

    13488-image.png

    Hope the above helps.


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.