Description Usage Arguments Details Value
Attempt to sign in to an authenticated op session
1 | signin(subdomain = "my")
|
subdomain |
domain for logging into 1Password. This can be found in the
URL you use to login via a web interface, e.g. for
|
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.