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

encrypted pem file support #102

Closed
MrAmbiG opened this issue Dec 5, 2018 · 3 comments
Closed

encrypted pem file support #102

MrAmbiG opened this issue Dec 5, 2018 · 3 comments

Comments

@MrAmbiG
Copy link

MrAmbiG commented Dec 5, 2018

ex:- VAULT_CLIENT_CERT="/opt/vault/cert.pem:pem_passphrase"
If the variable is set like the above then the one after the : should be taken as the passphrase, since currently some applications do accept pem files in this format.

@TerryHowe TerryHowe changed the title encrypted pem file support [enhancement request] encrypted pem file support Jan 30, 2019
@TerryHowe
Copy link
Owner

Related psf/requests#1573

@TerryHowe
Copy link
Owner

It looks like an X509 adapter would have to be constructed, a requests session constructed, and that session would have to be passed to hvac.Client(session=mysession) right around here https://github.com/TerryHowe/ansible-modules-hashivault/blob/master/ansible/module_utils/hashivault.py#L86

I'm not terribly thrilled with this idea as I don't think we should be messing with what layer, hvac should deal with it.

@TerryHowe
Copy link
Owner

Closing this as an hvac issue

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

No branches or pull requests

2 participants