Hiding connection strings and secrets #3789
-
While working with a polyglot notebook, it’s necessary to avoid displaying the SQL database connection string. Additionally, can the same approach be used to protect other sensitive secrets as well?
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 10 replies
-
You can securely store secret values via magic commands, as described here: https://github.com/dotnet/interactive/blob/main/docs/input-prompts.md#saving-a-value Please let us know if this works for you and if you run into any issues or usability problems. |
Beta Was this translation helpful? Give feedback.
-
Thank you! #!set --name myCompanyIntegrationSql --value @password:{"saveAs":"myCompany.integration.sql", "prompt":"Please provide a connection string."} While this resolves the issue I was facing, the experience could be significantly improved with a feature like |
Beta Was this translation helpful? Give feedback.
You can securely store secret values via magic commands, as described here:
https://github.com/dotnet/interactive/blob/main/docs/input-prompts.md#saving-a-value
Please let us know if this works for you and if you run into any issues or usability problems.