Skip to content
This repository has been archived by the owner on Jul 27, 2023. It is now read-only.

Allow ACL import from JSON #48

Open
dictvm opened this issue Jun 29, 2017 · 0 comments
Open

Allow ACL import from JSON #48

dictvm opened this issue Jun 29, 2017 · 0 comments

Comments

@dictvm
Copy link

dictvm commented Jun 29, 2017

ACL rules are pretty complex to write by hand - though maybe I'm just doing it wrong. So far I have not found a tool that makes it easy to create ACL rules. It would be useful if consul admins could simply write rules in prettified JSON, save them to a file and import it using a syntax similar the that being used to import key/value entries:

key/value:
consul-cli kv create --json kv.json
acl:
consul-cli acl create --json acl-rules.json

This way, admins could pull a list of all ACLs, save them to a JSON file and import them again using the same tooling:

consul-cli acl list >> acl-rules.json

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