1Password Vault Integration

Access 1Password secrets directly from Yaak

Last updated 4 months ago

Starting in 2025.9.0, it is now possible to use 1Password secrets directly in Yaak via the 1password.item(...) template function.

Include the template function

The 1password.item(…) template function can be used anywhere Yaak supports template syntax (ie. variables). Simply start typing 1pa… or use Control+Space to trigger the autocomplete.

Access the 1password.item() template function from the autocomplete (Control+Space)

Configure the template function

Once the function is inserted, click the tag to configure it.

Click the template function tag to configure

To securely authenticate with 1Password, you will need to create a service account and generate a token. By default, the template function will use the token located in the 1PASSWORD_TOKEN environment variable.

Once this token is provided, options to select the vault / item / field will be presented.

Configure the function

Once the function is configured, the value of the secret will be extracted directly from 1Password whenever the request is rendered.