Log In With Vault Credentials
Put the credential in the vault once - username, password, and the TOTP seed - and automation signs in from then on. Two ways to use it: hand it to an agent by reference, or pull it into your own CDP code.
Store the login
Option A: an agent signs in by reference
Give a hosted agent the vault builtin through a toolset. The agent looks the login up by name; the plaintext never passes through your code.
Option B: your own code signs in
For scripted logins, read the decrypted value and generate the current one-time code at the exact moment the form asks for it:
vault.get returns metadata only; only vault.value decrypts. Keep the two separate in your code so listings and dashboards never touch plaintext.
Don’t log in every run
Once the session works, pair this with a profile-backed runtime so the login survives restarts and you only do this dance when the session actually expires.
Next
- Vault - secrets, prefixes, and space mounts
- Persistent Sessions - log in once, reuse forever
- Tools & Toolsets - what else agents can reach

