[Platform SDK] Guidance on implementing machine based encryption for user input fields
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
We have a password field that is user input and is masked from the front end. In addition, our use case requires machine based encryption, meaning that if a workflow is shared with another user on a different machine they will need to re-enter the password to use the connector.
We have found this method in the documentation but no additional information on how to use it.
Any guidance or examples that we can reference?
Many thanks!
Jake
- Labels:
-
Custom Tools
-
SDK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hello, calling decrypt_password should take care of it. The encryption mode is actually set on the front-end when the password is created; I'm attempting to figure out what the default is right now. Do you happen to be using the UI SDK with this tool?
```
(usage in Python SDK)
decrypted = self.provider.io.decrypt_password(encrypted)
```
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
json, thanks for your reply!
Yes, we are using Alteryx UI version 1.4.4: https://alteryx.github.io/alteryx-ui/#/Components/Input
Can you please expand on the encryption topic? We have searched through documentation and have not found any references to encryption in the UI SDK.
Do you have any one line examples that we can use as reference?
thanks,
Jake
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
It is recommended to use DCM (and it will work across machines). decrypt_password() is marked deprecated, but you can still use it. It should simply work by just calling that method with the encrypted string. As for how to get an encrypted password through the UI, you would have to reach out to someone familiar with the UI SDK.
This should work.
```
(usage in Python SDK)
decrypted = self.provider.io.decrypt_password(encrypted)
```
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
From some folks on the UI SDK team:
Docs for encryption are under the Secrets section of the React Comms docs.
