You are currently viewing the new Anvil Editor Docs.
Switch to the Classic Editor Docs
You are currently viewing the Classic Editor Docs.
Switch to the new Anvil 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



        Do you still have questions?

        Our Community Forum is full of helpful information and Anvil experts.


        anvil.secrets