Get Vault TOTP
vault_credential_get_totpGet the current TOTP code for a credential that has a TOTP secret configured. Returns the live 6-digit code derived from the stored secret — the secret itself is never disclosed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Credential ID. | |
| agentId | No | Agent ID that owns the credential. Optional when using an agent-bound credential. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||