Open raonelakurti opened 3 years ago
Hi @raonelakurti ,
Are you sure spring.cloud.consul.discovery.acl-token
is the right property for your version of spring-cloud-consul
? This SO thread and the current source suggest spring.cloud.consul.token
may also be an option.
And have you ensured that your token has the necessary privileges to read/write your keys?
@jkirschner-hashicorp Sorry for the delayed response. Even after adding the property that you suggested still the same issue
I have a spring boot application to read propeties from KV store in consul. Some how I'm not able to read consul KV config values after enabling ACL
Bootstrap.yaml:
Java Config Class:
In Consul I've added kv store-> config/myApp/data/cassandra/host: 12.3.2.10
FYI, This code is working fine before ACL setup. Please help me understand what am I missing.