@pulumi/keycloak 5.3.0 → 5.3.1
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.
- package/attributeImporterIdentityProviderMapper.d.ts +46 -63
- package/attributeImporterIdentityProviderMapper.js +25 -33
- package/attributeImporterIdentityProviderMapper.js.map +1 -1
- package/attributeToRoleIdentityMapper.d.ts +10 -2
- package/attributeToRoleIdentityMapper.js +10 -2
- package/attributeToRoleIdentityMapper.js.map +1 -1
- package/authentication/bindings.d.ts +2 -0
- package/authentication/bindings.js +2 -0
- package/authentication/bindings.js.map +1 -1
- package/authentication/execution.d.ts +8 -2
- package/authentication/execution.js +8 -2
- package/authentication/execution.js.map +1 -1
- package/authentication/executionConfig.d.ts +12 -2
- package/authentication/executionConfig.js +12 -2
- package/authentication/executionConfig.js.map +1 -1
- package/authentication/flow.d.ts +16 -2
- package/authentication/flow.js +16 -2
- package/authentication/flow.js.map +1 -1
- package/authentication/subflow.d.ts +18 -2
- package/authentication/subflow.js +18 -2
- package/authentication/subflow.js.map +1 -1
- package/customIdentityProviderMapping.d.ts +13 -5
- package/customIdentityProviderMapping.js +10 -2
- package/customIdentityProviderMapping.js.map +1 -1
- package/customUserFederation.d.ts +51 -50
- package/customUserFederation.js +27 -14
- package/customUserFederation.js.map +1 -1
- package/defaultGroups.d.ts +19 -27
- package/defaultGroups.js +19 -9
- package/defaultGroups.js.map +1 -1
- package/defaultRoles.d.ts +13 -2
- package/defaultRoles.js +13 -2
- package/defaultRoles.js.map +1 -1
- package/genericClientProtocolMapper.d.ts +40 -37
- package/genericClientProtocolMapper.js +25 -13
- package/genericClientProtocolMapper.js.map +1 -1
- package/genericClientRoleMapper.d.ts +22 -2
- package/genericClientRoleMapper.js +22 -2
- package/genericClientRoleMapper.js.map +1 -1
- package/genericProtocolMapper.d.ts +8 -2
- package/genericProtocolMapper.js +8 -2
- package/genericProtocolMapper.js.map +1 -1
- package/genericRoleMapper.d.ts +22 -2
- package/genericRoleMapper.js +22 -2
- package/genericRoleMapper.js.map +1 -1
- package/getAuthenticationExecution.d.ts +4 -0
- package/getAuthenticationExecution.js +4 -0
- package/getAuthenticationExecution.js.map +1 -1
- package/getAuthenticationFlow.d.ts +4 -0
- package/getAuthenticationFlow.js +4 -0
- package/getAuthenticationFlow.js.map +1 -1
- package/getClientDescriptionConverter.d.ts +4 -0
- package/getClientDescriptionConverter.js +4 -0
- package/getClientDescriptionConverter.js.map +1 -1
- package/getGroup.d.ts +4 -62
- package/getGroup.js +4 -50
- package/getGroup.js.map +1 -1
- package/getRealm.d.ts +32 -10
- package/getRealm.js +32 -4
- package/getRealm.js.map +1 -1
- package/getRealmKeys.d.ts +8 -28
- package/getRealmKeys.js +8 -4
- package/getRealmKeys.js.map +1 -1
- package/getRole.d.ts +4 -65
- package/getRole.js +4 -44
- package/getRole.js.map +1 -1
- package/getUser.d.ts +4 -0
- package/getUser.js +4 -0
- package/getUser.js.map +1 -1
- package/getUserRealmRoles.d.ts +4 -0
- package/getUserRealmRoles.js +4 -0
- package/getUserRealmRoles.js.map +1 -1
- package/group.d.ts +35 -58
- package/group.js +35 -16
- package/group.js.map +1 -1
- package/groupMemberships.d.ts +27 -43
- package/groupMemberships.js +27 -16
- package/groupMemberships.js.map +1 -1
- package/groupPermissions.d.ts +13 -0
- package/groupPermissions.js +13 -0
- package/groupPermissions.js.map +1 -1
- package/groupRoles.d.ts +32 -91
- package/groupRoles.js +32 -55
- package/groupRoles.js.map +1 -1
- package/hardcodedAttributeIdentityProviderMapper.d.ts +2 -0
- package/hardcodedAttributeIdentityProviderMapper.js +2 -0
- package/hardcodedAttributeIdentityProviderMapper.js.map +1 -1
- package/hardcodedRoleIdentityMapper.d.ts +2 -0
- package/hardcodedRoleIdentityMapper.js +2 -0
- package/hardcodedRoleIdentityMapper.js.map +1 -1
- package/identityProviderTokenExchangeScopePermission.d.ts +10 -2
- package/identityProviderTokenExchangeScopePermission.js +10 -2
- package/identityProviderTokenExchangeScopePermission.js.map +1 -1
- package/ldap/customMapper.d.ts +10 -2
- package/ldap/customMapper.js +10 -2
- package/ldap/customMapper.js.map +1 -1
- package/ldap/fullNameMapper.d.ts +41 -54
- package/ldap/fullNameMapper.js +32 -18
- package/ldap/fullNameMapper.js.map +1 -1
- package/ldap/groupMapper.d.ts +55 -164
- package/ldap/groupMapper.js +46 -20
- package/ldap/groupMapper.js.map +1 -1
- package/ldap/hardcodedAttributeMapper.d.ts +10 -2
- package/ldap/hardcodedAttributeMapper.js +10 -2
- package/ldap/hardcodedAttributeMapper.js.map +1 -1
- package/ldap/hardcodedGroupMapper.d.ts +10 -2
- package/ldap/hardcodedGroupMapper.js +10 -2
- package/ldap/hardcodedGroupMapper.js.map +1 -1
- package/ldap/hardcodedRoleMapper.d.ts +29 -64
- package/ldap/hardcodedRoleMapper.js +17 -52
- package/ldap/hardcodedRoleMapper.js.map +1 -1
- package/ldap/msadLdsUserAccountControlMapper.d.ts +10 -2
- package/ldap/msadLdsUserAccountControlMapper.js +10 -2
- package/ldap/msadLdsUserAccountControlMapper.js.map +1 -1
- package/ldap/msadUserAccountControlMapper.d.ts +34 -32
- package/ldap/msadUserAccountControlMapper.js +25 -14
- package/ldap/msadUserAccountControlMapper.js.map +1 -1
- package/ldap/roleMapper.d.ts +10 -2
- package/ldap/roleMapper.js +10 -2
- package/ldap/roleMapper.js.map +1 -1
- package/ldap/userAttributeMapper.d.ts +60 -45
- package/ldap/userAttributeMapper.js +30 -15
- package/ldap/userAttributeMapper.js.map +1 -1
- package/ldap/userFederation.d.ts +125 -95
- package/ldap/userFederation.js +53 -20
- package/ldap/userFederation.js.map +1 -1
- package/oidc/googleIdentityProvider.d.ts +8 -2
- package/oidc/googleIdentityProvider.js +8 -2
- package/oidc/googleIdentityProvider.js.map +1 -1
- package/oidc/identityProvider.d.ts +8 -2
- package/oidc/identityProvider.js +8 -2
- package/oidc/identityProvider.js.map +1 -1
- package/openid/audienceProtocolMapper.d.ts +62 -45
- package/openid/audienceProtocolMapper.js +38 -21
- package/openid/audienceProtocolMapper.js.map +1 -1
- package/openid/audienceResolveProtocolMapper.d.ts +17 -3
- package/openid/audienceResolveProtocolMapper.js +17 -3
- package/openid/audienceResolveProtocolMapper.js.map +1 -1
- package/openid/audienceResolveProtocolMappter.d.ts +17 -3
- package/openid/audienceResolveProtocolMappter.js +17 -3
- package/openid/audienceResolveProtocolMappter.js.map +1 -1
- package/openid/client.d.ts +48 -431
- package/openid/client.js +48 -14
- package/openid/client.js.map +1 -1
- package/openid/clientAuthorizationPermission.d.ts +6 -2
- package/openid/clientAuthorizationPermission.js +6 -2
- package/openid/clientAuthorizationPermission.js.map +1 -1
- package/openid/clientDefaultScopes.d.ts +17 -33
- package/openid/clientDefaultScopes.js +17 -6
- package/openid/clientDefaultScopes.js.map +1 -1
- package/openid/clientOptionalScopes.d.ts +17 -34
- package/openid/clientOptionalScopes.js +17 -7
- package/openid/clientOptionalScopes.js.map +1 -1
- package/openid/clientPolicy.d.ts +2 -0
- package/openid/clientPolicy.js +2 -0
- package/openid/clientPolicy.js.map +1 -1
- package/openid/clientScope.d.ts +27 -67
- package/openid/clientScope.js +27 -13
- package/openid/clientScope.js.map +1 -1
- package/openid/clientServiceAccountRealmRole.d.ts +8 -2
- package/openid/clientServiceAccountRealmRole.js +8 -2
- package/openid/clientServiceAccountRealmRole.js.map +1 -1
- package/openid/clientServiceAccountRole.d.ts +8 -2
- package/openid/clientServiceAccountRole.js +8 -2
- package/openid/clientServiceAccountRole.js.map +1 -1
- package/openid/fullNameProtocolMapper.d.ts +49 -61
- package/openid/fullNameProtocolMapper.js +37 -22
- package/openid/fullNameProtocolMapper.js.map +1 -1
- package/openid/getClient.d.ts +32 -14
- package/openid/getClient.js +32 -2
- package/openid/getClient.js.map +1 -1
- package/openid/getClientAuthorizationPolicy.d.ts +4 -0
- package/openid/getClientAuthorizationPolicy.js +4 -0
- package/openid/getClientAuthorizationPolicy.js.map +1 -1
- package/openid/getClientScope.d.ts +4 -0
- package/openid/getClientScope.js +4 -0
- package/openid/getClientScope.js.map +1 -1
- package/openid/getClientServiceAccountUser.d.ts +4 -0
- package/openid/getClientServiceAccountUser.js +4 -0
- package/openid/getClientServiceAccountUser.js.map +1 -1
- package/openid/groupMembershipProtocolMapper.d.ts +53 -81
- package/openid/groupMembershipProtocolMapper.js +41 -24
- package/openid/groupMembershipProtocolMapper.js.map +1 -1
- package/openid/hardcodedClaimProtocolMapper.d.ts +66 -66
- package/openid/hardcodedClaimProtocolMapper.js +42 -24
- package/openid/hardcodedClaimProtocolMapper.js.map +1 -1
- package/openid/hardcodedRoleProtocolMapper.d.ts +48 -43
- package/openid/hardcodedRoleProtocolMapper.js +36 -22
- package/openid/hardcodedRoleProtocolMapper.js.map +1 -1
- package/openid/scriptProtocolMapper.d.ts +17 -3
- package/openid/scriptProtocolMapper.js +17 -3
- package/openid/scriptProtocolMapper.js.map +1 -1
- package/openid/userAttributeProtocolMapper.d.ts +73 -72
- package/openid/userAttributeProtocolMapper.js +43 -24
- package/openid/userAttributeProtocolMapper.js.map +1 -1
- package/openid/userClientRoleProtocolMapper.d.ts +17 -3
- package/openid/userClientRoleProtocolMapper.js +17 -3
- package/openid/userClientRoleProtocolMapper.js.map +1 -1
- package/openid/userPropertyProtocolMapper.d.ts +66 -67
- package/openid/userPropertyProtocolMapper.js +42 -25
- package/openid/userPropertyProtocolMapper.js.map +1 -1
- package/openid/userRealmRoleProtocolMapper.d.ts +73 -63
- package/openid/userRealmRoleProtocolMapper.js +43 -24
- package/openid/userRealmRoleProtocolMapper.js.map +1 -1
- package/openid/userSessionNoteProtocolMapper.d.ts +17 -3
- package/openid/userSessionNoteProtocolMapper.js +17 -3
- package/openid/userSessionNoteProtocolMapper.js.map +1 -1
- package/package.json +1 -1
- package/realm.d.ts +30 -509
- package/realm.js +0 -83
- package/realm.js.map +1 -1
- package/realmEvents.d.ts +20 -74
- package/realmEvents.js +20 -11
- package/realmEvents.js.map +1 -1
- package/realmKeystoreAesGenerated.d.ts +8 -2
- package/realmKeystoreAesGenerated.js +8 -2
- package/realmKeystoreAesGenerated.js.map +1 -1
- package/realmKeystoreEcdsaGenerated.d.ts +8 -2
- package/realmKeystoreEcdsaGenerated.js +8 -2
- package/realmKeystoreEcdsaGenerated.js.map +1 -1
- package/realmKeystoreHmacGenerated.d.ts +8 -2
- package/realmKeystoreHmacGenerated.js +8 -2
- package/realmKeystoreHmacGenerated.js.map +1 -1
- package/realmKeystoreJavaGenerated.d.ts +8 -2
- package/realmKeystoreJavaGenerated.js +8 -2
- package/realmKeystoreJavaGenerated.js.map +1 -1
- package/realmKeystoreRsa.d.ts +6 -2
- package/realmKeystoreRsa.js +6 -2
- package/realmKeystoreRsa.js.map +1 -1
- package/realmKeystoreRsaGenerated.d.ts +8 -2
- package/realmKeystoreRsaGenerated.js +8 -2
- package/realmKeystoreRsaGenerated.js.map +1 -1
- package/realmUserProfile.d.ts +2 -0
- package/realmUserProfile.js +2 -0
- package/realmUserProfile.js.map +1 -1
- package/requiredAction.d.ts +8 -2
- package/requiredAction.js +8 -2
- package/requiredAction.js.map +1 -1
- package/role.d.ts +58 -125
- package/role.js +58 -71
- package/role.js.map +1 -1
- package/saml/client.d.ts +46 -327
- package/saml/client.js +46 -12
- package/saml/client.js.map +1 -1
- package/saml/clientDefaultScope.d.ts +5 -1
- package/saml/clientDefaultScope.js +5 -1
- package/saml/clientDefaultScope.js.map +1 -1
- package/saml/clientScope.d.ts +10 -2
- package/saml/clientScope.js +10 -2
- package/saml/clientScope.js.map +1 -1
- package/saml/getClient.d.ts +4 -0
- package/saml/getClient.js +4 -0
- package/saml/getClient.js.map +1 -1
- package/saml/getClientInstallationProvider.d.ts +4 -0
- package/saml/getClientInstallationProvider.js +4 -0
- package/saml/getClientInstallationProvider.js.map +1 -1
- package/saml/identityProvider.d.ts +163 -117
- package/saml/identityProvider.js +52 -21
- package/saml/identityProvider.js.map +1 -1
- package/saml/scriptProtocolMapper.d.ts +13 -3
- package/saml/scriptProtocolMapper.js +13 -3
- package/saml/scriptProtocolMapper.js.map +1 -1
- package/saml/userAttributeProtocolMapper.d.ts +32 -91
- package/saml/userAttributeProtocolMapper.js +32 -19
- package/saml/userAttributeProtocolMapper.js.map +1 -1
- package/saml/userPropertyProtocolMapper.d.ts +32 -91
- package/saml/userPropertyProtocolMapper.js +32 -19
- package/saml/userPropertyProtocolMapper.js.map +1 -1
- package/types/input.d.ts +74 -183
- package/types/output.d.ts +44 -207
- package/user.d.ts +36 -112
- package/user.js +36 -22
- package/user.js.map +1 -1
- package/userGroups.d.ts +9 -1
- package/userGroups.js +9 -1
- package/userGroups.js.map +1 -1
- package/userRoles.d.ts +11 -2
- package/userRoles.js +11 -2
- package/userRoles.js.map +1 -1
- package/userTemplateImporterIdentityProviderMapper.d.ts +10 -2
- package/userTemplateImporterIdentityProviderMapper.js +10 -2
- package/userTemplateImporterIdentityProviderMapper.js.map +1 -1
- package/usersPermissions.d.ts +10 -25
- package/usersPermissions.js +10 -25
- package/usersPermissions.js.map +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"genericProtocolMapper.js","sourceRoot":"","sources":["../genericProtocolMapper.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"genericProtocolMapper.js","sourceRoot":"","sources":["../genericProtocolMapper.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmDG;AACH,MAAa,qBAAsB,SAAQ,MAAM,CAAC,cAAc;IAC5D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAkC,EAAE,IAAmC;QAChI,OAAO,IAAI,qBAAqB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE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AC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1E,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;SAC/D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,qBAAqB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC1E,CAAC;;AArGL,sDAsGC;AAxFG,gBAAgB;AACO,kCAAY,GAAG,4DAA4D,CAAC"}
|
package/genericRoleMapper.d.ts
CHANGED
|
@@ -7,8 +7,10 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
7
7
|
* inside an access token for a client.
|
|
8
8
|
*
|
|
9
9
|
* ## Example Usage
|
|
10
|
+
*
|
|
10
11
|
* ### Realm Role To Client)
|
|
11
12
|
*
|
|
13
|
+
* <!--Start PulumiCodeChooser -->
|
|
12
14
|
* ```typescript
|
|
13
15
|
* import * as pulumi from "@pulumi/pulumi";
|
|
14
16
|
* import * as keycloak from "@pulumi/keycloak";
|
|
@@ -33,8 +35,11 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
33
35
|
* roleId: realmRole.id,
|
|
34
36
|
* });
|
|
35
37
|
* ```
|
|
38
|
+
* <!--End PulumiCodeChooser -->
|
|
39
|
+
*
|
|
36
40
|
* ### Client Role To Client)
|
|
37
41
|
*
|
|
42
|
+
* <!--Start PulumiCodeChooser -->
|
|
38
43
|
* ```typescript
|
|
39
44
|
* import * as pulumi from "@pulumi/pulumi";
|
|
40
45
|
* import * as keycloak from "@pulumi/keycloak";
|
|
@@ -72,8 +77,11 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
72
77
|
* roleId: clientRoleA.id,
|
|
73
78
|
* });
|
|
74
79
|
* ```
|
|
80
|
+
* <!--End PulumiCodeChooser -->
|
|
81
|
+
*
|
|
75
82
|
* ### Realm Role To Client Scope)
|
|
76
83
|
*
|
|
84
|
+
* <!--Start PulumiCodeChooser -->
|
|
77
85
|
* ```typescript
|
|
78
86
|
* import * as pulumi from "@pulumi/pulumi";
|
|
79
87
|
* import * as keycloak from "@pulumi/keycloak";
|
|
@@ -93,8 +101,11 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
93
101
|
* roleId: realmRole.id,
|
|
94
102
|
* });
|
|
95
103
|
* ```
|
|
104
|
+
* <!--End PulumiCodeChooser -->
|
|
105
|
+
*
|
|
96
106
|
* ### Client Role To Client Scope)
|
|
97
107
|
*
|
|
108
|
+
* <!--Start PulumiCodeChooser -->
|
|
98
109
|
* ```typescript
|
|
99
110
|
* import * as pulumi from "@pulumi/pulumi";
|
|
100
111
|
* import * as keycloak from "@pulumi/keycloak";
|
|
@@ -121,13 +132,22 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
121
132
|
* roleId: clientRole.id,
|
|
122
133
|
* });
|
|
123
134
|
* ```
|
|
135
|
+
* <!--End PulumiCodeChooser -->
|
|
124
136
|
*
|
|
125
137
|
* ## Import
|
|
126
138
|
*
|
|
127
|
-
* Generic client role mappers can be imported using one of the following two formats
|
|
139
|
+
* Generic client role mappers can be imported using one of the following two formats:
|
|
140
|
+
*
|
|
141
|
+
* - When mapping a role to a client, use the format `{{realmId}}/client/{{clientId}}/scope-mappings/{{roleClientId}}/{{roleId}}`
|
|
142
|
+
*
|
|
143
|
+
* - When mapping a role to a client scope, use the format `{{realmId}}/client-scope/{{clientScopeId}}/scope-mappings/{{roleClientId}}/{{roleId}}`
|
|
144
|
+
*
|
|
145
|
+
* Example:
|
|
146
|
+
*
|
|
147
|
+
* bash
|
|
128
148
|
*
|
|
129
149
|
* ```sh
|
|
130
|
-
*
|
|
150
|
+
* $ pulumi import keycloak:index/genericRoleMapper:GenericRoleMapper client_role_mapper my-realm/client/23888550-5dcd-41f6-85ba-554233021e9c/scope-mappings/ce51f004-bdfb-4dd5-a963-c4487d2dec5b/ff3aa49f-bc07-4030-8783-41918c3614a3
|
|
131
151
|
* ```
|
|
132
152
|
*/
|
|
133
153
|
export declare class GenericRoleMapper extends pulumi.CustomResource {
|
package/genericRoleMapper.js
CHANGED
|
@@ -13,8 +13,10 @@ const utilities = require("./utilities");
|
|
|
13
13
|
* inside an access token for a client.
|
|
14
14
|
*
|
|
15
15
|
* ## Example Usage
|
|
16
|
+
*
|
|
16
17
|
* ### Realm Role To Client)
|
|
17
18
|
*
|
|
19
|
+
* <!--Start PulumiCodeChooser -->
|
|
18
20
|
* ```typescript
|
|
19
21
|
* import * as pulumi from "@pulumi/pulumi";
|
|
20
22
|
* import * as keycloak from "@pulumi/keycloak";
|
|
@@ -39,8 +41,11 @@ const utilities = require("./utilities");
|
|
|
39
41
|
* roleId: realmRole.id,
|
|
40
42
|
* });
|
|
41
43
|
* ```
|
|
44
|
+
* <!--End PulumiCodeChooser -->
|
|
45
|
+
*
|
|
42
46
|
* ### Client Role To Client)
|
|
43
47
|
*
|
|
48
|
+
* <!--Start PulumiCodeChooser -->
|
|
44
49
|
* ```typescript
|
|
45
50
|
* import * as pulumi from "@pulumi/pulumi";
|
|
46
51
|
* import * as keycloak from "@pulumi/keycloak";
|
|
@@ -78,8 +83,11 @@ const utilities = require("./utilities");
|
|
|
78
83
|
* roleId: clientRoleA.id,
|
|
79
84
|
* });
|
|
80
85
|
* ```
|
|
86
|
+
* <!--End PulumiCodeChooser -->
|
|
87
|
+
*
|
|
81
88
|
* ### Realm Role To Client Scope)
|
|
82
89
|
*
|
|
90
|
+
* <!--Start PulumiCodeChooser -->
|
|
83
91
|
* ```typescript
|
|
84
92
|
* import * as pulumi from "@pulumi/pulumi";
|
|
85
93
|
* import * as keycloak from "@pulumi/keycloak";
|
|
@@ -99,8 +107,11 @@ const utilities = require("./utilities");
|
|
|
99
107
|
* roleId: realmRole.id,
|
|
100
108
|
* });
|
|
101
109
|
* ```
|
|
110
|
+
* <!--End PulumiCodeChooser -->
|
|
111
|
+
*
|
|
102
112
|
* ### Client Role To Client Scope)
|
|
103
113
|
*
|
|
114
|
+
* <!--Start PulumiCodeChooser -->
|
|
104
115
|
* ```typescript
|
|
105
116
|
* import * as pulumi from "@pulumi/pulumi";
|
|
106
117
|
* import * as keycloak from "@pulumi/keycloak";
|
|
@@ -127,13 +138,22 @@ const utilities = require("./utilities");
|
|
|
127
138
|
* roleId: clientRole.id,
|
|
128
139
|
* });
|
|
129
140
|
* ```
|
|
141
|
+
* <!--End PulumiCodeChooser -->
|
|
130
142
|
*
|
|
131
143
|
* ## Import
|
|
132
144
|
*
|
|
133
|
-
* Generic client role mappers can be imported using one of the following two formats
|
|
145
|
+
* Generic client role mappers can be imported using one of the following two formats:
|
|
146
|
+
*
|
|
147
|
+
* - When mapping a role to a client, use the format `{{realmId}}/client/{{clientId}}/scope-mappings/{{roleClientId}}/{{roleId}}`
|
|
148
|
+
*
|
|
149
|
+
* - When mapping a role to a client scope, use the format `{{realmId}}/client-scope/{{clientScopeId}}/scope-mappings/{{roleClientId}}/{{roleId}}`
|
|
150
|
+
*
|
|
151
|
+
* Example:
|
|
152
|
+
*
|
|
153
|
+
* bash
|
|
134
154
|
*
|
|
135
155
|
* ```sh
|
|
136
|
-
*
|
|
156
|
+
* $ pulumi import keycloak:index/genericRoleMapper:GenericRoleMapper client_role_mapper my-realm/client/23888550-5dcd-41f6-85ba-554233021e9c/scope-mappings/ce51f004-bdfb-4dd5-a963-c4487d2dec5b/ff3aa49f-bc07-4030-8783-41918c3614a3
|
|
137
157
|
* ```
|
|
138
158
|
*/
|
|
139
159
|
class GenericRoleMapper extends pulumi.CustomResource {
|
package/genericRoleMapper.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"genericRoleMapper.js","sourceRoot":"","sources":["../genericRoleMapper.ts"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C,iBAAiB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACtE,CAAC;;AA7EL,8CA8EC;AAhEG,gBAAgB;AACO,8BAAY,GAAG,oDAAoD,CAAC"}
|
|
@@ -4,6 +4,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
4
4
|
*
|
|
5
5
|
* ## Example Usage
|
|
6
6
|
*
|
|
7
|
+
* <!--Start PulumiCodeChooser -->
|
|
7
8
|
* ```typescript
|
|
8
9
|
* import * as pulumi from "@pulumi/pulumi";
|
|
9
10
|
* import * as keycloak from "@pulumi/keycloak";
|
|
@@ -18,6 +19,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
18
19
|
* providerId: "auth-cookie",
|
|
19
20
|
* });
|
|
20
21
|
* ```
|
|
22
|
+
* <!--End PulumiCodeChooser -->
|
|
21
23
|
*/
|
|
22
24
|
export declare function getAuthenticationExecution(args: GetAuthenticationExecutionArgs, opts?: pulumi.InvokeOptions): Promise<GetAuthenticationExecutionResult>;
|
|
23
25
|
/**
|
|
@@ -54,6 +56,7 @@ export interface GetAuthenticationExecutionResult {
|
|
|
54
56
|
*
|
|
55
57
|
* ## Example Usage
|
|
56
58
|
*
|
|
59
|
+
* <!--Start PulumiCodeChooser -->
|
|
57
60
|
* ```typescript
|
|
58
61
|
* import * as pulumi from "@pulumi/pulumi";
|
|
59
62
|
* import * as keycloak from "@pulumi/keycloak";
|
|
@@ -68,6 +71,7 @@ export interface GetAuthenticationExecutionResult {
|
|
|
68
71
|
* providerId: "auth-cookie",
|
|
69
72
|
* });
|
|
70
73
|
* ```
|
|
74
|
+
* <!--End PulumiCodeChooser -->
|
|
71
75
|
*/
|
|
72
76
|
export declare function getAuthenticationExecutionOutput(args: GetAuthenticationExecutionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetAuthenticationExecutionResult>;
|
|
73
77
|
/**
|
|
@@ -10,6 +10,7 @@ const utilities = require("./utilities");
|
|
|
10
10
|
*
|
|
11
11
|
* ## Example Usage
|
|
12
12
|
*
|
|
13
|
+
* <!--Start PulumiCodeChooser -->
|
|
13
14
|
* ```typescript
|
|
14
15
|
* import * as pulumi from "@pulumi/pulumi";
|
|
15
16
|
* import * as keycloak from "@pulumi/keycloak";
|
|
@@ -24,6 +25,7 @@ const utilities = require("./utilities");
|
|
|
24
25
|
* providerId: "auth-cookie",
|
|
25
26
|
* });
|
|
26
27
|
* ```
|
|
28
|
+
* <!--End PulumiCodeChooser -->
|
|
27
29
|
*/
|
|
28
30
|
function getAuthenticationExecution(args, opts) {
|
|
29
31
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -39,6 +41,7 @@ exports.getAuthenticationExecution = getAuthenticationExecution;
|
|
|
39
41
|
*
|
|
40
42
|
* ## Example Usage
|
|
41
43
|
*
|
|
44
|
+
* <!--Start PulumiCodeChooser -->
|
|
42
45
|
* ```typescript
|
|
43
46
|
* import * as pulumi from "@pulumi/pulumi";
|
|
44
47
|
* import * as keycloak from "@pulumi/keycloak";
|
|
@@ -53,6 +56,7 @@ exports.getAuthenticationExecution = getAuthenticationExecution;
|
|
|
53
56
|
* providerId: "auth-cookie",
|
|
54
57
|
* });
|
|
55
58
|
* ```
|
|
59
|
+
* <!--End PulumiCodeChooser -->
|
|
56
60
|
*/
|
|
57
61
|
function getAuthenticationExecutionOutput(args, opts) {
|
|
58
62
|
return pulumi.output(args).apply((a) => getAuthenticationExecution(a, opts));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getAuthenticationExecution.js","sourceRoot":"","sources":["../getAuthenticationExecution.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getAuthenticationExecution.js","sourceRoot":"","sources":["../getAuthenticationExecution.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,SAAgB,0BAA0B,CAAC,IAAoC,EAAE,IAA2B;IAExG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sEAAsE,EAAE;QACjG,iBAAiB,EAAE,IAAI,CAAC,eAAe;QACvC,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,gEAQC;AAgCD;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,SAAgB,gCAAgC,CAAC,IAA0C,EAAE,IAA2B;IACpH,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,0BAA0B,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACrF,CAAC;AAFD,4EAEC"}
|
|
@@ -4,6 +4,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
4
4
|
*
|
|
5
5
|
* ## Example Usage
|
|
6
6
|
*
|
|
7
|
+
* <!--Start PulumiCodeChooser -->
|
|
7
8
|
* ```typescript
|
|
8
9
|
* import * as pulumi from "@pulumi/pulumi";
|
|
9
10
|
* import * as keycloak from "@pulumi/keycloak";
|
|
@@ -17,6 +18,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
17
18
|
* alias: "browser",
|
|
18
19
|
* });
|
|
19
20
|
* ```
|
|
21
|
+
* <!--End PulumiCodeChooser -->
|
|
20
22
|
*/
|
|
21
23
|
export declare function getAuthenticationFlow(args: GetAuthenticationFlowArgs, opts?: pulumi.InvokeOptions): Promise<GetAuthenticationFlowResult>;
|
|
22
24
|
/**
|
|
@@ -48,6 +50,7 @@ export interface GetAuthenticationFlowResult {
|
|
|
48
50
|
*
|
|
49
51
|
* ## Example Usage
|
|
50
52
|
*
|
|
53
|
+
* <!--Start PulumiCodeChooser -->
|
|
51
54
|
* ```typescript
|
|
52
55
|
* import * as pulumi from "@pulumi/pulumi";
|
|
53
56
|
* import * as keycloak from "@pulumi/keycloak";
|
|
@@ -61,6 +64,7 @@ export interface GetAuthenticationFlowResult {
|
|
|
61
64
|
* alias: "browser",
|
|
62
65
|
* });
|
|
63
66
|
* ```
|
|
67
|
+
* <!--End PulumiCodeChooser -->
|
|
64
68
|
*/
|
|
65
69
|
export declare function getAuthenticationFlowOutput(args: GetAuthenticationFlowOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetAuthenticationFlowResult>;
|
|
66
70
|
/**
|
package/getAuthenticationFlow.js
CHANGED
|
@@ -10,6 +10,7 @@ const utilities = require("./utilities");
|
|
|
10
10
|
*
|
|
11
11
|
* ## Example Usage
|
|
12
12
|
*
|
|
13
|
+
* <!--Start PulumiCodeChooser -->
|
|
13
14
|
* ```typescript
|
|
14
15
|
* import * as pulumi from "@pulumi/pulumi";
|
|
15
16
|
* import * as keycloak from "@pulumi/keycloak";
|
|
@@ -23,6 +24,7 @@ const utilities = require("./utilities");
|
|
|
23
24
|
* alias: "browser",
|
|
24
25
|
* });
|
|
25
26
|
* ```
|
|
27
|
+
* <!--End PulumiCodeChooser -->
|
|
26
28
|
*/
|
|
27
29
|
function getAuthenticationFlow(args, opts) {
|
|
28
30
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -37,6 +39,7 @@ exports.getAuthenticationFlow = getAuthenticationFlow;
|
|
|
37
39
|
*
|
|
38
40
|
* ## Example Usage
|
|
39
41
|
*
|
|
42
|
+
* <!--Start PulumiCodeChooser -->
|
|
40
43
|
* ```typescript
|
|
41
44
|
* import * as pulumi from "@pulumi/pulumi";
|
|
42
45
|
* import * as keycloak from "@pulumi/keycloak";
|
|
@@ -50,6 +53,7 @@ exports.getAuthenticationFlow = getAuthenticationFlow;
|
|
|
50
53
|
* alias: "browser",
|
|
51
54
|
* });
|
|
52
55
|
* ```
|
|
56
|
+
* <!--End PulumiCodeChooser -->
|
|
53
57
|
*/
|
|
54
58
|
function getAuthenticationFlowOutput(args, opts) {
|
|
55
59
|
return pulumi.output(args).apply((a) => getAuthenticationFlow(a, opts));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getAuthenticationFlow.js","sourceRoot":"","sources":["../getAuthenticationFlow.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getAuthenticationFlow.js","sourceRoot":"","sources":["../getAuthenticationFlow.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,SAAgB,qBAAqB,CAAC,IAA+B,EAAE,IAA2B;IAE9F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4DAA4D,EAAE;QACvF,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,sDAOC;AA2BD;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,SAAgB,2BAA2B,CAAC,IAAqC,EAAE,IAA2B;IAC1G,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,qBAAqB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAChF,CAAC;AAFD,kEAEC"}
|
|
@@ -6,6 +6,7 @@ import * as outputs from "./types/output";
|
|
|
6
6
|
*
|
|
7
7
|
* ## Example Usage
|
|
8
8
|
*
|
|
9
|
+
* <!--Start PulumiCodeChooser -->
|
|
9
10
|
* ```typescript
|
|
10
11
|
* import * as pulumi from "@pulumi/pulumi";
|
|
11
12
|
* import * as keycloak from "@pulumi/keycloak";
|
|
@@ -50,6 +51,7 @@ import * as outputs from "./types/output";
|
|
|
50
51
|
* clientId: samlClientClientDescriptionConverter.apply(samlClientClientDescriptionConverter => samlClientClientDescriptionConverter.clientId),
|
|
51
52
|
* });
|
|
52
53
|
* ```
|
|
54
|
+
* <!--End PulumiCodeChooser -->
|
|
53
55
|
*/
|
|
54
56
|
export declare function getClientDescriptionConverter(args: GetClientDescriptionConverterArgs, opts?: pulumi.InvokeOptions): Promise<GetClientDescriptionConverterResult>;
|
|
55
57
|
/**
|
|
@@ -127,6 +129,7 @@ export interface GetClientDescriptionConverterResult {
|
|
|
127
129
|
*
|
|
128
130
|
* ## Example Usage
|
|
129
131
|
*
|
|
132
|
+
* <!--Start PulumiCodeChooser -->
|
|
130
133
|
* ```typescript
|
|
131
134
|
* import * as pulumi from "@pulumi/pulumi";
|
|
132
135
|
* import * as keycloak from "@pulumi/keycloak";
|
|
@@ -171,6 +174,7 @@ export interface GetClientDescriptionConverterResult {
|
|
|
171
174
|
* clientId: samlClientClientDescriptionConverter.apply(samlClientClientDescriptionConverter => samlClientClientDescriptionConverter.clientId),
|
|
172
175
|
* });
|
|
173
176
|
* ```
|
|
177
|
+
* <!--End PulumiCodeChooser -->
|
|
174
178
|
*/
|
|
175
179
|
export declare function getClientDescriptionConverterOutput(args: GetClientDescriptionConverterOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetClientDescriptionConverterResult>;
|
|
176
180
|
/**
|
|
@@ -11,6 +11,7 @@ const utilities = require("./utilities");
|
|
|
11
11
|
*
|
|
12
12
|
* ## Example Usage
|
|
13
13
|
*
|
|
14
|
+
* <!--Start PulumiCodeChooser -->
|
|
14
15
|
* ```typescript
|
|
15
16
|
* import * as pulumi from "@pulumi/pulumi";
|
|
16
17
|
* import * as keycloak from "@pulumi/keycloak";
|
|
@@ -55,6 +56,7 @@ const utilities = require("./utilities");
|
|
|
55
56
|
* clientId: samlClientClientDescriptionConverter.apply(samlClientClientDescriptionConverter => samlClientClientDescriptionConverter.clientId),
|
|
56
57
|
* });
|
|
57
58
|
* ```
|
|
59
|
+
* <!--End PulumiCodeChooser -->
|
|
58
60
|
*/
|
|
59
61
|
function getClientDescriptionConverter(args, opts) {
|
|
60
62
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -70,6 +72,7 @@ exports.getClientDescriptionConverter = getClientDescriptionConverter;
|
|
|
70
72
|
*
|
|
71
73
|
* ## Example Usage
|
|
72
74
|
*
|
|
75
|
+
* <!--Start PulumiCodeChooser -->
|
|
73
76
|
* ```typescript
|
|
74
77
|
* import * as pulumi from "@pulumi/pulumi";
|
|
75
78
|
* import * as keycloak from "@pulumi/keycloak";
|
|
@@ -114,6 +117,7 @@ exports.getClientDescriptionConverter = getClientDescriptionConverter;
|
|
|
114
117
|
* clientId: samlClientClientDescriptionConverter.apply(samlClientClientDescriptionConverter => samlClientClientDescriptionConverter.clientId),
|
|
115
118
|
* });
|
|
116
119
|
* ```
|
|
120
|
+
* <!--End PulumiCodeChooser -->
|
|
117
121
|
*/
|
|
118
122
|
function getClientDescriptionConverterOutput(args, opts) {
|
|
119
123
|
return pulumi.output(args).apply((a) => getClientDescriptionConverter(a, opts));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getClientDescriptionConverter.js","sourceRoot":"","sources":["../getClientDescriptionConverter.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getClientDescriptionConverter.js","sourceRoot":"","sources":["../getClientDescriptionConverter.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoDG;AACH,SAAgB,6BAA6B,CAAC,IAAuC,EAAE,IAA2B;IAE9G,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4EAA4E,EAAE;QACvG,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,sEAOC;AA8DD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoDG;AACH,SAAgB,mCAAmC,CAAC,IAA6C,EAAE,IAA2B;IAC1H,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,6BAA6B,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACxF,CAAC;AAFD,kFAEC"}
|
package/getGroup.d.ts
CHANGED
|
@@ -1,45 +1,16 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
+
* ## # keycloak.Group data source
|
|
4
|
+
*
|
|
3
5
|
* This data source can be used to fetch properties of a Keycloak group for
|
|
4
6
|
* usage with other resources, such as `keycloak.GroupRoles`.
|
|
5
|
-
*
|
|
6
|
-
* ## Example Usage
|
|
7
|
-
*
|
|
8
|
-
* ```typescript
|
|
9
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
-
* import * as keycloak from "@pulumi/keycloak";
|
|
11
|
-
*
|
|
12
|
-
* const realm = new keycloak.Realm("realm", {
|
|
13
|
-
* realm: "my-realm",
|
|
14
|
-
* enabled: true,
|
|
15
|
-
* });
|
|
16
|
-
* const offlineAccess = keycloak.getRoleOutput({
|
|
17
|
-
* realmId: realm.id,
|
|
18
|
-
* name: "offline_access",
|
|
19
|
-
* });
|
|
20
|
-
* const group = keycloak.getGroupOutput({
|
|
21
|
-
* realmId: realm.id,
|
|
22
|
-
* name: "group",
|
|
23
|
-
* });
|
|
24
|
-
* const groupRoles = new keycloak.GroupRoles("groupRoles", {
|
|
25
|
-
* realmId: realm.id,
|
|
26
|
-
* groupId: group.apply(group => group.id),
|
|
27
|
-
* roleIds: [offlineAccess.apply(offlineAccess => offlineAccess.id)],
|
|
28
|
-
* });
|
|
29
|
-
* ```
|
|
30
7
|
*/
|
|
31
8
|
export declare function getGroup(args: GetGroupArgs, opts?: pulumi.InvokeOptions): Promise<GetGroupResult>;
|
|
32
9
|
/**
|
|
33
10
|
* A collection of arguments for invoking getGroup.
|
|
34
11
|
*/
|
|
35
12
|
export interface GetGroupArgs {
|
|
36
|
-
/**
|
|
37
|
-
* The name of the group. If there are multiple groups match `name`, the first result will be returned.
|
|
38
|
-
*/
|
|
39
13
|
name: string;
|
|
40
|
-
/**
|
|
41
|
-
* The realm this group exists within.
|
|
42
|
-
*/
|
|
43
14
|
realmId: string;
|
|
44
15
|
}
|
|
45
16
|
/**
|
|
@@ -59,45 +30,16 @@ export interface GetGroupResult {
|
|
|
59
30
|
readonly realmId: string;
|
|
60
31
|
}
|
|
61
32
|
/**
|
|
33
|
+
* ## # keycloak.Group data source
|
|
34
|
+
*
|
|
62
35
|
* This data source can be used to fetch properties of a Keycloak group for
|
|
63
36
|
* usage with other resources, such as `keycloak.GroupRoles`.
|
|
64
|
-
*
|
|
65
|
-
* ## Example Usage
|
|
66
|
-
*
|
|
67
|
-
* ```typescript
|
|
68
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
69
|
-
* import * as keycloak from "@pulumi/keycloak";
|
|
70
|
-
*
|
|
71
|
-
* const realm = new keycloak.Realm("realm", {
|
|
72
|
-
* realm: "my-realm",
|
|
73
|
-
* enabled: true,
|
|
74
|
-
* });
|
|
75
|
-
* const offlineAccess = keycloak.getRoleOutput({
|
|
76
|
-
* realmId: realm.id,
|
|
77
|
-
* name: "offline_access",
|
|
78
|
-
* });
|
|
79
|
-
* const group = keycloak.getGroupOutput({
|
|
80
|
-
* realmId: realm.id,
|
|
81
|
-
* name: "group",
|
|
82
|
-
* });
|
|
83
|
-
* const groupRoles = new keycloak.GroupRoles("groupRoles", {
|
|
84
|
-
* realmId: realm.id,
|
|
85
|
-
* groupId: group.apply(group => group.id),
|
|
86
|
-
* roleIds: [offlineAccess.apply(offlineAccess => offlineAccess.id)],
|
|
87
|
-
* });
|
|
88
|
-
* ```
|
|
89
37
|
*/
|
|
90
38
|
export declare function getGroupOutput(args: GetGroupOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetGroupResult>;
|
|
91
39
|
/**
|
|
92
40
|
* A collection of arguments for invoking getGroup.
|
|
93
41
|
*/
|
|
94
42
|
export interface GetGroupOutputArgs {
|
|
95
|
-
/**
|
|
96
|
-
* The name of the group. If there are multiple groups match `name`, the first result will be returned.
|
|
97
|
-
*/
|
|
98
43
|
name: pulumi.Input<string>;
|
|
99
|
-
/**
|
|
100
|
-
* The realm this group exists within.
|
|
101
|
-
*/
|
|
102
44
|
realmId: pulumi.Input<string>;
|
|
103
45
|
}
|
package/getGroup.js
CHANGED
|
@@ -6,33 +6,10 @@ exports.getGroupOutput = exports.getGroup = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
+
* ## # keycloak.Group data source
|
|
10
|
+
*
|
|
9
11
|
* This data source can be used to fetch properties of a Keycloak group for
|
|
10
12
|
* usage with other resources, such as `keycloak.GroupRoles`.
|
|
11
|
-
*
|
|
12
|
-
* ## Example Usage
|
|
13
|
-
*
|
|
14
|
-
* ```typescript
|
|
15
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
16
|
-
* import * as keycloak from "@pulumi/keycloak";
|
|
17
|
-
*
|
|
18
|
-
* const realm = new keycloak.Realm("realm", {
|
|
19
|
-
* realm: "my-realm",
|
|
20
|
-
* enabled: true,
|
|
21
|
-
* });
|
|
22
|
-
* const offlineAccess = keycloak.getRoleOutput({
|
|
23
|
-
* realmId: realm.id,
|
|
24
|
-
* name: "offline_access",
|
|
25
|
-
* });
|
|
26
|
-
* const group = keycloak.getGroupOutput({
|
|
27
|
-
* realmId: realm.id,
|
|
28
|
-
* name: "group",
|
|
29
|
-
* });
|
|
30
|
-
* const groupRoles = new keycloak.GroupRoles("groupRoles", {
|
|
31
|
-
* realmId: realm.id,
|
|
32
|
-
* groupId: group.apply(group => group.id),
|
|
33
|
-
* roleIds: [offlineAccess.apply(offlineAccess => offlineAccess.id)],
|
|
34
|
-
* });
|
|
35
|
-
* ```
|
|
36
13
|
*/
|
|
37
14
|
function getGroup(args, opts) {
|
|
38
15
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -43,33 +20,10 @@ function getGroup(args, opts) {
|
|
|
43
20
|
}
|
|
44
21
|
exports.getGroup = getGroup;
|
|
45
22
|
/**
|
|
23
|
+
* ## # keycloak.Group data source
|
|
24
|
+
*
|
|
46
25
|
* This data source can be used to fetch properties of a Keycloak group for
|
|
47
26
|
* usage with other resources, such as `keycloak.GroupRoles`.
|
|
48
|
-
*
|
|
49
|
-
* ## Example Usage
|
|
50
|
-
*
|
|
51
|
-
* ```typescript
|
|
52
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
53
|
-
* import * as keycloak from "@pulumi/keycloak";
|
|
54
|
-
*
|
|
55
|
-
* const realm = new keycloak.Realm("realm", {
|
|
56
|
-
* realm: "my-realm",
|
|
57
|
-
* enabled: true,
|
|
58
|
-
* });
|
|
59
|
-
* const offlineAccess = keycloak.getRoleOutput({
|
|
60
|
-
* realmId: realm.id,
|
|
61
|
-
* name: "offline_access",
|
|
62
|
-
* });
|
|
63
|
-
* const group = keycloak.getGroupOutput({
|
|
64
|
-
* realmId: realm.id,
|
|
65
|
-
* name: "group",
|
|
66
|
-
* });
|
|
67
|
-
* const groupRoles = new keycloak.GroupRoles("groupRoles", {
|
|
68
|
-
* realmId: realm.id,
|
|
69
|
-
* groupId: group.apply(group => group.id),
|
|
70
|
-
* roleIds: [offlineAccess.apply(offlineAccess => offlineAccess.id)],
|
|
71
|
-
* });
|
|
72
|
-
* ```
|
|
73
27
|
*/
|
|
74
28
|
function getGroupOutput(args, opts) {
|
|
75
29
|
return pulumi.output(args).apply((a) => getGroup(a, opts));
|
package/getGroup.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getGroup.js","sourceRoot":"","sources":["../getGroup.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getGroup.js","sourceRoot":"","sources":["../getGroup.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;GAKG;AACH,SAAgB,QAAQ,CAAC,IAAkB,EAAE,IAA2B;IAEpE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kCAAkC,EAAE;QAC7D,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,4BAOC;AAwBD;;;;;GAKG;AACH,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAA2B;IAChF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,QAAQ,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACnE,CAAC;AAFD,wCAEC"}
|
package/getRealm.d.ts
CHANGED
|
@@ -2,11 +2,14 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
import * as inputs from "./types/input";
|
|
3
3
|
import * as outputs from "./types/output";
|
|
4
4
|
/**
|
|
5
|
+
* ## # keycloak.Realm data source
|
|
6
|
+
*
|
|
5
7
|
* This data source can be used to fetch properties of a Keycloak realm for
|
|
6
8
|
* usage with other resources.
|
|
7
9
|
*
|
|
8
|
-
*
|
|
10
|
+
* ### Example Usage
|
|
9
11
|
*
|
|
12
|
+
* <!--Start PulumiCodeChooser -->
|
|
10
13
|
* ```typescript
|
|
11
14
|
* import * as pulumi from "@pulumi/pulumi";
|
|
12
15
|
* import * as keycloak from "@pulumi/keycloak";
|
|
@@ -14,8 +17,19 @@ import * as outputs from "./types/output";
|
|
|
14
17
|
* const realm = keycloak.getRealm({
|
|
15
18
|
* realm: "my-realm",
|
|
16
19
|
* });
|
|
17
|
-
* const group = new keycloak.Role("group", {realmId:
|
|
20
|
+
* const group = new keycloak.Role("group", {realmId: data.keycloak_realm.id});
|
|
18
21
|
* ```
|
|
22
|
+
* <!--End PulumiCodeChooser -->
|
|
23
|
+
*
|
|
24
|
+
* ### Argument Reference
|
|
25
|
+
*
|
|
26
|
+
* The following arguments are supported:
|
|
27
|
+
*
|
|
28
|
+
* - `realm` - (Required) The realm name.
|
|
29
|
+
*
|
|
30
|
+
* ### Attributes Reference
|
|
31
|
+
*
|
|
32
|
+
* See the docs for the `keycloak.Realm` resource for details on the exported attributes.
|
|
19
33
|
*/
|
|
20
34
|
export declare function getRealm(args: GetRealmArgs, opts?: pulumi.InvokeOptions): Promise<GetRealmResult>;
|
|
21
35
|
/**
|
|
@@ -30,9 +44,6 @@ export interface GetRealmArgs {
|
|
|
30
44
|
displayNameHtml?: string;
|
|
31
45
|
internationalizations?: inputs.GetRealmInternationalization[];
|
|
32
46
|
otpPolicy?: inputs.GetRealmOtpPolicy;
|
|
33
|
-
/**
|
|
34
|
-
* The realm name.
|
|
35
|
-
*/
|
|
36
47
|
realm: string;
|
|
37
48
|
securityDefenses?: inputs.GetRealmSecurityDefense[];
|
|
38
49
|
smtpServers?: inputs.GetRealmSmtpServer[];
|
|
@@ -107,11 +118,14 @@ export interface GetRealmResult {
|
|
|
107
118
|
readonly webAuthnPolicy: outputs.GetRealmWebAuthnPolicy;
|
|
108
119
|
}
|
|
109
120
|
/**
|
|
121
|
+
* ## # keycloak.Realm data source
|
|
122
|
+
*
|
|
110
123
|
* This data source can be used to fetch properties of a Keycloak realm for
|
|
111
124
|
* usage with other resources.
|
|
112
125
|
*
|
|
113
|
-
*
|
|
126
|
+
* ### Example Usage
|
|
114
127
|
*
|
|
128
|
+
* <!--Start PulumiCodeChooser -->
|
|
115
129
|
* ```typescript
|
|
116
130
|
* import * as pulumi from "@pulumi/pulumi";
|
|
117
131
|
* import * as keycloak from "@pulumi/keycloak";
|
|
@@ -119,8 +133,19 @@ export interface GetRealmResult {
|
|
|
119
133
|
* const realm = keycloak.getRealm({
|
|
120
134
|
* realm: "my-realm",
|
|
121
135
|
* });
|
|
122
|
-
* const group = new keycloak.Role("group", {realmId:
|
|
136
|
+
* const group = new keycloak.Role("group", {realmId: data.keycloak_realm.id});
|
|
123
137
|
* ```
|
|
138
|
+
* <!--End PulumiCodeChooser -->
|
|
139
|
+
*
|
|
140
|
+
* ### Argument Reference
|
|
141
|
+
*
|
|
142
|
+
* The following arguments are supported:
|
|
143
|
+
*
|
|
144
|
+
* - `realm` - (Required) The realm name.
|
|
145
|
+
*
|
|
146
|
+
* ### Attributes Reference
|
|
147
|
+
*
|
|
148
|
+
* See the docs for the `keycloak.Realm` resource for details on the exported attributes.
|
|
124
149
|
*/
|
|
125
150
|
export declare function getRealmOutput(args: GetRealmOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetRealmResult>;
|
|
126
151
|
/**
|
|
@@ -135,9 +160,6 @@ export interface GetRealmOutputArgs {
|
|
|
135
160
|
displayNameHtml?: pulumi.Input<string>;
|
|
136
161
|
internationalizations?: pulumi.Input<pulumi.Input<inputs.GetRealmInternationalizationArgs>[]>;
|
|
137
162
|
otpPolicy?: pulumi.Input<inputs.GetRealmOtpPolicyArgs>;
|
|
138
|
-
/**
|
|
139
|
-
* The realm name.
|
|
140
|
-
*/
|
|
141
163
|
realm: pulumi.Input<string>;
|
|
142
164
|
securityDefenses?: pulumi.Input<pulumi.Input<inputs.GetRealmSecurityDefenseArgs>[]>;
|
|
143
165
|
smtpServers?: pulumi.Input<pulumi.Input<inputs.GetRealmSmtpServerArgs>[]>;
|