Decrypt secrets for preset in plugins with Custom UI

Options
kvasilopoulos
kvasilopoulos Dataiku DSS Core Designer, Registered Posts: 2

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

Setup Info
    Tags
      Help me…