Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
1.5k views
in Technique[技术] by (71.8m points)

mule studio - Access values from anypoint secrets manager in dataweave

Inside the secrets manager I have create a secrets group ("accessData") and stored an username / password as Shared Secret ("SAPcredentials") in this group.

In my mule flow I now would like to access these, but I haven't figured out how. I hoped for a method smiliar to the way parameters are handled in dataweave or global configurations, e.g.

p('accessData.SAPcredentials')

or

${accessData.SAPcredentials}

But apparently that's wrong - any suggestion how to do it right?

question from:https://stackoverflow.com/questions/65938466/access-values-from-anypoint-secrets-manager-in-dataweave

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

Anypoint Secrets Manager documentation states that only can be used for some services:

Secrets manager supports the management of TLS context for the following services:

Runtime Fabric ingress

You can store TLS artifacts in secrets manager and then configure Anypoint Runtime Fabric ingress with the secret reference.

API Manager in CloudHub

You can store the TLS artifacts in secrets manager and then configure Anypoint API Manager with the secret reference.

It doesn't look like it is possible to use it from a generic Mule application.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...