MFA 6 digit code - TOTP
When getting an item with a section for MFA, I don't see the actual 6 digit code, just a really long value that doesn't change every 30 seconds.
It essentially appears as this:
{
"sections": [
{
"fields": [
{
"k": "concealed",
"n": "TOTP_bunchOfChars",
"t": "MFA",
"v": "secretChars?"
}
],
"name": "Section_5asdf56535asdf6d",
"title": "Section"
}
]
}
Is there a plan to implement getting the 6 digit code in the future? I'd like to use this powershell scripts that require an MFA.
Thanks.
1Password Version: Not Provided
Extension Version: Not Provided
OS Version: Not Provided
Sync Type: Not Provided
Comments
-
Hi @evanista,
What you're seeing is the actual TOTP secret. In order to have it calculated, you'll want to use
op get totp
which should find the secret and calculate the current time based one time password from it for you.Rick
0 -
Ahhh! Perfect!
0 -
Glad Rick could be of assistance :)
0 -
And here i went and got a powershell script to calculate it :P
0 -
Oops! :D
0