Get TOTP
keychain_get_totpRetrieve the current TOTP code for a specified vault item by search term. Optionally reveal the secret value.
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 |