Skip to content

3sky/keycloak-aurora

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AWS Aurora optimized Keycloak build

General informations

Build based on documentation, which can be found here:

  1. Preparing for Amazon Aurora PostgreSQL
  2. Running Keycloak in a container

Current version of AWS Advanced JDBC wrapper is 2.4.0.

Storage

Images are are hosted on quay.io.

Pulling

  • from Quay.io:
podman pull quay.io/3sky/keycloak-aurora

Env varaibles

As baseline environment variables I recommend using the following, as it is 100% working setup, with AWS CDK.

KEYCLOAK_ADMIN: 'admin'
KEYCLOAK_ADMIN_PASSWORD: 'admin'
KC_DB_USERNAME: 'keycloak',
KC_DB_PASSWORD: theSecret.secretValueFromJson('password').toString()
KC_HEALTH_ENABLED: 'true'
KC_HOSTNAME_STRICT: 'false'
KC_DB: 'postgres'
KC_DB_URL: 'jdbc:aws-wrapper:postgresql://' + theAurora.clusterEndpoint.hostname + ':5432/keycloak'

Additional variables which are in example:

theSecret: secretsmanager.Secret;
theAurora: rds.DatabaseCluster 

Disclaimer

It's a hobby project only. Wrapper around official build. In case of issues, visiting the official project github page, is probably a better idea.

About

Small wrapper around AWS oriented keycloak build

Resources

License

Stars

Watchers

Forks

Packages

No packages published