This repo contains a simple Go API for proxying request to OpenStack Barbican
Note: This API server does not contain any security measures and is designed to be run cluster-side only.
Make sure that you have the following tools installed:
To build the app, use the standard go build command:
go build -o bin/barbican-proxyTo build the docker image, run the following command:
docker buildx build . -t barbican-proxy:latestTo run the proxy for development, use the standard go run command:
go run .To run the proxy for production, execute the binary after building it:
./bin/barbican-proxyInstructions may be different for Windows users
To run the docker image locally, use the following command:
docker run --network host -it barbican-proxy:latestThis repo uses docker compose to emulate Valkey locally. To run it, use the following command:
docker compose up -d
Note: Be sure to close any running KV containers!