Skip to content

[Storage-backend][vault pki] Add storage backend vault pki to template certs from vault#774

Open
tw3rp wants to merge 5 commits intokelseyhightower:masterfrom
tw3rp:feature/vault-pki-backend
Open

[Storage-backend][vault pki] Add storage backend vault pki to template certs from vault#774
tw3rp wants to merge 5 commits intokelseyhightower:masterfrom
tw3rp:feature/vault-pki-backend

Conversation

@tw3rp
Copy link

@tw3rp tw3rp commented Feb 18, 2019

This PR includes changes to add a new storage backend vault pki to template certs from vault

  1. "Inherits" all the methods from the vault backend so authentication and all the flags remain the same
  2. Certs are issues by listing keys as /mountpath/rolename/commonname eg. /pki/issue/my-role/www.example.com and the keys returned are /pki/issue/my-role/www.example.com/certificate and /pki/issue/my-role/www.example.com/private_key. This is so because it goes against confd design principles to pass in multiple arguments to a key
  3. The cert and the key must be templated to the same file because it is an open issue to template to multiple files (Create multiple config files from templates #256)
  4. An example script is put in so we can split them into individual files once templated.

This is for issue #731 to template certs as a new backend

@tw3rp tw3rp mentioned this pull request Feb 18, 2019
* add file backend to quick start guide

* add formatting to file backend debug call

* fix my poorly exec'ed fork update

[storage-backend][vault PKI] Add storage backend - vaultpki
initial commit

initial commit
removed unused files

[vaultpki] Fix test

[vaultpki] add other key values

test removing the test file

test removing the test files

try zookeeper

fix tests
fix tests so it returns zero
@tw3rp tw3rp force-pushed the feature/vault-pki-backend branch from ca34555 to 625cdf7 Compare February 20, 2019 06:35
@tw3rp
Copy link
Author

tw3rp commented Apr 7, 2019

small write up on how it works https://rprabhu.dev/2019/vault-confd-automation/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant