All articles

Ansible lookup plugin is back, rewritten for Passbolt 5

9 min. read

Antony Bartolomucci

Antony Bartolomucci

18 March, 2026

Ansible lookup plugin is back, rewritten for Passbolt 5

  • Configuration via the account kit file format: the account kit simplifies what was previously a manual config and passes your OpenPGP private key and passphrase as environment variables. To use the account kit, you will need to download it from the web UI in Manage account > Desktop app setup > Download your account kit. It bundles everything needed for authentication in a single signed file. 
  • Sensitive account data storage: the account kit and passphrase can be stored as ansible-vault variables instead of environment variables, to better protect this sensitive data.
  • Encrypted metadata support: The plugin handles both shared and personal metadata-encrypted resources, which is the new default in passbolt version 5. If you don't know what metadata encryption is yet, don't worry, we'll get there.
  • Support for new resource types: The plugin returns the full resource as a single dictionary item: password, username, URI(s), TOTP, secure notes, custom fields, all in one object. You pick what you need in your playbook.
  • Search: The old plugin lets you search by resource name, username, or URI. Handy, but also ambiguous when you have three resources called "db-production". The new one requires the resource UUID. More explicit, less guessing, but it means you need to grab those UUIDs upfront. Using the user interface, you can click on a resource and the web browser URL will share the UUID as {{your_domain}}/app/passwords/view/UUID
  • Field selection: Instead of returning just a password or a description, e.g. a field of a given record, the plugin gives you the entire decrypted resource and lets your playbook decide what to use. You can definitely think of it as one API call that returns the entire record, and your playbook is the filter.
  • Resource creation: the community plugin supported creating and updating resources through Ansible modules. This plugin is read-only for now. It's a lookup plugin focused on one thing: securely retrieving secrets. We took this direction for a clearer separation of concern: a lookup, as the name suggests, is to locate and should maybe not be expected to create or update records.
  • Galaxy Publishing: Right now you install it from the git repository. Galaxy publishing is on our radar, but we're not there today.
lookup('passbolt.passbolt_lookup.passbolt_lookup', '<uuid>')
git clone [email protected]:qntoni/ansible-lookup-plugin-demo.git
cd lab-passbolt-ansible-lookup; docker compose build; docker compose up -d
docker compose run ansible bash -c "ansible-playbook playbooks/playbook.yml"
TASK [Display simple password]
ok: [localhost] => {
    "msg": [
        "Name:     Tatooine Moisture Farm",
        "Username: owen.lars",
        "Password: M01stur3_V4p0r!8"
    ]
}
TASK [Display password with TOTP]
ok: [localhost] => {
    "msg": [
        "Name:        Imperial Academy Portal",
        "Username:    cadet.tk421",
        "Password:    Tr00p3r!Dut7$",
        "TOTP secret: GEZDGNBVGY3TQOJQ",
        ...
    ]
}
127.0.0.1      passbolt
docker compose exec -ti passbolt su -s /bin/bash -c "./bin/cake passbolt recover_user -c -u [email protected]" www-data

Continue reading

Passbolt Safari Extension: Now Available in Open Beta

4 min. read

Passbolt Safari Extension: Now Available in Open Beta

The Passbolt Safari extension is now in open beta! Install it via TestFlight on your Mac, recover or set up your account, and share early feedback with the team.

Stephane

Stephane

11 March, 2026

Automating your n8n workflow with Passbolt

3 min. read

Automating your n8n workflow with Passbolt

Discover the Passbolt n8n node for automating secure credential workflows, including secret sharing, onboarding, and password rotation, without compromising end-to-end encryption.

PC

Pierre Colart

9 March, 2026

Flag of European UnionMade in Europe. Privacy by default.