https://github.com/soerenschneider/tf-keycloak
https://github.com/soerenschneider/tf-keycloak
auth-provider iac infrastructure-as-code keycloak oauth2 openid-connect opentofu terraform
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/soerenschneider/tf-keycloak
- Owner: soerenschneider
- Created: 2025-03-27T07:32:25.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-04-28T18:28:33.000Z (about 1 year ago)
- Last Synced: 2025-04-28T19:35:44.159Z (about 1 year ago)
- Language: HCL
- Size: 48.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# tf-keycloak




This repository implements Infrastructure as Code (IaC) using [OpenTofu](https://opentofu.org/) to configure Keycloak and write OpenID client secrets to Hashicorp Vault.
## Table of Contents
- [Overview](#overview)
- [Getting Started](#getting-started)
- [Prerequisites](#prerequisites)
- [Installation](#installation)
## Getting Started
Follow these instructions to set up the repository and start managing your Keycloak and Vault resources.
### Prerequisites
- [OpenTofu](https://opentofu.org/)
- Terragrunt
- Docker-compose
### Running the code
1. **Clone the repository:**
```bash
git clone https://github.com/soerenschneider/tf-keycloak.git
cd tf-keycloak
```
2. **Provisioning resources:**
```bash
cd envs/dev
bash run.sh
```
### Tests
This repository utilizes Terratest for automated testing of OpenTofu modules and configurations.
1. **Running the tests:**
```bash
$ make tests
```