Closed mschirrmeister closed 7 years ago
When you create Consul ACL via the API you can provide an ID. If ID field is provided, it uses this value as the uuid.
ID
Example:
curl -X PUT -H "X-Consul-Token: d5144785-65ab-4d91-8521-a660d7b07fcc" -d '{ "Name": "marco", "Type": "management", "ID": "5a27872c-0396-4327-919b-ea8343f330a7" }' https://n1.node.consul.mydomain.com:8501/v1/acl/create
Any plans to introduce an option in consul-cli acl create to provide the id/uuid?
consul-cli acl create
Thanks Marco
When you create Consul ACL via the API you can provide an
ID
. IfID
field is provided, it uses this value as the uuid.Example:
Any plans to introduce an option in
consul-cli acl create
to provide the id/uuid?Thanks Marco