Getting started with 1Password for your growing team, or refining your setup? Our Secured Success quickstart guide is for you.
Forum Discussion
Former Member
4 years agoMy mfa otp works fine on the GUI client but no the cli
I have an mfa setup for an AWS account and this works perfectly fine on the GUI.
However if I try and get my otp through the 1password cli I keep getting this error
op get totp AWS ...
Former Member
4 years agoHi @Noella,
When you retrieve the item using op get item [uuid]
, does the json contain a field where the "t" field is "t": "one-time password",
and the "n" field has the prefix "TOTP_"
?
This is how the CLI looks for the TOTP field when you call op get totp
.
Looking forward to hearing back,
Artem