Azure-docs: secureString in Outputs

Created on 17 Apr 2019  Â·  5Comments  Â·  Source: MicrosoftDocs/azure-docs

[Enter feedback here]
In the outputs section it is stated

> Type of the output value. Output values support the same types as template input parameters.

However for variables of type securestring the output will be masked and can't be use as an input for another deployment . Instead of passing secure information between deployments reference to that secret should be used

Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Pri1 assigned-to-author azure-resource-managesvc doc-enhancement triaged

Most helpful comment

I agree with @gigeld, what's the point of specifying an output if you can't use it? Why wouldn't it just return a value of type SecureString and hide it in the deployment outputs view in the Azure Portal?

All 5 comments

@martgras Thanks for bringing this to our attention. Your feedback has been shared with the content owner for further review.

@martgras - thanks for this suggestion. I have clarified how securestring behaves as an output type, and added a link to the Key Vault with templates article.

please-close

This is such a bad design ... the template outputs of type 'securestring' should be available but not recorded in log files.

I agree with @gigeld, what's the point of specifying an output if you can't use it? Why wouldn't it just return a value of type SecureString and hide it in the deployment outputs view in the Azure Portal?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

behnam89 picture behnam89  Â·  3Comments

jamesgallagher-ie picture jamesgallagher-ie  Â·  3Comments

spottedmahn picture spottedmahn  Â·  3Comments

AronT-TLV picture AronT-TLV  Â·  3Comments

monteledwards picture monteledwards  Â·  3Comments