Get one-time code
get_otpGet the current one-time password from an Enpass item, including seconds until it rotates, to complete two-factor authentication.
Instructions
Generates the current TOTP / two-factor one-time code for an entry that stores an OTP secret. Returns the code and how many seconds until it rotates, so it can be entered for 2FA.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uuid | Yes | Entry uuid (from list_items) | |
| vault | Yes | Registered vault name |