Keycloak is an easy way to secure your app with OAuth/SSO. Here's an easy way to deploy it.
- Copy the .env.example to .env at the root
- Specify AWS_ACCOUNT and AWS_REGION if different than the defaults in your aws cli, or delete them to use the defaults
- Modify the Keycloak specific environment variables
- Run
cdk synth && cdk deploy
npm run build
compile typescript to jsnpm run watch
watch for changes and compilenpm run test
perform the jest unit testsnpx cdk deploy
deploy this stack to your default AWS account/regionnpx cdk diff
compare deployed stack with current statenpx cdk synth
emits the synthesized CloudFormation template