Get TOTP
keychain_get_totpRetrieve the current TOTP code for a vault item using a search term or item ID. Optionally reveal the secret value, subject to redaction settings.
Instructions
Get the current TOTP code by search term (bw get totp). The value is null unless reveal=true, and NOREVEAL or KEYCHAIN_NOREVEAL can still force redaction.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| term | Yes | Search term or exact item id used for bw get totp. | |
| reveal | No | Whether secret values are returned; default false and can be forced false by NOREVEAL. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |