Skip to content
This repository has been archived by the owner before Nov 9, 2022. It is now read-only.

mskarbek/summon-keepass

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 
 
 

summon-keepass

Simple summon provider that allows usage of Keepass kdbx database file.

Installation

Create .summon-keepass.ini file in your $HOME directory with the following content:

[keepass_db]
path=/path/to/your/keepass_database_file.kdbx
pass=password to your keepass database

Place summon-keepass in /usr/local/lib/summon

Usage

Let's say you have the following entries in your secrets.yml file:

AWS_ACCESS_KEY_ID: !var aws/iam/user/robot/access_key_id
AWS_SECRET_ACCESS_KEY: !var aws/iam/user/robot/secret_access_key

summon-keepass will split each secret with / and then return password from database entry when username match last part of the secret and is placed in correct group determined by previous parts of the secret.

In that case Keepass database should look like this: Keepass example

Todo

  • tests
  • error handling for incorrect config/keepass file path

About

Simple summon provider that allows usage of Keepass kdbx database file.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages