edgexfoundry / edgex-compose

EdgeX Foundry Docker Compose release compose files and tools for building EdgeX compose files
Apache License 2.0
81 stars 115 forks source link

Support with docker-compose use JWT [UI:localhost:4000] #362

Closed MILANOFCOFEE closed 1 year ago

MILANOFCOFEE commented 1 year ago

Hello everybody! I run docker-compose.yml with security, branch Jakarta. After I ran docker, I tried to this page: localhost:4000 and then used the command to get kong-admin

sudo cat /tmp/edgex/secrets/security-proxy-setup/kong-admin-jwt

image

But I got a problem

image

Thank you!

lenny-goodell commented 1 year ago

@bnevis-i , FYI

bnevis-i commented 1 year ago

To get the API token, instead use

make get-token

The kong-admin-jwt is used by security-proxy-setup to configure Kong and it can only access the /admin API.

bnevis-i commented 1 year ago

Closing as answered.