steampipe plugin install theapsgroup/keycloak

Keycloak + Steampipe

Keycloak is an open source Identity and Access Management (IAM) solution.

Steampipe is an open source CLI to instantly query cloud APIs using SQL.

Documentation

Getting Started

Installation

steampipe plugin install theapsgroup/keycloak

Prerequisites

  • Keycloak
  • Admin Credentials for the Keycloak instance/realm.

Configuration

Note: Configuration file will take precedence over Env Vars.

Configuration can be done via Environment Variables or via the Configuration file ~./steampipe/config/keycloak.spc.

Environment Variables:

  • KEYCLOAK_ADDR : The Endpoint at which to contact your Keycloak instance (example: https://auth.example.com/ )
  • KEYCLOAK_USER : The Username for a user with Admin privileges
  • KEYCLOAK_PASSWORD : The password for a user with Admin privileges
  • KEYCLOAK_REALM : The realm in the Keycloak instance you wish to query.

Configuration File:

connection "keycloak" {
plugin = "theapsgroup/keycloak"
base_url = "https://sso.mycompany.com/"
realm = "example"
user = "my-admin-account"
password = "eXamPl3P@$$w0rD"
}