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

Feat: support retrieving secrets from non-puppet signed Vault listener #53

Merged
merged 1 commit into from Aug 4, 2022

Conversation

firstnevyn
Copy link
Contributor

This is required to support retrieving secrets from vault where the listener certificate is not a puppet cert

This duplicates the options on the client.post for get_auth_token()

Without it the puppet agent 6.28 successfully retrieves a token but cannot connect to Vault to retrieve a secret. it attempts to create a new tls connection with the puppet ssl context which fails.

Pull Request (PR) description

This Pull Request (PR) fixes the following issues

@bastelfreak bastelfreak added the enhancement New feature or request label Aug 4, 2022
…rtificate is not a puppet cert

This duplicates the options on the client.post for get_auth_token()

Without it the puppet agent successfully retrieves a token but cannot connect to Vault to retrieve a secret.
@firstnevyn
Copy link
Contributor Author

Squashed the rubocop commit and fix the spelling

@bastelfreak bastelfreak merged commit 373729b into voxpupuli:master Aug 4, 2022
@firstnevyn firstnevyn deleted the fix_get_secret_options branch August 4, 2022 13:15
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.

None yet

2 participants