A docker image to rotate oxAuth keys.
Latest stable release is gluufederation/key-rotation:3.0.1_rev1.0.0-beta2
. See CHANGES.md
for archives.
This image uses its own versioning/tagging format.
<IMAGE-NAME>:<GLUU-SERVER-VERSION>_<INTERNAL-REV-VERSION>
For example, gluufederation/key-rotation:3.0.1_rev1.0.0
consists of:
- glufederation/key-rotation as
<IMAGE_NAME>
; the actual image name - 3.0.1 as
GLUU-SERVER-VERSION
; the Gluu Server version as setup reference - rev1.0.0 as
<INTERNAL-REV-VERSION>
; revision made when developing the image
Build the image:
docker build --rm --force-rm -t gluufederation/key-rotation:latest .
Or get it from Docker Hub:
docker pull gluufederation/key-rotation:latest
GLUU_KV_HOST
: hostname or IP address of Consul.GLUU_KV_PORT
: port of Consul.GLUU_LDAP_URL
: URL to LDAP inhost:port
format string (i.e.192.168.100.4:1389
); multiple URLs can be used using comma-separated value (i.e.192.168.100.1:1389,192.168.100.2:1389
).GLUU_KEY_ROTATION_INTERVAL
: Interval of key rotation check (in days).
/etc/certs
directory.
Here's an example to run the container:
docker run -d \
--name key-rotation \
-e GLUU_KV_HOST=my.consul.domain.com \
-e GLUU_KV_PORT=8500 \
-e GLUU_LDAP_URL=my.ldap.domain.com:1389 \
-e GLUU_KEY_ROTATION_INTERVAL=2 \
gluufederation/key-rotation:containership
- Distribute
oxauth-keys.jks