Provide a few examples of using CLI tools such as grpcurl to test the ext-proc.
It might be better to implement #338 first, so this documentation can be small.
It might be valuable to be able to run the various AuthBridge components locally so that developers can use their favorite debugging tools. It might be good to provide a sample AuthBridge config file for spiffe://prod.acme.com/billing/api so that new developers can try out modifications to the AuthBridge code without building and pushing a new sidecar image and starting an agent to induce the Kagenti Operator to attach the new code to a running Agent.
This is what I tried to run locally:
export KEYCLOAK_URL=http://keycloak.localtest.me:8080
export KEYCLOAK_REALM=kagenti
export TOKEN_URL=$(curl --silent ${KEYCLOAK_URL}/realms/${KEYCLOAK_REALM}/.well-known/openid-configuration | jq --raw-output ".token_endpoint")
export DEFAULT_OUTBOUND_POLICY=passthrough
export CLIENT_ID=spiffe://localtest.me/sa/kagenti-example-client
go run ./cmd/authbridge/main.go -config authproxy/authbridge-combined.yaml
I couldn't find any other config files, and this one was insufficient -- it wanted a socket_path or jwt_svid_path, and as a new dev I couldn't figure out how to supply them.
Provide a few examples of using CLI tools such as grpcurl to test the ext-proc.
It might be better to implement #338 first, so this documentation can be small.
It might be valuable to be able to run the various AuthBridge components locally so that developers can use their favorite debugging tools. It might be good to provide a sample AuthBridge config file for
spiffe://prod.acme.com/billing/apiso that new developers can try out modifications to the AuthBridge code without building and pushing a new sidecar image and starting an agent to induce the Kagenti Operator to attach the new code to a running Agent.This is what I tried to run locally:
I couldn't find any other config files, and this one was insufficient -- it wanted a socket_path or jwt_svid_path, and as a new dev I couldn't figure out how to supply them.