Insomnia plugin for fetching credentials from Keepass and KeepassXC
Access your Keepass or KeepassXC database to fetch credentials via this custom template tag plugin.
Pre-requisites
This plugin requires Insomnia.
To access Keepass databases the KeepassHttp plugin needs to be installed.
Installation
- Start Insomnia,
- Click "Preferences" and choose the "Plugins" tab,
- Enter
insomnia-plugin-keepass
and click "Install Plugin" - Close the dialog.
Usage
- In any input field press
CTRL+Space
and selectFetch from Keepass -> KeepassXC
- For
Keepass
setKeepassHttp URL
, forKeepassXC
setPath to KeepassXC application
if default values aren't correct - Enter
Search URL
- Select which
Entry field
to retrieve from Keepass - For
KeepassXC
make sure to enableBrowser Integration
- Press
Create Database Link
, enter and confirm if KeepassXC shows popup to link database Press
Refresh ⟳
to testNote: The
Live Preview
will not show the secret value retrieved from Keepass, it is only used when e.g. sending in HTTP requests etc.
Filtering
Note: This is implemented only for KeePassXC
If you have more than one entry associated with the Search URL
in KeePass(XC), the first entry returned from Keepass is used.
You can optionally filter the retrieved entries:
- Check
Filter entries by additional field?
Choose a predefined
Filter Field
(e.g.Username
) or a customAdditional Attribute
Note: For
Additional Attribute
the attribute has to have the format: "KPH: <VALUE>"- Enter the
Field value
to filter by