You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Until we have a user guide, please see the unit tests.
Usage sample
fromexasol.secret_storeimportSecretsfile="password_db.sqlite"secrets=Secrets(file, "my secret password")
key="my key"secrets.save(key, "my value").close()
value=secrets.get(key)
Constraints and special situations
If file does not exist then SecretStore will create it.
If password is wrong then SecretStore will throw an exception.
If file contains key from a session in the past then method secrets.save() will overwrite the value for this key.
If key is not contained in file then SecretStore return None
Additional tasks
Besides maybe we should add a test trying to get the value of a non-existing key to verify behavior.
Until we have a user guide, please see the unit tests.
Usage sample
Constraints and special situations
secrets.save()
will overwrite the value for this key.None
Additional tasks
Besides maybe we should add a test trying to get the value of a non-existing key to verify behavior.
This test already did exist:
The text was updated successfully, but these errors were encountered: