AI agent instructions
AI agent instructions
notte_sdk.endpoints.vaults.NotteVault.
The remote vault is created lazily on the first API operation so local-only
helpers such as generatePassword() stay side-effect free. Every API
failure rejects with a NotteAPIError; caller mistakes (invalid URL,
one-time code stored as an MFA secret, …) reject with InvalidRequestError.
// pragma: allowlist secret
Create NotteVault
Use NotteClient.Vault to create this object from your configured client.VaultConstructor
Related types
Usage
- addCredentials: Add or update the credentials stored for a website. The URL is reduced to its root domain (
https://github.com/login→github.com) before it is sent, like Python’sAddCredentialsRequest. - getCredentials: Get the credentials stored for a website. Rejects with a
NotteAPIErrorwhen the vault holds no credentials for that domain, like Python’sget_credentials. - deleteCredentials: Delete the credentials stored for a website.
- listCredentials: List the websites the vault holds credentials for. Passwords are never returned.
- generatePassword: Generate a secure random password, the counterpart of Python’s
generate_password. The result always contains a lowercase letter, an uppercase letter and a digit, plus a special character unlessincludeSpecialCharsis false. - hasCredential: Check whether the vault holds credentials for a website, the counterpart of
BaseVault.has_credential. Never rejects for a missing credential.
Direct constructor reference
Direct constructor reference
Properties
Properties