Open Source Identity and Access Management
https://id.autonomic.zone
106674eb57
This reverts commit
|
||
---|---|---|
ansible | ||
sbin | ||
.envrc.sample | ||
app.json | ||
CHECKS | ||
Dockerfile | ||
README.md | ||
requirements.txt |
keycloak
Setup
Pre-requisites
- You have SSH access to dokku.autonomic.zone
- You have sudo privilege escalation working
Host dokku.autonomic.zone
Hostname dokku.autonomic.zone
User <your-username>
Port 222
IdentityFile ~/.ssh/<your-ssh-key-private-file>
See the password-store under autonomic-dokku
for your sudo password.
Environment
- Clone the infrastructure repository
- Copy the sample file:
cp .envrc.sample .envrc
- Ensure that the .envrc
PASSWORD_STORE_DIR
env var points to theinfrastructure/credentials/password-store
Python
You only need to do this if you're working with Ansible vault (encrypting/decrypting new secrets).
$ python3 -m venv .venv
$ source .venv/bin/activate
$ pip install -r requirements.txt
Deploy
$ git remote add dokku dokku@dokku.autonomic.zone:keycloak
$ git push dokku
Managing Users
https://www.keycloak.org/docs/latest/getting_started/index.html#creating-a-realm-and-user