keycloak / terraform-provider-keycloak

Terraform provider for Keycloak
https://registry.terraform.io/providers/mrparkers/keycloak/latest/docs
Apache License 2.0
648 stars 317 forks source link

[Feature Request] Add to the provider compability with create oidc_client_role #1011

Closed GrigoryLantsov closed 3 weeks ago

GrigoryLantsov commented 3 weeks ago

Api URL for request: https://keycloak.example.com/admin/realms/master/clients/UID/roles

on hcl smth like that:

resource "keycloak_openid_client_role" "some role" {
  realm_id    = keycloak_realm.realm.id
  client_id   = keycloak_openid_client.client1.id
  name        = "my-client1-role"
  description = "A role that client provides"
}