Vaults allow agents to use credentials securely, without making them available to the llms.

from notte_sdk import NotteClient

notte = NotteClient()

# Creating a new vault
vault = notte.Vault()

# Add your credentials securely
_ = vault.add_credentials(
    url="https://github.com/",
    email="<your-email>",
    password="<your-password>",
    mfa_secret="<your-mfa-secret>",
)

# remove a credential from the vault
vault.delete_credentials(url="https://github.com/")

# list all credentials in the vault
credentials = vault.list_credentials()
print(credentials)

# delete the vault when you don't need it anymore
vault.delete()

# you can also list your active vaults as follows:
active_vaults = notte.vaults.list()
print(active_vaults)

See more operations on vaults: