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

Allow ACL import from JSON #48

@dictvm

Description

@dictvm

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions