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: 14 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/soerenschneider/tf-keycloak
- Owner: soerenschneider
- Created: 2024-07-05T20:28:11.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-09-23T11:38:13.000Z (about 1 month ago)
- Last Synced: 2024-10-04T22:09:19.042Z (about 1 month ago)
- Topics: auth-provider, iac, infrastructure-as-code, keycloak, oauth2, openid-connect, opentofu, terraform
- Language: HCL
- Homepage:
- Size: 137 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# tf-keycloak
![gitleaks](https://github.com/soerenschneider/tf-keycloak/actions/workflows/gitleaks.yaml/badge.svg)
![lint-workflow](https://github.com/soerenschneider/tf-keycloak/actions/workflows/lint.yaml/badge.svg)
![security-workflow](https://github.com/soerenschneider/tf-keycloak/actions/workflows/security.yaml/badge.svg)
![terratest](https://github.com/soerenschneider/tf-keycloak/actions/workflows/terratest.yaml/badge.svg)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
```