Skip to content

soerenschneider/tf-keycloak

Repository files navigation

tf-keycloak

gitleaks lint-workflow security-workflow terratest

This repository implements Infrastructure as Code (IaC) using OpenTofu to configure Keycloak and write OpenID client secrets to Hashicorp Vault.

Table of Contents

Getting Started

Follow these instructions to set up the repository and start managing your Keycloak and Vault resources.

Prerequisites

Running the code

  1. Clone the repository:

    git clone https://github.com/soerenschneider/tf-keycloak.git
    cd tf-keycloak
  2. Provisioning resources:

    cd envs/dev
    bash run.sh

Tests

This repository utilizes Terratest for automated testing of OpenTofu modules and configurations.

  1. Running the tests:
    $ make tests