Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add config support for Hashicorp Vault plugin #430

Merged
merged 7 commits into from
Oct 27, 2019

Conversation

linuxmail
Copy link
Contributor

Pull Request (PR) description

This PR adds support for the the Vault plugin, which can be used as key storage provider.

This Pull Request (PR) fixes the following issues

Fixes: #428

@@ -316,6 +316,13 @@
$file_keystorage_keys = { }
$file_keystorage_dir = "${framework_config['framework.var.dir']}/storage"

$vault_keystorage_prefix = 'rundeck'
$vault_keystorage_url = 'https://vault.example.com'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please default to undef here

@@ -316,6 +316,13 @@
$file_keystorage_keys = { }
$file_keystorage_dir = "${framework_config['framework.var.dir']}/storage"

$vault_keystorage_prefix = 'rundeck'
$vault_keystorage_url = 'https://vault.example.com'
$vault_keystorage_approle_approleid = '111111-222222-333333-44444-55555'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please default to undef here

$vault_keystorage_prefix = 'rundeck'
$vault_keystorage_url = 'https://vault.example.com'
$vault_keystorage_approle_approleid = '111111-222222-333333-44444-55555'
$vault_keystorage_approle_secretid = 'aaaaaa-bbbbbbb-ccccccc-dddddd-eeeeee'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please default to undef here

@bastelfreak bastelfreak added enhancement New feature or request needs-work not ready to merge just yet labels Oct 25, 2019
@bastelfreak
Copy link
Member

Hi @linuxmail, thanks for the PR! Can you please take a look at the inline comments I did and also check the used email address in the commits? It isn't associated with your github account.

@linuxmail
Copy link
Contributor Author

Hi,

I've added the fixes and looking later for other kind of stuff to do. Hopefully the mail address is also set on the Git repo :-)

@linuxmail
Copy link
Contributor Author

I had to set the Vault entries to Optional, otherwise Travis wasn't happy ("..expected String, got undef..."

@bastelfreak bastelfreak removed the needs-work not ready to merge just yet label Oct 27, 2019
@bastelfreak
Copy link
Member

Thanks for the PR!

@bastelfreak bastelfreak merged commit cca1bd3 into voxpupuli:master Oct 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

How to: rundeck.storage.provider.'1'.type = 'vault-storage'
2 participants