.. Adapted from https://stackoverflow.com/a/62613202 flexmeasures.utils.secrets\_utils ================================= .. automodule:: flexmeasures.utils.secrets_utils .. rubric:: Functions .. autofunction:: apply_token_refresh_result .. autofunction:: delete_secret .. autofunction:: derive_fernet_key .. autofunction:: format_keyring_config_help .. autofunction:: get_secret .. autofunction:: get_secret_overview .. autofunction:: get_secret_paths .. autofunction:: log_keyring_config_error_and_exit .. autofunction:: redact_secrets .. autofunction:: set_secret .. autofunction:: set_secret_key .. autofunction:: set_totp_secrets .. autofunction:: store_account_secret .. autofunction:: store_asset_secret .. rubric:: Classes .. autoclass:: SecretOverview :members: :special-members: __init__ :private-members: .. autoclass:: SecretsEncryptor :members: :special-members: __init__ :private-members: .. autoclass:: TokenRefreshResult :members: :special-members: __init__ :private-members: .. rubric:: Exceptions .. autoexception:: InvalidSecretsEncryptionKey .. autoexception:: SecretsDecryptionError .. autoexception:: SecretsError