Skip to main content
October 29, 2021
Question

Is it possible to get "one time" codes via 1Password Secrets Automation?

  • October 29, 2021
  • 5 replies
  • 277 views

Hi.

Is it possible to get "one-time"(one type password) codes via 1Password Secrets Automation?


1Password Version: Not Provided
Extension Version: Not Provided
OS Version: Not Provided
Referrer: forum-search:https://1password.community/search?Search=API

5 replies

November 11, 2021

Hey dongovor,

Great news! We just released 1Password Connect 1.4.0, which supports getting one-time passwords.
1Password Connect is the server that provides a REST API which can be used to securely access data from your 1Password account.

When you get an item now (e.g. making an API call with curl), for one-time password type fields, you will get something like this:

json
{
"id": "TOTP_xpndftapcpmvzwdt9t1na04ps7",
"section": {
"id": "Section_wy361kgrkplgqnjawu5h7u9935"
},
"type": "OTP",
"label": "one-time password",
"value": "otpauth://type/label?parameters",
"totp": "123456"
}

November 17, 2021

Hi @eddy_1P ,

Thanks for the update.
Will check it right now.

November 17, 2021

Let us know how it goes @dongovor :) And on behalf of Eddy, you are welcome!

November 18, 2021

@ag_ana thx. all works great after I've updated compose file image version from "latest" to "1.4" (=

November 18, 2021

That is great to hear, thank you for the update @dongovor :)