ClientPermissionsArgs

data class ClientPermissionsArgs(val clientId: Output<String>? = null, val configureScope: Output<ClientPermissionsConfigureScopeArgs>? = null, val manageScope: Output<ClientPermissionsManageScopeArgs>? = null, val mapRolesClientScopeScope: Output<ClientPermissionsMapRolesClientScopeScopeArgs>? = null, val mapRolesCompositeScope: Output<ClientPermissionsMapRolesCompositeScopeArgs>? = null, val mapRolesScope: Output<ClientPermissionsMapRolesScopeArgs>? = null, val realmId: Output<String>? = null, val tokenExchangeScope: Output<ClientPermissionsTokenExchangeScopeArgs>? = null, val viewScope: Output<ClientPermissionsViewScopeArgs>? = null) : ConvertibleToJava<ClientPermissionsArgs>

Allows you to manage all openid client Scope Based Permissions. This is part of a preview keycloak feature. You need to enable this feature to be able to use this resource. More information about enabling the preview feature can be found here: https://www.keycloak.org/securing-apps/token-exchange When enabling Openid Client Permissions, Keycloak does several things automatically:

  1. Enable Authorization on build-in realm-management client

  2. Create scopes "view", "manage", "configure", "map-roles", "map-roles-client-scope", "map-roles-composite", " token-exchange"

  3. Create a resource representing the openid client

  4. Create all scope based permission for the scopes and openid client resource If the realm-management Authorization is not enable, you have to ceate a dependency (depends_on) with the policy and the openid client.

Constructors

Link copied to clipboard
constructor(clientId: Output<String>? = null, configureScope: Output<ClientPermissionsConfigureScopeArgs>? = null, manageScope: Output<ClientPermissionsManageScopeArgs>? = null, mapRolesClientScopeScope: Output<ClientPermissionsMapRolesClientScopeScopeArgs>? = null, mapRolesCompositeScope: Output<ClientPermissionsMapRolesCompositeScopeArgs>? = null, mapRolesScope: Output<ClientPermissionsMapRolesScopeArgs>? = null, realmId: Output<String>? = null, tokenExchangeScope: Output<ClientPermissionsTokenExchangeScopeArgs>? = null, viewScope: Output<ClientPermissionsViewScopeArgs>? = null)

Properties

Link copied to clipboard
val clientId: Output<String>? = null
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val realmId: Output<String>? = null
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open override fun toJava(): ClientPermissionsArgs