cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
charles_ross_oh
Advocate I
Advocate I

Best way to pass a secret between flows in PAD

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? 

1 ACCEPTED SOLUTION

Accepted Solutions
Pavel_NaNoi
Responsive Resident
Responsive Resident

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. 

View solution in original post

4 REPLIES 4
azimzicar
Helper II
Helper II

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.

 

 

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.

Pavel_NaNoi
Responsive Resident
Responsive Resident

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
Advocate I
Advocate I

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

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

MPA Licensing.jpg

Ask your licensing questions at the Power Automate AMA!

Join Priya Kodukula and the licensing team, super users and MVPs to find answers to your questions on Power Automate licensing.

Top Solution Authors
Top Kudoed Authors
Users online (3,233)