Vaults allow agents to use credentials securely, without making them available to the llms.
Copy
Ask AI
from notte_sdk import NotteClientnotte = NotteClient()# Creating a new vaultvault = 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 vaultvault.delete_credentials(url="https://github.com/")# list all credentials in the vaultcredentials = vault.list_credentials()print(credentials)# delete the vault when you don't need it anymorevault.delete()# you can also list your active vaults as follows:active_vaults = notte.vaults.list()print(active_vaults)