web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Best way to pass a sec...
Power Automate
Unanswered

Best way to pass a secret between flows in PAD

(0) ShareShare
ReportReport
Posted on by 91

Sorry if this has been answered - I hunted but the search experience here is not up to Microsoft standards. 

 

What is the best practice for passing a secret from a desktop flow to a child desktop flow? I am doing it with an output variable, but it's plain text, which to my horror, pops up in a dialog if I run the initial login flow by itself. I guess that's a good thing because I didn't consider my secret was being passed as plain text!

 

In the child flow, must I re-acquire the credential, or can it somehow be passed downstream as sensitive text? 

I have the same question (0)
  • azimzicar Profile Picture
    72 on at

    Hi @charles_ross_oh 

     

     

    I haven't used this feature in PAD yet, however, anything that you do not want to expose as a string should be encrypted. Have you looked at the cryptography actions? There may be something relevant for you there.

     

     

  • charles_ross_oh Profile Picture
    91 on at

    Nope, because that's the same amount of trouble as re-acquiring it from the credential store, where it is still encrypted.  Funny thing is, INPUT variables have the sensitive text data type, but not OUTPUT vars. I think this is probably a feature yet to be added.

  • Verified answer
    Pavel_NaNoi Profile Picture
    1,074 on at

    I think you may need to ignore using an output variable as an input into another child flow, the output variables are there mostly for Power Automate Flow (where they get encrypted if needed be), not PAD. use another encrypted input variable as input or just use an encrypted variable. 

  • charles_ross_oh Profile Picture
    91 on at

    So my workaround was to re-orient and use an Input Variable and mark it as sensitive secret type.  Thanks for the tip!

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard