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

Writes Sometimes Return Information #19

Closed
theonewolf opened this issue Jul 22, 2015 · 4 comments
Closed

Writes Sometimes Return Information #19

theonewolf opened this issue Jul 22, 2015 · 4 comments
Labels

Comments

@theonewolf
Copy link

The PKI secret backend returns the public/private/CA certificates and key via a write.

The write call in HVAC appears to return None, and I'd like to get at its actual response to get the values back.

Example call that is currently returning None:

#!/usr/bin/env python
# vim:set nospell:

from hvac import Client
from os import environ

if __name__ == '__main__':
    client = Client(url="https://identity-1.node:8200",
                    token=environ['VAULT_TOKEN'], verify=False)
    nodecert = client.write('pki/issue/node', common_name='identity-1.node')
    print nodecert

Whereas the CLI interface returns values.

@ianunruh ianunruh added the bug label Jul 22, 2015
@ianunruh
Copy link
Member

Thanks for bringing this to my attention. Fixed in 6242eff

@theonewolf
Copy link
Author

Can we get a hotfix release for this to PyPI? Sorry for making you do work 😆

@ianunruh
Copy link
Member

Done 😄

@theonewolf
Copy link
Author

Wish you were on the east coast. I owe you.

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

No branches or pull requests

2 participants