This version is compatible with:
- Puppet Enterprise 2019.8.x, 2019.7.x, 2019.5.x, 2019.4.x, 2019.3.x, 2019.2.x, 2019.1.x, 2019.0.x, 2018.1.x, 2017.3.x, 2017.2.x, 2016.4.x
- Puppet >= 4.10.0 < 7.0.0
- , , , , , ,
Setup 1password connect accoriding to the official docs https://support.1password.com/secrets-automation/
Set your hiera.yml to lookup from the onepassword lookup.
--- version: 5 defaults: # Used for any hierarchy level that omits these keys. datadir: data # This path is relative to hiera.yaml's directory. data_hash: yaml_data # Use the built-in YAML backend. hierarchy: .... - name: "Secret data" lookup_key: onepassword_lookup options: vaults: - 'development' - 'puppet-common' url: 'http://localhost:8080' ## you can now also use https token: 'sometoken'
next try looking up a key. Note items can have the same title inside onepassword. These are now combined and returned as an array. Does not work yet when multiple vaults are defined.
root@puppet:/# puppet lookup mynote note content root@puppet:/# puppet lookup dev-db-login --- username: test password: test root@puppet:/# puppet lookup dev-db-pass --- testpass root@puppet:/# puppet lookup dev-db-login2 --- - username: test password: test - username: web password: web
All notable changes to this project will be documented in this file.
Bugfixes added ssl support for requests
Duplicate titles now return array. Features
added document support. And logins now also return username Features
first release Features