Description Usage Arguments Details Value
This function is only required once, after which point a new folder will be
created by op
in the user's home directory, storing the session tokens. See
Details.
1 |
URL |
domain used to signin to 1Password, e.g. |
email |
your login email |
secret_key |
your Secret Key |
Requests the 1Password Master Password. At no point is this saved to even a temporary variable. This is only required for signin, after which a session token will be used to communicate with 1Password. The session token is validated on the server and lasts 30 minutes, after which you will again need to sign in.
The session token is not the actual hash, but merely a reference to an
encrypted token in the user's home directory (in e.g. ~/.op/config
).
This sets an environment variable OP_SESSION_X
(where X
is the subdomain)
and an option OP_SUBDOMAIN
.
if successful, the login token, invisibly.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.