Decrypt secrets for preset in plugins with Custom UI
We are creating a plugin with custom UI and we want to use the preset functionality to store secrets. However, when we store a variable as secret is it automatically encrypted. If we use Dataiku native UI then it is handled automatically with no issue.
However, we want to use custom UI because we want to do some validation etc, so in this case we want retrieve the preset information but we cannot use the secret variables since they are encrypted. Any idea on hot to solve this?
If there is no solution to decrypt, can we store secrets and plain text and just make it a hidden attribute.
Answers
-
Turribeach Dataiku DSS Core Designer, Neuron, Dataiku DSS Adv Designer, Registered, Neuron 2023 Posts: 2,166 Neuron
This is what this Product Idea aims to solve so make sure to vote for it:
https://community.dataiku.com/t5/Product-Ideas/Shared-Secrets/idi-p/30094
-
@Turribeach
I have seen this issue and I agree that shared credentials are indeed very useful. However, my use case is a little bit different because I want to utilized group-based access but custom UI has not the option to decrypt the secret while native UI has.