@pulumi/keycloak 5.3.0 → 5.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (276) hide show
  1. package/attributeImporterIdentityProviderMapper.d.ts +45 -63
  2. package/attributeImporterIdentityProviderMapper.js +24 -33
  3. package/attributeImporterIdentityProviderMapper.js.map +1 -1
  4. package/attributeToRoleIdentityMapper.d.ts +14 -6
  5. package/attributeToRoleIdentityMapper.js +14 -6
  6. package/attributeToRoleIdentityMapper.js.map +1 -1
  7. package/authentication/bindings.d.ts +3 -3
  8. package/authentication/bindings.js +3 -3
  9. package/authentication/execution.d.ts +8 -4
  10. package/authentication/execution.js +8 -4
  11. package/authentication/execution.js.map +1 -1
  12. package/authentication/executionConfig.d.ts +10 -2
  13. package/authentication/executionConfig.js +10 -2
  14. package/authentication/executionConfig.js.map +1 -1
  15. package/authentication/flow.d.ts +14 -2
  16. package/authentication/flow.js +14 -2
  17. package/authentication/flow.js.map +1 -1
  18. package/authentication/subflow.d.ts +16 -2
  19. package/authentication/subflow.js +16 -2
  20. package/authentication/subflow.js.map +1 -1
  21. package/customIdentityProviderMapping.d.ts +12 -5
  22. package/customIdentityProviderMapping.js +12 -5
  23. package/customIdentityProviderMapping.js.map +1 -1
  24. package/customUserFederation.d.ts +48 -48
  25. package/customUserFederation.js +24 -12
  26. package/customUserFederation.js.map +1 -1
  27. package/defaultGroups.d.ts +19 -26
  28. package/defaultGroups.js +19 -8
  29. package/defaultGroups.js.map +1 -1
  30. package/defaultRoles.d.ts +12 -3
  31. package/defaultRoles.js +12 -3
  32. package/defaultRoles.js.map +1 -1
  33. package/genericClientProtocolMapper.d.ts +36 -34
  34. package/genericClientProtocolMapper.js +21 -10
  35. package/genericClientProtocolMapper.js.map +1 -1
  36. package/genericClientRoleMapper.d.ts +42 -15
  37. package/genericClientRoleMapper.js +42 -15
  38. package/genericClientRoleMapper.js.map +1 -1
  39. package/genericProtocolMapper.d.ts +9 -4
  40. package/genericProtocolMapper.js +9 -4
  41. package/genericProtocolMapper.js.map +1 -1
  42. package/genericRoleMapper.d.ts +42 -15
  43. package/genericRoleMapper.js +42 -15
  44. package/genericRoleMapper.js.map +1 -1
  45. package/getClientDescriptionConverter.d.ts +50 -50
  46. package/getClientDescriptionConverter.js +50 -50
  47. package/getGroup.d.ts +4 -62
  48. package/getGroup.js +4 -50
  49. package/getGroup.js.map +1 -1
  50. package/getRealm.d.ts +36 -10
  51. package/getRealm.js +36 -4
  52. package/getRealm.js.map +1 -1
  53. package/getRealmKeys.d.ts +8 -28
  54. package/getRealmKeys.js +8 -4
  55. package/getRealmKeys.js.map +1 -1
  56. package/getRole.d.ts +4 -65
  57. package/getRole.js +4 -44
  58. package/getRole.js.map +1 -1
  59. package/getUser.d.ts +2 -0
  60. package/getUser.js +2 -0
  61. package/getUser.js.map +1 -1
  62. package/getUserRealmRoles.d.ts +4 -0
  63. package/getUserRealmRoles.js +4 -0
  64. package/getUserRealmRoles.js.map +1 -1
  65. package/group.d.ts +37 -57
  66. package/group.js +37 -15
  67. package/group.js.map +1 -1
  68. package/groupMemberships.d.ts +28 -43
  69. package/groupMemberships.js +28 -16
  70. package/groupMemberships.js.map +1 -1
  71. package/groupPermissions.d.ts +13 -0
  72. package/groupPermissions.js +13 -0
  73. package/groupPermissions.js.map +1 -1
  74. package/groupRoles.d.ts +35 -90
  75. package/groupRoles.js +35 -54
  76. package/groupRoles.js.map +1 -1
  77. package/hardcodedAttributeIdentityProviderMapper.d.ts +4 -3
  78. package/hardcodedAttributeIdentityProviderMapper.js +4 -3
  79. package/hardcodedAttributeIdentityProviderMapper.js.map +1 -1
  80. package/hardcodedRoleIdentityMapper.d.ts +6 -4
  81. package/hardcodedRoleIdentityMapper.js +6 -4
  82. package/hardcodedRoleIdentityMapper.js.map +1 -1
  83. package/identityProviderTokenExchangeScopePermission.d.ts +13 -6
  84. package/identityProviderTokenExchangeScopePermission.js +13 -6
  85. package/identityProviderTokenExchangeScopePermission.js.map +1 -1
  86. package/ldap/customMapper.d.ts +14 -6
  87. package/ldap/customMapper.js +14 -6
  88. package/ldap/customMapper.js.map +1 -1
  89. package/ldap/fullNameMapper.d.ts +35 -48
  90. package/ldap/fullNameMapper.js +26 -12
  91. package/ldap/fullNameMapper.js.map +1 -1
  92. package/ldap/groupMapper.d.ts +47 -156
  93. package/ldap/groupMapper.js +38 -12
  94. package/ldap/groupMapper.js.map +1 -1
  95. package/ldap/hardcodedAttributeMapper.d.ts +12 -4
  96. package/ldap/hardcodedAttributeMapper.js +12 -4
  97. package/ldap/hardcodedAttributeMapper.js.map +1 -1
  98. package/ldap/hardcodedGroupMapper.d.ts +16 -5
  99. package/ldap/hardcodedGroupMapper.js +16 -5
  100. package/ldap/hardcodedGroupMapper.js.map +1 -1
  101. package/ldap/hardcodedRoleMapper.d.ts +31 -66
  102. package/ldap/hardcodedRoleMapper.js +19 -54
  103. package/ldap/hardcodedRoleMapper.js.map +1 -1
  104. package/ldap/msadLdsUserAccountControlMapper.d.ts +12 -4
  105. package/ldap/msadLdsUserAccountControlMapper.js +12 -4
  106. package/ldap/msadLdsUserAccountControlMapper.js.map +1 -1
  107. package/ldap/msadUserAccountControlMapper.d.ts +29 -27
  108. package/ldap/msadUserAccountControlMapper.js +20 -9
  109. package/ldap/msadUserAccountControlMapper.js.map +1 -1
  110. package/ldap/roleMapper.d.ts +12 -4
  111. package/ldap/roleMapper.js +12 -4
  112. package/ldap/roleMapper.js.map +1 -1
  113. package/ldap/userAttributeMapper.d.ts +54 -39
  114. package/ldap/userAttributeMapper.js +24 -9
  115. package/ldap/userAttributeMapper.js.map +1 -1
  116. package/ldap/userFederation.d.ts +117 -88
  117. package/ldap/userFederation.js +45 -13
  118. package/ldap/userFederation.js.map +1 -1
  119. package/oidc/googleIdentityProvider.d.ts +8 -4
  120. package/oidc/googleIdentityProvider.js +8 -4
  121. package/oidc/googleIdentityProvider.js.map +1 -1
  122. package/oidc/identityProvider.d.ts +7 -3
  123. package/oidc/identityProvider.js +7 -3
  124. package/oidc/identityProvider.js.map +1 -1
  125. package/openid/audienceProtocolMapper.d.ts +62 -43
  126. package/openid/audienceProtocolMapper.js +38 -19
  127. package/openid/audienceProtocolMapper.js.map +1 -1
  128. package/openid/audienceResolveProtocolMapper.d.ts +22 -7
  129. package/openid/audienceResolveProtocolMapper.js +22 -7
  130. package/openid/audienceResolveProtocolMapper.js.map +1 -1
  131. package/openid/audienceResolveProtocolMappter.d.ts +22 -7
  132. package/openid/audienceResolveProtocolMappter.js +22 -7
  133. package/openid/audienceResolveProtocolMappter.js.map +1 -1
  134. package/openid/client.d.ts +45 -429
  135. package/openid/client.js +45 -12
  136. package/openid/client.js.map +1 -1
  137. package/openid/clientAuthorizationPermission.d.ts +6 -2
  138. package/openid/clientAuthorizationPermission.js +6 -2
  139. package/openid/clientAuthorizationPermission.js.map +1 -1
  140. package/openid/clientDefaultScopes.d.ts +16 -31
  141. package/openid/clientDefaultScopes.js +16 -4
  142. package/openid/clientDefaultScopes.js.map +1 -1
  143. package/openid/clientOptionalScopes.d.ts +16 -32
  144. package/openid/clientOptionalScopes.js +16 -5
  145. package/openid/clientOptionalScopes.js.map +1 -1
  146. package/openid/clientPolicy.d.ts +5 -3
  147. package/openid/clientPolicy.js +5 -3
  148. package/openid/clientPolicy.js.map +1 -1
  149. package/openid/clientScope.d.ts +25 -66
  150. package/openid/clientScope.js +25 -12
  151. package/openid/clientScope.js.map +1 -1
  152. package/openid/clientServiceAccountRealmRole.d.ts +12 -4
  153. package/openid/clientServiceAccountRealmRole.js +12 -4
  154. package/openid/clientServiceAccountRealmRole.js.map +1 -1
  155. package/openid/clientServiceAccountRole.d.ts +14 -5
  156. package/openid/clientServiceAccountRole.js +14 -5
  157. package/openid/clientServiceAccountRole.js.map +1 -1
  158. package/openid/fullNameProtocolMapper.d.ts +49 -59
  159. package/openid/fullNameProtocolMapper.js +37 -20
  160. package/openid/fullNameProtocolMapper.js.map +1 -1
  161. package/openid/getClient.d.ts +30 -14
  162. package/openid/getClient.js +30 -2
  163. package/openid/getClient.js.map +1 -1
  164. package/openid/getClientAuthorizationPolicy.d.ts +8 -2
  165. package/openid/getClientAuthorizationPolicy.js +8 -2
  166. package/openid/getClientAuthorizationPolicy.js.map +1 -1
  167. package/openid/getClientScope.d.ts +4 -2
  168. package/openid/getClientScope.js +4 -2
  169. package/openid/getClientScope.js.map +1 -1
  170. package/openid/getClientServiceAccountUser.d.ts +4 -2
  171. package/openid/getClientServiceAccountUser.js +4 -2
  172. package/openid/getClientServiceAccountUser.js.map +1 -1
  173. package/openid/groupMembershipProtocolMapper.d.ts +51 -77
  174. package/openid/groupMembershipProtocolMapper.js +39 -20
  175. package/openid/groupMembershipProtocolMapper.js.map +1 -1
  176. package/openid/hardcodedClaimProtocolMapper.d.ts +64 -62
  177. package/openid/hardcodedClaimProtocolMapper.js +40 -20
  178. package/openid/hardcodedClaimProtocolMapper.js.map +1 -1
  179. package/openid/hardcodedRoleProtocolMapper.d.ts +56 -43
  180. package/openid/hardcodedRoleProtocolMapper.js +44 -22
  181. package/openid/hardcodedRoleProtocolMapper.js.map +1 -1
  182. package/openid/scriptProtocolMapper.d.ts +23 -7
  183. package/openid/scriptProtocolMapper.js +23 -7
  184. package/openid/scriptProtocolMapper.js.map +1 -1
  185. package/openid/userAttributeProtocolMapper.d.ts +71 -68
  186. package/openid/userAttributeProtocolMapper.js +41 -20
  187. package/openid/userAttributeProtocolMapper.js.map +1 -1
  188. package/openid/userClientRoleProtocolMapper.d.ts +23 -7
  189. package/openid/userClientRoleProtocolMapper.js +23 -7
  190. package/openid/userClientRoleProtocolMapper.js.map +1 -1
  191. package/openid/userPropertyProtocolMapper.d.ts +64 -63
  192. package/openid/userPropertyProtocolMapper.js +40 -21
  193. package/openid/userPropertyProtocolMapper.js.map +1 -1
  194. package/openid/userRealmRoleProtocolMapper.d.ts +71 -59
  195. package/openid/userRealmRoleProtocolMapper.js +41 -20
  196. package/openid/userRealmRoleProtocolMapper.js.map +1 -1
  197. package/openid/userSessionNoteProtocolMapper.d.ts +23 -7
  198. package/openid/userSessionNoteProtocolMapper.js +23 -7
  199. package/openid/userSessionNoteProtocolMapper.js.map +1 -1
  200. package/package.json +1 -1
  201. package/realm.d.ts +30 -509
  202. package/realm.js +0 -83
  203. package/realm.js.map +1 -1
  204. package/realmEvents.d.ts +15 -71
  205. package/realmEvents.js +15 -8
  206. package/realmEvents.js.map +1 -1
  207. package/realmKeystoreAesGenerated.d.ts +8 -3
  208. package/realmKeystoreAesGenerated.js +8 -3
  209. package/realmKeystoreAesGenerated.js.map +1 -1
  210. package/realmKeystoreEcdsaGenerated.d.ts +8 -3
  211. package/realmKeystoreEcdsaGenerated.js +8 -3
  212. package/realmKeystoreEcdsaGenerated.js.map +1 -1
  213. package/realmKeystoreHmacGenerated.d.ts +8 -3
  214. package/realmKeystoreHmacGenerated.js +8 -3
  215. package/realmKeystoreHmacGenerated.js.map +1 -1
  216. package/realmKeystoreJavaGenerated.d.ts +8 -3
  217. package/realmKeystoreJavaGenerated.js +8 -3
  218. package/realmKeystoreJavaGenerated.js.map +1 -1
  219. package/realmKeystoreRsa.d.ts +6 -2
  220. package/realmKeystoreRsa.js +6 -2
  221. package/realmKeystoreRsa.js.map +1 -1
  222. package/realmKeystoreRsaGenerated.d.ts +8 -3
  223. package/realmKeystoreRsaGenerated.js +8 -3
  224. package/realmKeystoreRsaGenerated.js.map +1 -1
  225. package/realmUserProfile.d.ts +1 -1
  226. package/realmUserProfile.js +1 -1
  227. package/requiredAction.d.ts +8 -3
  228. package/requiredAction.js +8 -3
  229. package/requiredAction.js.map +1 -1
  230. package/role.d.ts +57 -110
  231. package/role.js +57 -56
  232. package/role.js.map +1 -1
  233. package/saml/client.d.ts +9 -344
  234. package/saml/client.js +9 -29
  235. package/saml/client.js.map +1 -1
  236. package/saml/clientDefaultScope.d.ts +0 -33
  237. package/saml/clientDefaultScope.js +0 -33
  238. package/saml/clientDefaultScope.js.map +1 -1
  239. package/saml/clientScope.d.ts +10 -3
  240. package/saml/clientScope.js +10 -3
  241. package/saml/clientScope.js.map +1 -1
  242. package/saml/getClient.d.ts +2 -0
  243. package/saml/getClient.js +2 -0
  244. package/saml/getClient.js.map +1 -1
  245. package/saml/getClientInstallationProvider.d.ts +0 -62
  246. package/saml/getClientInstallationProvider.js +0 -62
  247. package/saml/getClientInstallationProvider.js.map +1 -1
  248. package/saml/identityProvider.d.ts +155 -111
  249. package/saml/identityProvider.js +44 -15
  250. package/saml/identityProvider.js.map +1 -1
  251. package/saml/scriptProtocolMapper.d.ts +15 -5
  252. package/saml/scriptProtocolMapper.js +15 -5
  253. package/saml/scriptProtocolMapper.js.map +1 -1
  254. package/saml/userAttributeProtocolMapper.d.ts +32 -91
  255. package/saml/userAttributeProtocolMapper.js +32 -19
  256. package/saml/userAttributeProtocolMapper.js.map +1 -1
  257. package/saml/userPropertyProtocolMapper.d.ts +32 -91
  258. package/saml/userPropertyProtocolMapper.js +32 -19
  259. package/saml/userPropertyProtocolMapper.js.map +1 -1
  260. package/types/input.d.ts +74 -231
  261. package/types/output.d.ts +44 -255
  262. package/user.d.ts +26 -104
  263. package/user.js +26 -14
  264. package/user.js.map +1 -1
  265. package/userGroups.d.ts +5 -33
  266. package/userGroups.js +5 -33
  267. package/userGroups.js.map +1 -1
  268. package/userRoles.d.ts +16 -6
  269. package/userRoles.js +16 -6
  270. package/userRoles.js.map +1 -1
  271. package/userTemplateImporterIdentityProviderMapper.d.ts +10 -3
  272. package/userTemplateImporterIdentityProviderMapper.js +10 -3
  273. package/userTemplateImporterIdentityProviderMapper.js.map +1 -1
  274. package/usersPermissions.d.ts +10 -25
  275. package/usersPermissions.js +10 -25
  276. package/usersPermissions.js.map +1 -1
@@ -1,51 +1,42 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  /**
3
- * Allows for creating and managing an attribute importer identity provider mapper within Keycloak.
3
+ * ## # keycloak.AttributeImporterIdentityProviderMapper
4
4
  *
5
- * The attribute importer mapper can be used to map attributes from externally defined users to attributes or properties of the imported Keycloak user:
6
- * - For the OIDC identity provider, this will map a claim on the ID or access token to an attribute for the imported Keycloak user.
7
- * - For the SAML identity provider, this will map a SAML attribute found within the assertion to an attribute for the imported Keycloak user.
8
- * - For social identity providers, this will map a JSON field from the user profile to an attribute for the imported Keycloak user.
5
+ * Allows to create and manage identity provider mappers within Keycloak.
9
6
  *
10
- * > If you are using Keycloak 10 or higher, you will need to specify the `extraConfig` argument in order to define a `syncMode` for the mapper.
11
- *
12
- * ## Example Usage
7
+ * ### Example Usage
13
8
  *
14
9
  * ```typescript
15
10
  * import * as pulumi from "@pulumi/pulumi";
16
11
  * import * as keycloak from "@pulumi/keycloak";
17
12
  *
18
- * const realm = new keycloak.Realm("realm", {
13
+ * const testMapper = new keycloak.AttributeImporterIdentityProviderMapper("test_mapper", {
19
14
  * realm: "my-realm",
20
- * enabled: true,
21
- * });
22
- * const oidcIdentityProvider = new keycloak.oidc.IdentityProvider("oidcIdentityProvider", {
23
- * realm: realm.id,
24
- * alias: "oidc",
25
- * authorizationUrl: "https://example.com/auth",
26
- * tokenUrl: "https://example.com/token",
27
- * clientId: "example_id",
28
- * clientSecret: "example_token",
29
- * defaultScopes: "openid random profile",
30
- * });
31
- * const oidcAttributeImporterIdentityProviderMapper = new keycloak.AttributeImporterIdentityProviderMapper("oidcAttributeImporterIdentityProviderMapper", {
32
- * realm: realm.id,
33
- * claimName: "my-email-claim",
34
- * identityProviderAlias: oidcIdentityProvider.alias,
35
- * userAttribute: "email",
36
- * extraConfig: {
37
- * syncMode: "INHERIT",
38
- * },
15
+ * name: "my-mapper",
16
+ * identityProviderAlias: "idp_alias",
17
+ * attributeName: "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/surname",
18
+ * userAttribute: "lastName",
39
19
  * });
40
20
  * ```
41
21
  *
42
- * ## Import
22
+ * ### Argument Reference
43
23
  *
44
- * Identity provider mappers can be imported using the format `{{realm_id}}/{{idp_alias}}/{{idp_mapper_id}}`, where `idp_alias` is the identity provider alias, and `idp_mapper_id` is the unique ID that Keycloak assigns to the mapper upon creation. This value can be found in the URI when editing this mapper in the GUI, and is typically a GUID. Examplebash
24
+ * The following arguments are supported:
45
25
  *
46
- * ```sh
47
- * $ pulumi import keycloak:index/attributeImporterIdentityProviderMapper:AttributeImporterIdentityProviderMapper test_mapper my-realm/my-mapper/f446db98-7133-4e30-b18a-3d28fde7ca1b
48
- * ```
26
+ * - `realm` - (Required) The name of the realm.
27
+ * - `name` - (Required) The name of the mapper.
28
+ * - `identityProviderAlias` - (Required) The alias of the associated identity provider.
29
+ * - `userAttribute` - (Required) The user attribute name to store SAML attribute.
30
+ * - `attributeName` - (Optional) The Name of attribute to search for in assertion. You can leave this blank and specify a friendly name instead.
31
+ * - `attributeFriendlyName` - (Optional) The friendly name of attribute to search for in assertion. You can leave this blank and specify an attribute name instead.
32
+ * - `claimName` - (Optional) The claim name.
33
+ *
34
+ * ### Import
35
+ *
36
+ * Identity provider mapper can be imported using the format `{{realm_id}}/{{idp_alias}}/{{idp_mapper_id}}`, where `idpAlias` is the identity provider alias, and `idpMapperId` is the unique ID that Keycloak
37
+ * assigns to the mapper upon creation. This value can be found in the URI when editing this mapper in the GUI, and is typically a GUID.
38
+ *
39
+ * Example:
49
40
  */
50
41
  export declare class AttributeImporterIdentityProviderMapper extends pulumi.CustomResource {
51
42
  /**
@@ -64,37 +55,34 @@ export declare class AttributeImporterIdentityProviderMapper extends pulumi.Cust
64
55
  */
65
56
  static isInstance(obj: any): obj is AttributeImporterIdentityProviderMapper;
66
57
  /**
67
- * For SAML based providers, this is the friendly name of the attribute to search for in the assertion. Conflicts with `attributeName`.
58
+ * Attribute Friendly Name
68
59
  */
69
60
  readonly attributeFriendlyName: pulumi.Output<string | undefined>;
70
61
  /**
71
- * For SAML based providers, this is the name of the attribute to search for in the assertion. Conflicts with `attributeFriendlyName`.
62
+ * Attribute Name
72
63
  */
73
64
  readonly attributeName: pulumi.Output<string | undefined>;
74
65
  /**
75
- * For OIDC based providers, this is the name of the claim to use.
66
+ * Claim Name
76
67
  */
77
68
  readonly claimName: pulumi.Output<string | undefined>;
78
- /**
79
- * Key/value attributes to add to the identity provider mapper model that is persisted to Keycloak. This can be used to extend the base model with new Keycloak features.
80
- */
81
69
  readonly extraConfig: pulumi.Output<{
82
70
  [key: string]: any;
83
71
  } | undefined>;
84
72
  /**
85
- * The alias of the associated identity provider.
73
+ * IDP Alias
86
74
  */
87
75
  readonly identityProviderAlias: pulumi.Output<string>;
88
76
  /**
89
- * The name of the mapper.
77
+ * IDP Mapper Name
90
78
  */
91
79
  readonly name: pulumi.Output<string>;
92
80
  /**
93
- * The name of the realm.
81
+ * Realm Name
94
82
  */
95
83
  readonly realm: pulumi.Output<string>;
96
84
  /**
97
- * The user attribute or property name to store the mapped result.
85
+ * User Attribute
98
86
  */
99
87
  readonly userAttribute: pulumi.Output<string>;
100
88
  /**
@@ -111,37 +99,34 @@ export declare class AttributeImporterIdentityProviderMapper extends pulumi.Cust
111
99
  */
112
100
  export interface AttributeImporterIdentityProviderMapperState {
113
101
  /**
114
- * For SAML based providers, this is the friendly name of the attribute to search for in the assertion. Conflicts with `attributeName`.
102
+ * Attribute Friendly Name
115
103
  */
116
104
  attributeFriendlyName?: pulumi.Input<string>;
117
105
  /**
118
- * For SAML based providers, this is the name of the attribute to search for in the assertion. Conflicts with `attributeFriendlyName`.
106
+ * Attribute Name
119
107
  */
120
108
  attributeName?: pulumi.Input<string>;
121
109
  /**
122
- * For OIDC based providers, this is the name of the claim to use.
110
+ * Claim Name
123
111
  */
124
112
  claimName?: pulumi.Input<string>;
125
- /**
126
- * Key/value attributes to add to the identity provider mapper model that is persisted to Keycloak. This can be used to extend the base model with new Keycloak features.
127
- */
128
113
  extraConfig?: pulumi.Input<{
129
114
  [key: string]: any;
130
115
  }>;
131
116
  /**
132
- * The alias of the associated identity provider.
117
+ * IDP Alias
133
118
  */
134
119
  identityProviderAlias?: pulumi.Input<string>;
135
120
  /**
136
- * The name of the mapper.
121
+ * IDP Mapper Name
137
122
  */
138
123
  name?: pulumi.Input<string>;
139
124
  /**
140
- * The name of the realm.
125
+ * Realm Name
141
126
  */
142
127
  realm?: pulumi.Input<string>;
143
128
  /**
144
- * The user attribute or property name to store the mapped result.
129
+ * User Attribute
145
130
  */
146
131
  userAttribute?: pulumi.Input<string>;
147
132
  }
@@ -150,37 +135,34 @@ export interface AttributeImporterIdentityProviderMapperState {
150
135
  */
151
136
  export interface AttributeImporterIdentityProviderMapperArgs {
152
137
  /**
153
- * For SAML based providers, this is the friendly name of the attribute to search for in the assertion. Conflicts with `attributeName`.
138
+ * Attribute Friendly Name
154
139
  */
155
140
  attributeFriendlyName?: pulumi.Input<string>;
156
141
  /**
157
- * For SAML based providers, this is the name of the attribute to search for in the assertion. Conflicts with `attributeFriendlyName`.
142
+ * Attribute Name
158
143
  */
159
144
  attributeName?: pulumi.Input<string>;
160
145
  /**
161
- * For OIDC based providers, this is the name of the claim to use.
146
+ * Claim Name
162
147
  */
163
148
  claimName?: pulumi.Input<string>;
164
- /**
165
- * Key/value attributes to add to the identity provider mapper model that is persisted to Keycloak. This can be used to extend the base model with new Keycloak features.
166
- */
167
149
  extraConfig?: pulumi.Input<{
168
150
  [key: string]: any;
169
151
  }>;
170
152
  /**
171
- * The alias of the associated identity provider.
153
+ * IDP Alias
172
154
  */
173
155
  identityProviderAlias: pulumi.Input<string>;
174
156
  /**
175
- * The name of the mapper.
157
+ * IDP Mapper Name
176
158
  */
177
159
  name?: pulumi.Input<string>;
178
160
  /**
179
- * The name of the realm.
161
+ * Realm Name
180
162
  */
181
163
  realm: pulumi.Input<string>;
182
164
  /**
183
- * The user attribute or property name to store the mapped result.
165
+ * User Attribute
184
166
  */
185
167
  userAttribute: pulumi.Input<string>;
186
168
  }
@@ -6,52 +6,43 @@ exports.AttributeImporterIdentityProviderMapper = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
- * Allows for creating and managing an attribute importer identity provider mapper within Keycloak.
9
+ * ## # keycloak.AttributeImporterIdentityProviderMapper
10
10
  *
11
- * The attribute importer mapper can be used to map attributes from externally defined users to attributes or properties of the imported Keycloak user:
12
- * - For the OIDC identity provider, this will map a claim on the ID or access token to an attribute for the imported Keycloak user.
13
- * - For the SAML identity provider, this will map a SAML attribute found within the assertion to an attribute for the imported Keycloak user.
14
- * - For social identity providers, this will map a JSON field from the user profile to an attribute for the imported Keycloak user.
11
+ * Allows to create and manage identity provider mappers within Keycloak.
15
12
  *
16
- * > If you are using Keycloak 10 or higher, you will need to specify the `extraConfig` argument in order to define a `syncMode` for the mapper.
17
- *
18
- * ## Example Usage
13
+ * ### Example Usage
19
14
  *
20
15
  * ```typescript
21
16
  * import * as pulumi from "@pulumi/pulumi";
22
17
  * import * as keycloak from "@pulumi/keycloak";
23
18
  *
24
- * const realm = new keycloak.Realm("realm", {
19
+ * const testMapper = new keycloak.AttributeImporterIdentityProviderMapper("test_mapper", {
25
20
  * realm: "my-realm",
26
- * enabled: true,
27
- * });
28
- * const oidcIdentityProvider = new keycloak.oidc.IdentityProvider("oidcIdentityProvider", {
29
- * realm: realm.id,
30
- * alias: "oidc",
31
- * authorizationUrl: "https://example.com/auth",
32
- * tokenUrl: "https://example.com/token",
33
- * clientId: "example_id",
34
- * clientSecret: "example_token",
35
- * defaultScopes: "openid random profile",
36
- * });
37
- * const oidcAttributeImporterIdentityProviderMapper = new keycloak.AttributeImporterIdentityProviderMapper("oidcAttributeImporterIdentityProviderMapper", {
38
- * realm: realm.id,
39
- * claimName: "my-email-claim",
40
- * identityProviderAlias: oidcIdentityProvider.alias,
41
- * userAttribute: "email",
42
- * extraConfig: {
43
- * syncMode: "INHERIT",
44
- * },
21
+ * name: "my-mapper",
22
+ * identityProviderAlias: "idp_alias",
23
+ * attributeName: "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/surname",
24
+ * userAttribute: "lastName",
45
25
  * });
46
26
  * ```
47
27
  *
48
- * ## Import
28
+ * ### Argument Reference
49
29
  *
50
- * Identity provider mappers can be imported using the format `{{realm_id}}/{{idp_alias}}/{{idp_mapper_id}}`, where `idp_alias` is the identity provider alias, and `idp_mapper_id` is the unique ID that Keycloak assigns to the mapper upon creation. This value can be found in the URI when editing this mapper in the GUI, and is typically a GUID. Examplebash
30
+ * The following arguments are supported:
51
31
  *
52
- * ```sh
53
- * $ pulumi import keycloak:index/attributeImporterIdentityProviderMapper:AttributeImporterIdentityProviderMapper test_mapper my-realm/my-mapper/f446db98-7133-4e30-b18a-3d28fde7ca1b
54
- * ```
32
+ * - `realm` - (Required) The name of the realm.
33
+ * - `name` - (Required) The name of the mapper.
34
+ * - `identityProviderAlias` - (Required) The alias of the associated identity provider.
35
+ * - `userAttribute` - (Required) The user attribute name to store SAML attribute.
36
+ * - `attributeName` - (Optional) The Name of attribute to search for in assertion. You can leave this blank and specify a friendly name instead.
37
+ * - `attributeFriendlyName` - (Optional) The friendly name of attribute to search for in assertion. You can leave this blank and specify an attribute name instead.
38
+ * - `claimName` - (Optional) The claim name.
39
+ *
40
+ * ### Import
41
+ *
42
+ * Identity provider mapper can be imported using the format `{{realm_id}}/{{idp_alias}}/{{idp_mapper_id}}`, where `idpAlias` is the identity provider alias, and `idpMapperId` is the unique ID that Keycloak
43
+ * assigns to the mapper upon creation. This value can be found in the URI when editing this mapper in the GUI, and is typically a GUID.
44
+ *
45
+ * Example:
55
46
  */
56
47
  class AttributeImporterIdentityProviderMapper extends pulumi.CustomResource {
57
48
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"attributeImporterIdentityProviderMapper.js","sourceRoot":"","sources":["../attributeImporterIdentityProviderMapper.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+CG;AACH,MAAa,uCAAwC,SAAQ,MAAM,CAAC,cAAc;IAC9E;;;;;;;;OAQG;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cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,eAAe,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;SAC3E;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,uCAAuC,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5F,CAAC;;AArGL,0FAsGC;AAxFG,gBAAgB;AACO,oDAAY,GAAG,gGAAgG,CAAC"}
@@ -14,7 +14,7 @@ import * as pulumi from "@pulumi/pulumi";
14
14
  * realm: "my-realm",
15
15
  * enabled: true,
16
16
  * });
17
- * const oidcIdentityProvider = new keycloak.oidc.IdentityProvider("oidcIdentityProvider", {
17
+ * const oidc = new keycloak.oidc.IdentityProvider("oidc", {
18
18
  * realm: realm.id,
19
19
  * alias: "oidc",
20
20
  * authorizationUrl: "https://example.com/auth",
@@ -23,13 +23,15 @@ import * as pulumi from "@pulumi/pulumi";
23
23
  * clientSecret: "example_token",
24
24
  * defaultScopes: "openid random profile",
25
25
  * });
26
- * const realmRole = new keycloak.Role("realmRole", {
26
+ * const realmRole = new keycloak.Role("realm_role", {
27
27
  * realmId: realm.id,
28
+ * name: "my-realm-role",
28
29
  * description: "My Realm Role",
29
30
  * });
30
- * const oidcAttributeToRoleIdentityMapper = new keycloak.AttributeToRoleIdentityMapper("oidcAttributeToRoleIdentityMapper", {
31
+ * const oidcAttributeToRoleIdentityMapper = new keycloak.AttributeToRoleIdentityMapper("oidc", {
31
32
  * realm: realm.id,
32
- * identityProviderAlias: oidcIdentityProvider.alias,
33
+ * name: "role-attribute",
34
+ * identityProviderAlias: oidc.alias,
33
35
  * role: "my-realm-role",
34
36
  * claimName: "my-claim",
35
37
  * claimValue: "my-value",
@@ -41,10 +43,16 @@ import * as pulumi from "@pulumi/pulumi";
41
43
  *
42
44
  * ## Import
43
45
  *
44
- * Identity provider mappers can be imported using the format `{{realm_id}}/{{idp_alias}}/{{idp_mapper_id}}`, where `idp_alias` is the identity provider alias, and `idp_mapper_id` is the unique ID that Keycloak assigns to the mapper upon creation. This value can be found in the URI when editing this mapper in the GUI, and is typically a GUID. Examplebash
46
+ * Identity provider mappers can be imported using the format `{{realm_id}}/{{idp_alias}}/{{idp_mapper_id}}`, where `idp_alias` is the identity provider alias, and `idp_mapper_id` is the unique ID that Keycloak
47
+ *
48
+ * assigns to the mapper upon creation. This value can be found in the URI when editing this mapper in the GUI, and is typically a GUID.
49
+ *
50
+ * Example:
51
+ *
52
+ * bash
45
53
  *
46
54
  * ```sh
47
- * $ pulumi import keycloak:index/attributeToRoleIdentityMapper:AttributeToRoleIdentityMapper test_mapper my-realm/my-mapper/f446db98-7133-4e30-b18a-3d28fde7ca1b
55
+ * $ pulumi import keycloak:index/attributeToRoleIdentityMapper:AttributeToRoleIdentityMapper test_mapper my-realm/my-mapper/f446db98-7133-4e30-b18a-3d28fde7ca1b
48
56
  * ```
49
57
  */
50
58
  export declare class AttributeToRoleIdentityMapper extends pulumi.CustomResource {
@@ -20,7 +20,7 @@ const utilities = require("./utilities");
20
20
  * realm: "my-realm",
21
21
  * enabled: true,
22
22
  * });
23
- * const oidcIdentityProvider = new keycloak.oidc.IdentityProvider("oidcIdentityProvider", {
23
+ * const oidc = new keycloak.oidc.IdentityProvider("oidc", {
24
24
  * realm: realm.id,
25
25
  * alias: "oidc",
26
26
  * authorizationUrl: "https://example.com/auth",
@@ -29,13 +29,15 @@ const utilities = require("./utilities");
29
29
  * clientSecret: "example_token",
30
30
  * defaultScopes: "openid random profile",
31
31
  * });
32
- * const realmRole = new keycloak.Role("realmRole", {
32
+ * const realmRole = new keycloak.Role("realm_role", {
33
33
  * realmId: realm.id,
34
+ * name: "my-realm-role",
34
35
  * description: "My Realm Role",
35
36
  * });
36
- * const oidcAttributeToRoleIdentityMapper = new keycloak.AttributeToRoleIdentityMapper("oidcAttributeToRoleIdentityMapper", {
37
+ * const oidcAttributeToRoleIdentityMapper = new keycloak.AttributeToRoleIdentityMapper("oidc", {
37
38
  * realm: realm.id,
38
- * identityProviderAlias: oidcIdentityProvider.alias,
39
+ * name: "role-attribute",
40
+ * identityProviderAlias: oidc.alias,
39
41
  * role: "my-realm-role",
40
42
  * claimName: "my-claim",
41
43
  * claimValue: "my-value",
@@ -47,10 +49,16 @@ const utilities = require("./utilities");
47
49
  *
48
50
  * ## Import
49
51
  *
50
- * Identity provider mappers can be imported using the format `{{realm_id}}/{{idp_alias}}/{{idp_mapper_id}}`, where `idp_alias` is the identity provider alias, and `idp_mapper_id` is the unique ID that Keycloak assigns to the mapper upon creation. This value can be found in the URI when editing this mapper in the GUI, and is typically a GUID. Examplebash
52
+ * Identity provider mappers can be imported using the format `{{realm_id}}/{{idp_alias}}/{{idp_mapper_id}}`, where `idp_alias` is the identity provider alias, and `idp_mapper_id` is the unique ID that Keycloak
53
+ *
54
+ * assigns to the mapper upon creation. This value can be found in the URI when editing this mapper in the GUI, and is typically a GUID.
55
+ *
56
+ * Example:
57
+ *
58
+ * bash
51
59
  *
52
60
  * ```sh
53
- * $ pulumi import keycloak:index/attributeToRoleIdentityMapper:AttributeToRoleIdentityMapper test_mapper my-realm/my-mapper/f446db98-7133-4e30-b18a-3d28fde7ca1b
61
+ * $ pulumi import keycloak:index/attributeToRoleIdentityMapper:AttributeToRoleIdentityMapper test_mapper my-realm/my-mapper/f446db98-7133-4e30-b18a-3d28fde7ca1b
54
62
  * ```
55
63
  */
56
64
  class AttributeToRoleIdentityMapper extends pulumi.CustomResource {
@@ -1 +1 @@
1
- {"version":3,"file":"attributeToRoleIdentityMapper.js","sourceRoot":"","sources":["../attributeToRoleIdentityMapper.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AA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AAI,CAAC,CAAC,CAAC,SAAS,CAAC;SACzD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,6BAA6B,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAClF,CAAC;;AApHL,sEAqHC;AAvGG,gBAAgB;AACO,0CAAY,GAAG,4EAA4E,CAAC"}
@@ -29,14 +29,14 @@ import * as pulumi from "@pulumi/pulumi";
29
29
  * alias: "my-flow-alias",
30
30
  * });
31
31
  * // first execution
32
- * const executionOne = new keycloak.authentication.Execution("executionOne", {
32
+ * const executionOne = new keycloak.authentication.Execution("execution_one", {
33
33
  * realmId: realm.id,
34
34
  * parentFlowAlias: flow.alias,
35
35
  * authenticator: "auth-cookie",
36
36
  * requirement: "ALTERNATIVE",
37
37
  * });
38
38
  * // second execution
39
- * const executionTwo = new keycloak.authentication.Execution("executionTwo", {
39
+ * const executionTwo = new keycloak.authentication.Execution("execution_two", {
40
40
  * realmId: realm.id,
41
41
  * parentFlowAlias: flow.alias,
42
42
  * authenticator: "identity-provider-redirector",
@@ -44,7 +44,7 @@ import * as pulumi from "@pulumi/pulumi";
44
44
  * }, {
45
45
  * dependsOn: [executionOne],
46
46
  * });
47
- * const browserAuthenticationBinding = new keycloak.authentication.Bindings("browserAuthenticationBinding", {
47
+ * const browserAuthenticationBinding = new keycloak.authentication.Bindings("browser_authentication_binding", {
48
48
  * realmId: realm.id,
49
49
  * browserFlow: flow.alias,
50
50
  * });
@@ -35,14 +35,14 @@ const utilities = require("../utilities");
35
35
  * alias: "my-flow-alias",
36
36
  * });
37
37
  * // first execution
38
- * const executionOne = new keycloak.authentication.Execution("executionOne", {
38
+ * const executionOne = new keycloak.authentication.Execution("execution_one", {
39
39
  * realmId: realm.id,
40
40
  * parentFlowAlias: flow.alias,
41
41
  * authenticator: "auth-cookie",
42
42
  * requirement: "ALTERNATIVE",
43
43
  * });
44
44
  * // second execution
45
- * const executionTwo = new keycloak.authentication.Execution("executionTwo", {
45
+ * const executionTwo = new keycloak.authentication.Execution("execution_two", {
46
46
  * realmId: realm.id,
47
47
  * parentFlowAlias: flow.alias,
48
48
  * authenticator: "identity-provider-redirector",
@@ -50,7 +50,7 @@ const utilities = require("../utilities");
50
50
  * }, {
51
51
  * dependsOn: [executionOne],
52
52
  * });
53
- * const browserAuthenticationBinding = new keycloak.authentication.Bindings("browserAuthenticationBinding", {
53
+ * const browserAuthenticationBinding = new keycloak.authentication.Bindings("browser_authentication_binding", {
54
54
  * realmId: realm.id,
55
55
  * browserFlow: flow.alias,
56
56
  * });
@@ -22,14 +22,14 @@ import * as pulumi from "@pulumi/pulumi";
22
22
  * alias: "my-flow-alias",
23
23
  * });
24
24
  * // first execution
25
- * const executionOne = new keycloak.authentication.Execution("executionOne", {
25
+ * const executionOne = new keycloak.authentication.Execution("execution_one", {
26
26
  * realmId: realm.id,
27
27
  * parentFlowAlias: flow.alias,
28
28
  * authenticator: "auth-cookie",
29
29
  * requirement: "ALTERNATIVE",
30
30
  * });
31
31
  * // second execution
32
- * const executionTwo = new keycloak.authentication.Execution("executionTwo", {
32
+ * const executionTwo = new keycloak.authentication.Execution("execution_two", {
33
33
  * realmId: realm.id,
34
34
  * parentFlowAlias: flow.alias,
35
35
  * authenticator: "identity-provider-redirector",
@@ -41,10 +41,14 @@ import * as pulumi from "@pulumi/pulumi";
41
41
  *
42
42
  * ## Import
43
43
  *
44
- * Authentication executions can be imported using the formats`{{realmId}}/{{parentFlowAlias}}/{{authenticationExecutionId}}`. Examplebash
44
+ * Authentication executions can be imported using the formats: `{{realmId}}/{{parentFlowAlias}}/{{authenticationExecutionId}}`.
45
+ *
46
+ * Example:
47
+ *
48
+ * bash
45
49
  *
46
50
  * ```sh
47
- * $ pulumi import keycloak:authentication/execution:Execution execution_one my-realm/my-flow-alias/30559fcf-6fb8-45ea-8c46-2b86f46ebc17
51
+ * $ pulumi import keycloak:authentication/execution:Execution execution_one my-realm/my-flow-alias/30559fcf-6fb8-45ea-8c46-2b86f46ebc17
48
52
  * ```
49
53
  */
50
54
  export declare class Execution extends pulumi.CustomResource {
@@ -28,14 +28,14 @@ const utilities = require("../utilities");
28
28
  * alias: "my-flow-alias",
29
29
  * });
30
30
  * // first execution
31
- * const executionOne = new keycloak.authentication.Execution("executionOne", {
31
+ * const executionOne = new keycloak.authentication.Execution("execution_one", {
32
32
  * realmId: realm.id,
33
33
  * parentFlowAlias: flow.alias,
34
34
  * authenticator: "auth-cookie",
35
35
  * requirement: "ALTERNATIVE",
36
36
  * });
37
37
  * // second execution
38
- * const executionTwo = new keycloak.authentication.Execution("executionTwo", {
38
+ * const executionTwo = new keycloak.authentication.Execution("execution_two", {
39
39
  * realmId: realm.id,
40
40
  * parentFlowAlias: flow.alias,
41
41
  * authenticator: "identity-provider-redirector",
@@ -47,10 +47,14 @@ const utilities = require("../utilities");
47
47
  *
48
48
  * ## Import
49
49
  *
50
- * Authentication executions can be imported using the formats`{{realmId}}/{{parentFlowAlias}}/{{authenticationExecutionId}}`. Examplebash
50
+ * Authentication executions can be imported using the formats: `{{realmId}}/{{parentFlowAlias}}/{{authenticationExecutionId}}`.
51
+ *
52
+ * Example:
53
+ *
54
+ * bash
51
55
  *
52
56
  * ```sh
53
- * $ pulumi import keycloak:authentication/execution:Execution execution_one my-realm/my-flow-alias/30559fcf-6fb8-45ea-8c46-2b86f46ebc17
57
+ * $ pulumi import keycloak:authentication/execution:Execution execution_one my-realm/my-flow-alias/30559fcf-6fb8-45ea-8c46-2b86f46ebc17
54
58
  * ```
55
59
  */
56
60
  class Execution extends pulumi.CustomResource {
@@ -1 +1 @@
1
- {"version":3,"file":"execution.js","sourceRoot":"","sources":["../../authentication/execution.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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-34,10 +34,18 @@ import * as pulumi from "@pulumi/pulumi";
34
34
  *
35
35
  * ## Import
36
36
  *
37
- * Configurations can be imported using the format `{{realm}}/{{authenticationExecutionId}}/{{authenticationExecutionConfigId}}`. If the `authenticationExecutionId` is incorrect, the import will still be successful. A subsequent apply will change the `authenticationExecutionId` to the correct one, which causes the configuration to be replaced. Examplebash
37
+ * Configurations can be imported using the format `{{realm}}/{{authenticationExecutionId}}/{{authenticationExecutionConfigId}}`.
38
+ *
39
+ * If the `authenticationExecutionId` is incorrect, the import will still be successful.
40
+ *
41
+ * A subsequent apply will change the `authenticationExecutionId` to the correct one, which causes the configuration to be replaced.
42
+ *
43
+ * Example:
44
+ *
45
+ * bash
38
46
  *
39
47
  * ```sh
40
- * $ pulumi import keycloak:authentication/executionConfig:ExecutionConfig config my-realm/be081463-ddbf-4b42-9eff-9c97886f24ff/30559fcf-6fb8-45ea-8c46-2b86f46ebc17
48
+ * $ pulumi import keycloak:authentication/executionConfig:ExecutionConfig config my-realm/be081463-ddbf-4b42-9eff-9c97886f24ff/30559fcf-6fb8-45ea-8c46-2b86f46ebc17
41
49
  * ```
42
50
  */
43
51
  export declare class ExecutionConfig extends pulumi.CustomResource {
@@ -40,10 +40,18 @@ const utilities = require("../utilities");
40
40
  *
41
41
  * ## Import
42
42
  *
43
- * Configurations can be imported using the format `{{realm}}/{{authenticationExecutionId}}/{{authenticationExecutionConfigId}}`. If the `authenticationExecutionId` is incorrect, the import will still be successful. A subsequent apply will change the `authenticationExecutionId` to the correct one, which causes the configuration to be replaced. Examplebash
43
+ * Configurations can be imported using the format `{{realm}}/{{authenticationExecutionId}}/{{authenticationExecutionConfigId}}`.
44
+ *
45
+ * If the `authenticationExecutionId` is incorrect, the import will still be successful.
46
+ *
47
+ * A subsequent apply will change the `authenticationExecutionId` to the correct one, which causes the configuration to be replaced.
48
+ *
49
+ * Example:
50
+ *
51
+ * bash
44
52
  *
45
53
  * ```sh
46
- * $ pulumi import keycloak:authentication/executionConfig:ExecutionConfig config my-realm/be081463-ddbf-4b42-9eff-9c97886f24ff/30559fcf-6fb8-45ea-8c46-2b86f46ebc17
54
+ * $ pulumi import keycloak:authentication/executionConfig:ExecutionConfig config my-realm/be081463-ddbf-4b42-9eff-9c97886f24ff/30559fcf-6fb8-45ea-8c46-2b86f46ebc17
47
55
  * ```
48
56
  */
49
57
  class ExecutionConfig extends pulumi.CustomResource {
@@ -1 +1 @@
1
- {"version":3,"file":"executionConfig.js","sourceRoot":"","sources":["../../authentication/executionConfig.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AACH,MAAa,eAAgB,SAAQ,MAAM,CAAC,cAAc;IACtD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA4B,EAAE,IAAmC;QAC1H,OAAO,IAAI,eAAe,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACtE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,eAAe,CAAC,YAAY,CAAC;IAChE,CAAC;IA2BD,YAAY,IAAY,EAAE,WAAwD,EAAE,IAAmC;QACnH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA+C,CAAC;YAC9D,cAAc,CAAC,OAAO,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CA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