vert-x3 / vertx-consul-client

Vert.x Consul Client
Apache License 2.0
34 stars 23 forks source link

Support new API method: create acl token #100

Closed ViktoriiaLebedeva closed 1 year ago

ViktoriiaLebedeva commented 1 year ago

Description

In consul versions since 1.11, the legacy endpoint /v1/acl/create has been removed. It is necessary to support a new request to create an acl token: https://developer.hashicorp.com/consul/api-docs/v1.11.x/acl/tokens#create-a-token and create a policy: https://developer.hashicorp.com/consul/api-docs/v1.11.x/acl/policies#create-a-policy