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

Not working with VaultServer #72

Open
shashankimanage opened this issue Jul 3, 2019 · 0 comments
Open

Not working with VaultServer #72

shashankimanage opened this issue Jul 3, 2019 · 0 comments

Comments

@shashankimanage
Copy link

I have a vault in server mode with consul as a backend and I am unable to unseal gatekeeper with vault token

Viewing policies at 'v1/secret/data/gatekeeper'
INFO[2019-07-03T12:01:53+05:30] Attempting to unseal with 'token' method.
INFO[2019-07-03T12:01:53+05:30] Successfully unsealed with 'token' method.
INFO[2019-07-03T12:01:53+05:30] Get Dir List is empty

WARN[2019-07-03T12:01:53+05:30] No policy saved at configured location.

WARN[2019-07-03T12:01:53+05:30] Failed to load policies! Gatekeeper will remain sealed as no policies were loaded. Error: No policy saved at configured location.
FATA[2019-07-03T12:01:53+05:30] Failed to initialize gatekeeper for policy reading: No policies have been configured.

VAULT_TOKEN='token' gatekeeper policy update --vault-addr http://localhost:8200 ./my-policy.json
INFO[2019-07-03T12:14:49+05:30] Reading policy from './my-policy.json'...
INFO[2019-07-03T12:14:49+05:30] Attempting to unseal with 'token' method.
INFO[2019-07-03T12:14:49+05:30] Successfully unsealed with 'token' method.
FATA[2019-07-03T12:14:49+05:30] Failed to write policy:

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

1 participant