Verified Commit fd276af3 authored by Sven-Hendrik Haase's avatar Sven-Hendrik Haase
Browse files

Add kcadm wrapper for keycloak

This wrapper automatically handles auth and server via Ansible vault information that we have already.
parent 144d9e33
#!/usr/bin/env bash
# Script that wraps to securely get our credentials.
# Example invocation:
# misc/ get realms
kcadm "$@" --no-config --server --realm master --user $(misc/ group_vars/all/vault_keycloak.yml vault_keycloak_admin_user) --password $(misc/ group_vars/all/vault_keycloak.yml vault_keycloak_admin_password)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment