Vaults allow agents to use credentials securely, without making them available to the llms.
vaults_manual.py
Copy
Ask AI
from notte_sdk import NotteClientclient = NotteClient()# Creating a new vaultvault = client.Vault()# Add your credentials securelyvault.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 = client.vaults.list()print(active_vaults)