mrparkers / terraform-provider-keycloak

Terraform provider for Keycloak
https://registry.terraform.io/providers/mrparkers/keycloak/latest/docs
MIT License
607 stars 295 forks source link

Allow using bearer token to auth against keycloak #834

Open james-callahan opened 1 year ago

james-callahan commented 1 year ago

Rather than setting up a client id/client secret or username/password (direct flow) to authenticate against keycloak, I'd like to use a limited duration token. Similar to how with kcadm.sh I can pass --token.

I'd hope to be able to provide this token via an env var e.g. KEYCLOAK_TOKEN, or via a token argument to the provider.