Skip to content
This repository has been archived by the owner on Jan 8, 2024. It is now read-only.

gatekeeper client doesnt work with response wrapping #12

Closed
Zariel opened this issue Aug 22, 2016 · 3 comments
Closed

gatekeeper client doesnt work with response wrapping #12

Zariel opened this issue Aug 22, 2016 · 3 comments

Comments

@Zariel
Copy link
Contributor

Zariel commented Aug 22, 2016

The client in gatekeeper/ does not work with response wrapping, the permanent token needs to be unmarssalled from the json data in data.response from cubbyhole contents.

This is easily doable with https://godoc.org/github.com/hashicorp/vault/api#Logical.Unwrap

@nemosupremo
Copy link
Owner

f814066 should have this functionality. I'll take a look at it again.

@chill
Copy link
Contributor

chill commented Aug 25, 2016

Feels like it'd be a good idea to use the vault client across the board when making requests to Vault, as it greatly simplifies a lot of this stuff

For now is it maybe worth using the suggested Logical.Unwrap function to get this working?

@nemosupremo
Copy link
Owner

I lied about lying, it doesn't work. It isn't unwrapped correctly.

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

No branches or pull requests

3 participants