You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-`realm_id` - (Required) The realm this client is attached to.
@@ -182,20 +203,36 @@ is set to `true`.
182
203
}
183
204
```
184
205
185
-
-`import` - (Optional) When `true`, the client with the specified `client_id` is assumed to already exist, and it will be imported into state instead of being created. This attribute is useful when dealing with clients that Keycloak creates automatically during realm creation, such as `account` and `admin-cli`. Note, that the client will not be removed during destruction if `import` is `true`.
186
-
187
206
## Attributes Reference
188
207
189
208
-`service_account_user_id` - (Computed) When service accounts are enabled for this client, this attribute is the unique ID for the Keycloak user that represents this service account.
190
209
-`resource_server_id` - (Computed) When authorization is enabled for this client, this attribute is the unique ID for the client (the same value as the `.id` attribute).
191
210
192
211
## Import
193
212
194
-
Clients can be imported using the format `{{realm_id}}/{{client_keycloak_id}}`, where `client_keycloak_id` is the unique ID that Keycloak
195
-
assigns to the client upon creation. This value can be found in the URI when editing this client in the GUI, and is typically a GUID.
213
+
Clients can be imported using the two formats:
214
+
215
+
1.`{{realm_id}}/{{client_uuid}}`, where `client_uuid` is the UUID that KeyCloak assigns to the client upon creation.
216
+
This value can be found in the URL when editing the client in an admin console.
217
+
2.`{{realm_id}}/{{client_id}}`, where `client_id` is the human-readable client ID that KeyCloak requires when creating
0 commit comments