You are currently viewing the new Beta Editor Docs.
Switch to the Classic Editor Docs
You are currently viewing the Classic Editor Docs.
Switch to the Beta Editor Docs

anvil.secrets Module

Classes

SecretError

Create a new ‘SecretError’ object

Constructor

SecretError()

Functions

decrypt_with_key(key_name, value)

Decrypt a string with a cryptographic key derived from the named secret


    encrypt_with_key(key_name, value)

    Encrypt a string with a cryptographic key derived from the named secret


      get_secret(secret_name)

      Retrieve the named secret



        anvil.secrets