Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 15 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/soerenschneider/tf-keycloak
- Owner: soerenschneider
- Created: 2024-07-05T20:28:11.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-11-25T11:48:50.000Z (3 months ago)
- Last Synced: 2024-12-12T16:46:41.596Z (2 months ago)
- Topics: auth-provider, iac, infrastructure-as-code, keycloak, oauth2, openid-connect, opentofu, terraform
- Language: HCL
- Homepage:
- Size: 185 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
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
```