@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.
- package/attributeImporterIdentityProviderMapper.d.ts +45 -63
- package/attributeImporterIdentityProviderMapper.js +24 -33
- package/attributeImporterIdentityProviderMapper.js.map +1 -1
- package/attributeToRoleIdentityMapper.d.ts +14 -6
- package/attributeToRoleIdentityMapper.js +14 -6
- package/attributeToRoleIdentityMapper.js.map +1 -1
- package/authentication/bindings.d.ts +3 -3
- package/authentication/bindings.js +3 -3
- package/authentication/execution.d.ts +8 -4
- package/authentication/execution.js +8 -4
- package/authentication/execution.js.map +1 -1
- package/authentication/executionConfig.d.ts +10 -2
- package/authentication/executionConfig.js +10 -2
- package/authentication/executionConfig.js.map +1 -1
- package/authentication/flow.d.ts +14 -2
- package/authentication/flow.js +14 -2
- package/authentication/flow.js.map +1 -1
- package/authentication/subflow.d.ts +16 -2
- package/authentication/subflow.js +16 -2
- package/authentication/subflow.js.map +1 -1
- package/customIdentityProviderMapping.d.ts +12 -5
- package/customIdentityProviderMapping.js +12 -5
- package/customIdentityProviderMapping.js.map +1 -1
- package/customUserFederation.d.ts +48 -48
- package/customUserFederation.js +24 -12
- package/customUserFederation.js.map +1 -1
- package/defaultGroups.d.ts +19 -26
- package/defaultGroups.js +19 -8
- package/defaultGroups.js.map +1 -1
- package/defaultRoles.d.ts +12 -3
- package/defaultRoles.js +12 -3
- package/defaultRoles.js.map +1 -1
- package/genericClientProtocolMapper.d.ts +36 -34
- package/genericClientProtocolMapper.js +21 -10
- package/genericClientProtocolMapper.js.map +1 -1
- package/genericClientRoleMapper.d.ts +42 -15
- package/genericClientRoleMapper.js +42 -15
- package/genericClientRoleMapper.js.map +1 -1
- package/genericProtocolMapper.d.ts +9 -4
- package/genericProtocolMapper.js +9 -4
- package/genericProtocolMapper.js.map +1 -1
- package/genericRoleMapper.d.ts +42 -15
- package/genericRoleMapper.js +42 -15
- package/genericRoleMapper.js.map +1 -1
- package/getClientDescriptionConverter.d.ts +50 -50
- package/getClientDescriptionConverter.js +50 -50
- package/getGroup.d.ts +4 -62
- package/getGroup.js +4 -50
- package/getGroup.js.map +1 -1
- package/getRealm.d.ts +36 -10
- package/getRealm.js +36 -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 +2 -0
- package/getUser.js +2 -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 +37 -57
- package/group.js +37 -15
- package/group.js.map +1 -1
- package/groupMemberships.d.ts +28 -43
- package/groupMemberships.js +28 -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 +35 -90
- package/groupRoles.js +35 -54
- package/groupRoles.js.map +1 -1
- package/hardcodedAttributeIdentityProviderMapper.d.ts +4 -3
- package/hardcodedAttributeIdentityProviderMapper.js +4 -3
- package/hardcodedAttributeIdentityProviderMapper.js.map +1 -1
- package/hardcodedRoleIdentityMapper.d.ts +6 -4
- package/hardcodedRoleIdentityMapper.js +6 -4
- package/hardcodedRoleIdentityMapper.js.map +1 -1
- package/identityProviderTokenExchangeScopePermission.d.ts +13 -6
- package/identityProviderTokenExchangeScopePermission.js +13 -6
- package/identityProviderTokenExchangeScopePermission.js.map +1 -1
- package/ldap/customMapper.d.ts +14 -6
- package/ldap/customMapper.js +14 -6
- package/ldap/customMapper.js.map +1 -1
- package/ldap/fullNameMapper.d.ts +35 -48
- package/ldap/fullNameMapper.js +26 -12
- package/ldap/fullNameMapper.js.map +1 -1
- package/ldap/groupMapper.d.ts +47 -156
- package/ldap/groupMapper.js +38 -12
- package/ldap/groupMapper.js.map +1 -1
- package/ldap/hardcodedAttributeMapper.d.ts +12 -4
- package/ldap/hardcodedAttributeMapper.js +12 -4
- package/ldap/hardcodedAttributeMapper.js.map +1 -1
- package/ldap/hardcodedGroupMapper.d.ts +16 -5
- package/ldap/hardcodedGroupMapper.js +16 -5
- package/ldap/hardcodedGroupMapper.js.map +1 -1
- package/ldap/hardcodedRoleMapper.d.ts +31 -66
- package/ldap/hardcodedRoleMapper.js +19 -54
- package/ldap/hardcodedRoleMapper.js.map +1 -1
- package/ldap/msadLdsUserAccountControlMapper.d.ts +12 -4
- package/ldap/msadLdsUserAccountControlMapper.js +12 -4
- package/ldap/msadLdsUserAccountControlMapper.js.map +1 -1
- package/ldap/msadUserAccountControlMapper.d.ts +29 -27
- package/ldap/msadUserAccountControlMapper.js +20 -9
- package/ldap/msadUserAccountControlMapper.js.map +1 -1
- package/ldap/roleMapper.d.ts +12 -4
- package/ldap/roleMapper.js +12 -4
- package/ldap/roleMapper.js.map +1 -1
- package/ldap/userAttributeMapper.d.ts +54 -39
- package/ldap/userAttributeMapper.js +24 -9
- package/ldap/userAttributeMapper.js.map +1 -1
- package/ldap/userFederation.d.ts +117 -88
- package/ldap/userFederation.js +45 -13
- package/ldap/userFederation.js.map +1 -1
- package/oidc/googleIdentityProvider.d.ts +8 -4
- package/oidc/googleIdentityProvider.js +8 -4
- package/oidc/googleIdentityProvider.js.map +1 -1
- package/oidc/identityProvider.d.ts +7 -3
- package/oidc/identityProvider.js +7 -3
- package/oidc/identityProvider.js.map +1 -1
- package/openid/audienceProtocolMapper.d.ts +62 -43
- package/openid/audienceProtocolMapper.js +38 -19
- package/openid/audienceProtocolMapper.js.map +1 -1
- package/openid/audienceResolveProtocolMapper.d.ts +22 -7
- package/openid/audienceResolveProtocolMapper.js +22 -7
- package/openid/audienceResolveProtocolMapper.js.map +1 -1
- package/openid/audienceResolveProtocolMappter.d.ts +22 -7
- package/openid/audienceResolveProtocolMappter.js +22 -7
- package/openid/audienceResolveProtocolMappter.js.map +1 -1
- package/openid/client.d.ts +45 -429
- package/openid/client.js +45 -12
- 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 +16 -31
- package/openid/clientDefaultScopes.js +16 -4
- package/openid/clientDefaultScopes.js.map +1 -1
- package/openid/clientOptionalScopes.d.ts +16 -32
- package/openid/clientOptionalScopes.js +16 -5
- package/openid/clientOptionalScopes.js.map +1 -1
- package/openid/clientPolicy.d.ts +5 -3
- package/openid/clientPolicy.js +5 -3
- package/openid/clientPolicy.js.map +1 -1
- package/openid/clientScope.d.ts +25 -66
- package/openid/clientScope.js +25 -12
- package/openid/clientScope.js.map +1 -1
- package/openid/clientServiceAccountRealmRole.d.ts +12 -4
- package/openid/clientServiceAccountRealmRole.js +12 -4
- package/openid/clientServiceAccountRealmRole.js.map +1 -1
- package/openid/clientServiceAccountRole.d.ts +14 -5
- package/openid/clientServiceAccountRole.js +14 -5
- package/openid/clientServiceAccountRole.js.map +1 -1
- package/openid/fullNameProtocolMapper.d.ts +49 -59
- package/openid/fullNameProtocolMapper.js +37 -20
- package/openid/fullNameProtocolMapper.js.map +1 -1
- package/openid/getClient.d.ts +30 -14
- package/openid/getClient.js +30 -2
- package/openid/getClient.js.map +1 -1
- package/openid/getClientAuthorizationPolicy.d.ts +8 -2
- package/openid/getClientAuthorizationPolicy.js +8 -2
- package/openid/getClientAuthorizationPolicy.js.map +1 -1
- package/openid/getClientScope.d.ts +4 -2
- package/openid/getClientScope.js +4 -2
- package/openid/getClientScope.js.map +1 -1
- package/openid/getClientServiceAccountUser.d.ts +4 -2
- package/openid/getClientServiceAccountUser.js +4 -2
- package/openid/getClientServiceAccountUser.js.map +1 -1
- package/openid/groupMembershipProtocolMapper.d.ts +51 -77
- package/openid/groupMembershipProtocolMapper.js +39 -20
- package/openid/groupMembershipProtocolMapper.js.map +1 -1
- package/openid/hardcodedClaimProtocolMapper.d.ts +64 -62
- package/openid/hardcodedClaimProtocolMapper.js +40 -20
- package/openid/hardcodedClaimProtocolMapper.js.map +1 -1
- package/openid/hardcodedRoleProtocolMapper.d.ts +56 -43
- package/openid/hardcodedRoleProtocolMapper.js +44 -22
- package/openid/hardcodedRoleProtocolMapper.js.map +1 -1
- package/openid/scriptProtocolMapper.d.ts +23 -7
- package/openid/scriptProtocolMapper.js +23 -7
- package/openid/scriptProtocolMapper.js.map +1 -1
- package/openid/userAttributeProtocolMapper.d.ts +71 -68
- package/openid/userAttributeProtocolMapper.js +41 -20
- package/openid/userAttributeProtocolMapper.js.map +1 -1
- package/openid/userClientRoleProtocolMapper.d.ts +23 -7
- package/openid/userClientRoleProtocolMapper.js +23 -7
- package/openid/userClientRoleProtocolMapper.js.map +1 -1
- package/openid/userPropertyProtocolMapper.d.ts +64 -63
- package/openid/userPropertyProtocolMapper.js +40 -21
- package/openid/userPropertyProtocolMapper.js.map +1 -1
- package/openid/userRealmRoleProtocolMapper.d.ts +71 -59
- package/openid/userRealmRoleProtocolMapper.js +41 -20
- package/openid/userRealmRoleProtocolMapper.js.map +1 -1
- package/openid/userSessionNoteProtocolMapper.d.ts +23 -7
- package/openid/userSessionNoteProtocolMapper.js +23 -7
- 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 +15 -71
- package/realmEvents.js +15 -8
- package/realmEvents.js.map +1 -1
- package/realmKeystoreAesGenerated.d.ts +8 -3
- package/realmKeystoreAesGenerated.js +8 -3
- package/realmKeystoreAesGenerated.js.map +1 -1
- package/realmKeystoreEcdsaGenerated.d.ts +8 -3
- package/realmKeystoreEcdsaGenerated.js +8 -3
- package/realmKeystoreEcdsaGenerated.js.map +1 -1
- package/realmKeystoreHmacGenerated.d.ts +8 -3
- package/realmKeystoreHmacGenerated.js +8 -3
- package/realmKeystoreHmacGenerated.js.map +1 -1
- package/realmKeystoreJavaGenerated.d.ts +8 -3
- package/realmKeystoreJavaGenerated.js +8 -3
- 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 -3
- package/realmKeystoreRsaGenerated.js +8 -3
- package/realmKeystoreRsaGenerated.js.map +1 -1
- package/realmUserProfile.d.ts +1 -1
- package/realmUserProfile.js +1 -1
- package/requiredAction.d.ts +8 -3
- package/requiredAction.js +8 -3
- package/requiredAction.js.map +1 -1
- package/role.d.ts +57 -110
- package/role.js +57 -56
- package/role.js.map +1 -1
- package/saml/client.d.ts +9 -344
- package/saml/client.js +9 -29
- package/saml/client.js.map +1 -1
- package/saml/clientDefaultScope.d.ts +0 -33
- package/saml/clientDefaultScope.js +0 -33
- package/saml/clientDefaultScope.js.map +1 -1
- package/saml/clientScope.d.ts +10 -3
- package/saml/clientScope.js +10 -3
- package/saml/clientScope.js.map +1 -1
- package/saml/getClient.d.ts +2 -0
- package/saml/getClient.js +2 -0
- package/saml/getClient.js.map +1 -1
- package/saml/getClientInstallationProvider.d.ts +0 -62
- package/saml/getClientInstallationProvider.js +0 -62
- package/saml/getClientInstallationProvider.js.map +1 -1
- package/saml/identityProvider.d.ts +155 -111
- package/saml/identityProvider.js +44 -15
- package/saml/identityProvider.js.map +1 -1
- package/saml/scriptProtocolMapper.d.ts +15 -5
- package/saml/scriptProtocolMapper.js +15 -5
- 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 -231
- package/types/output.d.ts +44 -255
- package/user.d.ts +26 -104
- package/user.js +26 -14
- package/user.js.map +1 -1
- package/userGroups.d.ts +5 -33
- package/userGroups.js +5 -33
- package/userGroups.js.map +1 -1
- package/userRoles.d.ts +16 -6
- package/userRoles.js +16 -6
- package/userRoles.js.map +1 -1
- package/userTemplateImporterIdentityProviderMapper.d.ts +10 -3
- package/userTemplateImporterIdentityProviderMapper.js +10 -3
- package/userTemplateImporterIdentityProviderMapper.js.map +1 -1
- package/usersPermissions.d.ts +10 -25
- package/usersPermissions.js +10 -25
- package/usersPermissions.js.map +1 -1
|
@@ -14,40 +14,40 @@ import * as outputs from "./types/output";
|
|
|
14
14
|
* realm: "my-realm",
|
|
15
15
|
* enabled: true,
|
|
16
16
|
* });
|
|
17
|
-
* const
|
|
17
|
+
* const samlClient = keycloak.getClientDescriptionConverterOutput({
|
|
18
18
|
* realmId: realm.id,
|
|
19
|
-
* body:
|
|
19
|
+
* body: `\x09<md:EntityDescriptor xmlns:md="urn:oasis:names:tc:SAML:2.0:metadata" validUntil="2021-04-17T12:41:46Z" cacheDuration="PT604800S" entityID="FakeEntityId">
|
|
20
20
|
* <md:SPSSODescriptor AuthnRequestsSigned="false" WantAssertionsSigned="false" protocolSupportEnumeration="urn:oasis:names:tc:SAML:2.0:protocol">
|
|
21
21
|
* <md:KeyDescriptor use="signing">
|
|
22
|
-
*
|
|
23
|
-
*
|
|
24
|
-
*
|
|
25
|
-
*
|
|
26
|
-
*
|
|
27
|
-
*
|
|
28
|
-
*
|
|
29
|
-
*
|
|
30
|
-
*
|
|
31
|
-
*
|
|
32
|
-
*
|
|
33
|
-
*
|
|
34
|
-
*
|
|
35
|
-
*
|
|
36
|
-
*
|
|
37
|
-
*
|
|
38
|
-
*
|
|
39
|
-
*
|
|
40
|
-
*
|
|
41
|
-
*
|
|
42
|
-
*
|
|
22
|
+
* \x09\x09\x09<ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
|
|
23
|
+
* \x09\x09\x09\x09<ds:X509Data>
|
|
24
|
+
* \x09\x09\x09\x09\x09<ds:X509Certificate>MIICyDCCAjGgAwIBAgIBADANBgkqhkiG9w0BAQ0FADCBgDELMAkGA1UEBhMCdXMx
|
|
25
|
+
* \x09\x09\x09\x09\x09CzAJBgNVBAgMAklBMSQwIgYDVQQKDBt0ZXJyYWZvcm0tcHJvdmlkZXIta2V5Y2xv
|
|
26
|
+
* \x09\x09\x09\x09\x09YWsxHDAaBgNVBAMME21ycGFya2Vycy5naXRodWIuaW8xIDAeBgkqhkiG9w0BCQEW
|
|
27
|
+
* \x09\x09\x09\x09\x09EW1pY2hhZWxAcGFya2VyLmdnMB4XDTE5MDEwODE0NDYzNloXDTI5MDEwNTE0NDYz
|
|
28
|
+
* \x09\x09\x09\x09\x09NlowgYAxCzAJBgNVBAYTAnVzMQswCQYDVQQIDAJJQTEkMCIGA1UECgwbdGVycmFm
|
|
29
|
+
* \x09\x09\x09\x09\x09b3JtLXByb3ZpZGVyLWtleWNsb2FrMRwwGgYDVQQDDBNtcnBhcmtlcnMuZ2l0aHVi
|
|
30
|
+
* \x09\x09\x09\x09\x09LmlvMSAwHgYJKoZIhvcNAQkBFhFtaWNoYWVsQHBhcmtlci5nZzCBnzANBgkqhkiG
|
|
31
|
+
* \x09\x09\x09\x09\x099w0BAQEFAAOBjQAwgYkCgYEAxuZny7uyYxGVPtpie14gNQC4tT9sAvO2sVNDhuoe
|
|
32
|
+
* \x09\x09\x09\x09\x09qIKLRpNwkHnwQmwe5OxSh9K0BPHp/DNuuVWUqvo4tniEYn3jBr7FwLYLTKojQIxj
|
|
33
|
+
* \x09\x09\x09\x09\x0953S1UTT9EXq3eP5HsHMD0QnTuca2nlNYUDBm6ud2fQj0Jt5qLx86EbEC28N56IRv
|
|
34
|
+
* \x09\x09\x09\x09\x09GX8CAwEAAaNQME4wHQYDVR0OBBYEFMLnbQh77j7vhGTpAhKpDhCrBsPZMB8GA1Ud
|
|
35
|
+
* \x09\x09\x09\x09\x09IwQYMBaAFMLnbQh77j7vhGTpAhKpDhCrBsPZMAwGA1UdEwQFMAMBAf8wDQYJKoZI
|
|
36
|
+
* \x09\x09\x09\x09\x09hvcNAQENBQADgYEAB8wGrAQY0pAfwbnYSyBt4STbebeRTu1/q1ucfrtc3qsegcd5
|
|
37
|
+
* \x09\x09\x09\x09\x09n01xTR+T2uZJwqHFPpFjr4IPORiHx3+4BWCweslPD53qBjKUPXcbMO1Revjef6Tj
|
|
38
|
+
* \x09\x09\x09\x09\x09K3K0AuJ94fxgXVoT61Nzu/a6Lj6RhzU/Dao9mlSbJY+YSbm+ZBpsuRUQ84s=</ds:X509Certificate>
|
|
39
|
+
* \x09\x09\x09\x09</ds:X509Data>
|
|
40
|
+
* \x09\x09\x09</ds:KeyInfo>
|
|
41
|
+
* \x09\x09</md:KeyDescriptor>
|
|
42
|
+
* \x09\x09<md:NameIDFormat>urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified</md:NameIDFormat>
|
|
43
43
|
* <md:AssertionConsumerService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" Location="https://localhost/acs/saml/" index="1"/>
|
|
44
44
|
* </md:SPSSODescriptor>
|
|
45
45
|
* </md:EntityDescriptor>
|
|
46
46
|
* `,
|
|
47
47
|
* });
|
|
48
|
-
* const samlClientClient = new keycloak.saml.Client("
|
|
48
|
+
* const samlClientClient = new keycloak.saml.Client("saml_client", {
|
|
49
49
|
* realmId: realm.id,
|
|
50
|
-
* clientId:
|
|
50
|
+
* clientId: samlClient.apply(samlClient => samlClient.clientId),
|
|
51
51
|
* });
|
|
52
52
|
* ```
|
|
53
53
|
*/
|
|
@@ -135,40 +135,40 @@ export interface GetClientDescriptionConverterResult {
|
|
|
135
135
|
* realm: "my-realm",
|
|
136
136
|
* enabled: true,
|
|
137
137
|
* });
|
|
138
|
-
* const
|
|
138
|
+
* const samlClient = keycloak.getClientDescriptionConverterOutput({
|
|
139
139
|
* realmId: realm.id,
|
|
140
|
-
* body:
|
|
140
|
+
* body: `\x09<md:EntityDescriptor xmlns:md="urn:oasis:names:tc:SAML:2.0:metadata" validUntil="2021-04-17T12:41:46Z" cacheDuration="PT604800S" entityID="FakeEntityId">
|
|
141
141
|
* <md:SPSSODescriptor AuthnRequestsSigned="false" WantAssertionsSigned="false" protocolSupportEnumeration="urn:oasis:names:tc:SAML:2.0:protocol">
|
|
142
142
|
* <md:KeyDescriptor use="signing">
|
|
143
|
-
*
|
|
144
|
-
*
|
|
145
|
-
*
|
|
146
|
-
*
|
|
147
|
-
*
|
|
148
|
-
*
|
|
149
|
-
*
|
|
150
|
-
*
|
|
151
|
-
*
|
|
152
|
-
*
|
|
153
|
-
*
|
|
154
|
-
*
|
|
155
|
-
*
|
|
156
|
-
*
|
|
157
|
-
*
|
|
158
|
-
*
|
|
159
|
-
*
|
|
160
|
-
*
|
|
161
|
-
*
|
|
162
|
-
*
|
|
163
|
-
*
|
|
143
|
+
* \x09\x09\x09<ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
|
|
144
|
+
* \x09\x09\x09\x09<ds:X509Data>
|
|
145
|
+
* \x09\x09\x09\x09\x09<ds:X509Certificate>MIICyDCCAjGgAwIBAgIBADANBgkqhkiG9w0BAQ0FADCBgDELMAkGA1UEBhMCdXMx
|
|
146
|
+
* \x09\x09\x09\x09\x09CzAJBgNVBAgMAklBMSQwIgYDVQQKDBt0ZXJyYWZvcm0tcHJvdmlkZXIta2V5Y2xv
|
|
147
|
+
* \x09\x09\x09\x09\x09YWsxHDAaBgNVBAMME21ycGFya2Vycy5naXRodWIuaW8xIDAeBgkqhkiG9w0BCQEW
|
|
148
|
+
* \x09\x09\x09\x09\x09EW1pY2hhZWxAcGFya2VyLmdnMB4XDTE5MDEwODE0NDYzNloXDTI5MDEwNTE0NDYz
|
|
149
|
+
* \x09\x09\x09\x09\x09NlowgYAxCzAJBgNVBAYTAnVzMQswCQYDVQQIDAJJQTEkMCIGA1UECgwbdGVycmFm
|
|
150
|
+
* \x09\x09\x09\x09\x09b3JtLXByb3ZpZGVyLWtleWNsb2FrMRwwGgYDVQQDDBNtcnBhcmtlcnMuZ2l0aHVi
|
|
151
|
+
* \x09\x09\x09\x09\x09LmlvMSAwHgYJKoZIhvcNAQkBFhFtaWNoYWVsQHBhcmtlci5nZzCBnzANBgkqhkiG
|
|
152
|
+
* \x09\x09\x09\x09\x099w0BAQEFAAOBjQAwgYkCgYEAxuZny7uyYxGVPtpie14gNQC4tT9sAvO2sVNDhuoe
|
|
153
|
+
* \x09\x09\x09\x09\x09qIKLRpNwkHnwQmwe5OxSh9K0BPHp/DNuuVWUqvo4tniEYn3jBr7FwLYLTKojQIxj
|
|
154
|
+
* \x09\x09\x09\x09\x0953S1UTT9EXq3eP5HsHMD0QnTuca2nlNYUDBm6ud2fQj0Jt5qLx86EbEC28N56IRv
|
|
155
|
+
* \x09\x09\x09\x09\x09GX8CAwEAAaNQME4wHQYDVR0OBBYEFMLnbQh77j7vhGTpAhKpDhCrBsPZMB8GA1Ud
|
|
156
|
+
* \x09\x09\x09\x09\x09IwQYMBaAFMLnbQh77j7vhGTpAhKpDhCrBsPZMAwGA1UdEwQFMAMBAf8wDQYJKoZI
|
|
157
|
+
* \x09\x09\x09\x09\x09hvcNAQENBQADgYEAB8wGrAQY0pAfwbnYSyBt4STbebeRTu1/q1ucfrtc3qsegcd5
|
|
158
|
+
* \x09\x09\x09\x09\x09n01xTR+T2uZJwqHFPpFjr4IPORiHx3+4BWCweslPD53qBjKUPXcbMO1Revjef6Tj
|
|
159
|
+
* \x09\x09\x09\x09\x09K3K0AuJ94fxgXVoT61Nzu/a6Lj6RhzU/Dao9mlSbJY+YSbm+ZBpsuRUQ84s=</ds:X509Certificate>
|
|
160
|
+
* \x09\x09\x09\x09</ds:X509Data>
|
|
161
|
+
* \x09\x09\x09</ds:KeyInfo>
|
|
162
|
+
* \x09\x09</md:KeyDescriptor>
|
|
163
|
+
* \x09\x09<md:NameIDFormat>urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified</md:NameIDFormat>
|
|
164
164
|
* <md:AssertionConsumerService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" Location="https://localhost/acs/saml/" index="1"/>
|
|
165
165
|
* </md:SPSSODescriptor>
|
|
166
166
|
* </md:EntityDescriptor>
|
|
167
167
|
* `,
|
|
168
168
|
* });
|
|
169
|
-
* const samlClientClient = new keycloak.saml.Client("
|
|
169
|
+
* const samlClientClient = new keycloak.saml.Client("saml_client", {
|
|
170
170
|
* realmId: realm.id,
|
|
171
|
-
* clientId:
|
|
171
|
+
* clientId: samlClient.apply(samlClient => samlClient.clientId),
|
|
172
172
|
* });
|
|
173
173
|
* ```
|
|
174
174
|
*/
|
|
@@ -19,40 +19,40 @@ const utilities = require("./utilities");
|
|
|
19
19
|
* realm: "my-realm",
|
|
20
20
|
* enabled: true,
|
|
21
21
|
* });
|
|
22
|
-
* const
|
|
22
|
+
* const samlClient = keycloak.getClientDescriptionConverterOutput({
|
|
23
23
|
* realmId: realm.id,
|
|
24
|
-
* body:
|
|
24
|
+
* body: `\x09<md:EntityDescriptor xmlns:md="urn:oasis:names:tc:SAML:2.0:metadata" validUntil="2021-04-17T12:41:46Z" cacheDuration="PT604800S" entityID="FakeEntityId">
|
|
25
25
|
* <md:SPSSODescriptor AuthnRequestsSigned="false" WantAssertionsSigned="false" protocolSupportEnumeration="urn:oasis:names:tc:SAML:2.0:protocol">
|
|
26
26
|
* <md:KeyDescriptor use="signing">
|
|
27
|
-
*
|
|
28
|
-
*
|
|
29
|
-
*
|
|
30
|
-
*
|
|
31
|
-
*
|
|
32
|
-
*
|
|
33
|
-
*
|
|
34
|
-
*
|
|
35
|
-
*
|
|
36
|
-
*
|
|
37
|
-
*
|
|
38
|
-
*
|
|
39
|
-
*
|
|
40
|
-
*
|
|
41
|
-
*
|
|
42
|
-
*
|
|
43
|
-
*
|
|
44
|
-
*
|
|
45
|
-
*
|
|
46
|
-
*
|
|
47
|
-
*
|
|
27
|
+
* \x09\x09\x09<ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
|
|
28
|
+
* \x09\x09\x09\x09<ds:X509Data>
|
|
29
|
+
* \x09\x09\x09\x09\x09<ds:X509Certificate>MIICyDCCAjGgAwIBAgIBADANBgkqhkiG9w0BAQ0FADCBgDELMAkGA1UEBhMCdXMx
|
|
30
|
+
* \x09\x09\x09\x09\x09CzAJBgNVBAgMAklBMSQwIgYDVQQKDBt0ZXJyYWZvcm0tcHJvdmlkZXIta2V5Y2xv
|
|
31
|
+
* \x09\x09\x09\x09\x09YWsxHDAaBgNVBAMME21ycGFya2Vycy5naXRodWIuaW8xIDAeBgkqhkiG9w0BCQEW
|
|
32
|
+
* \x09\x09\x09\x09\x09EW1pY2hhZWxAcGFya2VyLmdnMB4XDTE5MDEwODE0NDYzNloXDTI5MDEwNTE0NDYz
|
|
33
|
+
* \x09\x09\x09\x09\x09NlowgYAxCzAJBgNVBAYTAnVzMQswCQYDVQQIDAJJQTEkMCIGA1UECgwbdGVycmFm
|
|
34
|
+
* \x09\x09\x09\x09\x09b3JtLXByb3ZpZGVyLWtleWNsb2FrMRwwGgYDVQQDDBNtcnBhcmtlcnMuZ2l0aHVi
|
|
35
|
+
* \x09\x09\x09\x09\x09LmlvMSAwHgYJKoZIhvcNAQkBFhFtaWNoYWVsQHBhcmtlci5nZzCBnzANBgkqhkiG
|
|
36
|
+
* \x09\x09\x09\x09\x099w0BAQEFAAOBjQAwgYkCgYEAxuZny7uyYxGVPtpie14gNQC4tT9sAvO2sVNDhuoe
|
|
37
|
+
* \x09\x09\x09\x09\x09qIKLRpNwkHnwQmwe5OxSh9K0BPHp/DNuuVWUqvo4tniEYn3jBr7FwLYLTKojQIxj
|
|
38
|
+
* \x09\x09\x09\x09\x0953S1UTT9EXq3eP5HsHMD0QnTuca2nlNYUDBm6ud2fQj0Jt5qLx86EbEC28N56IRv
|
|
39
|
+
* \x09\x09\x09\x09\x09GX8CAwEAAaNQME4wHQYDVR0OBBYEFMLnbQh77j7vhGTpAhKpDhCrBsPZMB8GA1Ud
|
|
40
|
+
* \x09\x09\x09\x09\x09IwQYMBaAFMLnbQh77j7vhGTpAhKpDhCrBsPZMAwGA1UdEwQFMAMBAf8wDQYJKoZI
|
|
41
|
+
* \x09\x09\x09\x09\x09hvcNAQENBQADgYEAB8wGrAQY0pAfwbnYSyBt4STbebeRTu1/q1ucfrtc3qsegcd5
|
|
42
|
+
* \x09\x09\x09\x09\x09n01xTR+T2uZJwqHFPpFjr4IPORiHx3+4BWCweslPD53qBjKUPXcbMO1Revjef6Tj
|
|
43
|
+
* \x09\x09\x09\x09\x09K3K0AuJ94fxgXVoT61Nzu/a6Lj6RhzU/Dao9mlSbJY+YSbm+ZBpsuRUQ84s=</ds:X509Certificate>
|
|
44
|
+
* \x09\x09\x09\x09</ds:X509Data>
|
|
45
|
+
* \x09\x09\x09</ds:KeyInfo>
|
|
46
|
+
* \x09\x09</md:KeyDescriptor>
|
|
47
|
+
* \x09\x09<md:NameIDFormat>urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified</md:NameIDFormat>
|
|
48
48
|
* <md:AssertionConsumerService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" Location="https://localhost/acs/saml/" index="1"/>
|
|
49
49
|
* </md:SPSSODescriptor>
|
|
50
50
|
* </md:EntityDescriptor>
|
|
51
51
|
* `,
|
|
52
52
|
* });
|
|
53
|
-
* const samlClientClient = new keycloak.saml.Client("
|
|
53
|
+
* const samlClientClient = new keycloak.saml.Client("saml_client", {
|
|
54
54
|
* realmId: realm.id,
|
|
55
|
-
* clientId:
|
|
55
|
+
* clientId: samlClient.apply(samlClient => samlClient.clientId),
|
|
56
56
|
* });
|
|
57
57
|
* ```
|
|
58
58
|
*/
|
|
@@ -78,40 +78,40 @@ exports.getClientDescriptionConverter = getClientDescriptionConverter;
|
|
|
78
78
|
* realm: "my-realm",
|
|
79
79
|
* enabled: true,
|
|
80
80
|
* });
|
|
81
|
-
* const
|
|
81
|
+
* const samlClient = keycloak.getClientDescriptionConverterOutput({
|
|
82
82
|
* realmId: realm.id,
|
|
83
|
-
* body:
|
|
83
|
+
* body: `\x09<md:EntityDescriptor xmlns:md="urn:oasis:names:tc:SAML:2.0:metadata" validUntil="2021-04-17T12:41:46Z" cacheDuration="PT604800S" entityID="FakeEntityId">
|
|
84
84
|
* <md:SPSSODescriptor AuthnRequestsSigned="false" WantAssertionsSigned="false" protocolSupportEnumeration="urn:oasis:names:tc:SAML:2.0:protocol">
|
|
85
85
|
* <md:KeyDescriptor use="signing">
|
|
86
|
-
*
|
|
87
|
-
*
|
|
88
|
-
*
|
|
89
|
-
*
|
|
90
|
-
*
|
|
91
|
-
*
|
|
92
|
-
*
|
|
93
|
-
*
|
|
94
|
-
*
|
|
95
|
-
*
|
|
96
|
-
*
|
|
97
|
-
*
|
|
98
|
-
*
|
|
99
|
-
*
|
|
100
|
-
*
|
|
101
|
-
*
|
|
102
|
-
*
|
|
103
|
-
*
|
|
104
|
-
*
|
|
105
|
-
*
|
|
106
|
-
*
|
|
86
|
+
* \x09\x09\x09<ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
|
|
87
|
+
* \x09\x09\x09\x09<ds:X509Data>
|
|
88
|
+
* \x09\x09\x09\x09\x09<ds:X509Certificate>MIICyDCCAjGgAwIBAgIBADANBgkqhkiG9w0BAQ0FADCBgDELMAkGA1UEBhMCdXMx
|
|
89
|
+
* \x09\x09\x09\x09\x09CzAJBgNVBAgMAklBMSQwIgYDVQQKDBt0ZXJyYWZvcm0tcHJvdmlkZXIta2V5Y2xv
|
|
90
|
+
* \x09\x09\x09\x09\x09YWsxHDAaBgNVBAMME21ycGFya2Vycy5naXRodWIuaW8xIDAeBgkqhkiG9w0BCQEW
|
|
91
|
+
* \x09\x09\x09\x09\x09EW1pY2hhZWxAcGFya2VyLmdnMB4XDTE5MDEwODE0NDYzNloXDTI5MDEwNTE0NDYz
|
|
92
|
+
* \x09\x09\x09\x09\x09NlowgYAxCzAJBgNVBAYTAnVzMQswCQYDVQQIDAJJQTEkMCIGA1UECgwbdGVycmFm
|
|
93
|
+
* \x09\x09\x09\x09\x09b3JtLXByb3ZpZGVyLWtleWNsb2FrMRwwGgYDVQQDDBNtcnBhcmtlcnMuZ2l0aHVi
|
|
94
|
+
* \x09\x09\x09\x09\x09LmlvMSAwHgYJKoZIhvcNAQkBFhFtaWNoYWVsQHBhcmtlci5nZzCBnzANBgkqhkiG
|
|
95
|
+
* \x09\x09\x09\x09\x099w0BAQEFAAOBjQAwgYkCgYEAxuZny7uyYxGVPtpie14gNQC4tT9sAvO2sVNDhuoe
|
|
96
|
+
* \x09\x09\x09\x09\x09qIKLRpNwkHnwQmwe5OxSh9K0BPHp/DNuuVWUqvo4tniEYn3jBr7FwLYLTKojQIxj
|
|
97
|
+
* \x09\x09\x09\x09\x0953S1UTT9EXq3eP5HsHMD0QnTuca2nlNYUDBm6ud2fQj0Jt5qLx86EbEC28N56IRv
|
|
98
|
+
* \x09\x09\x09\x09\x09GX8CAwEAAaNQME4wHQYDVR0OBBYEFMLnbQh77j7vhGTpAhKpDhCrBsPZMB8GA1Ud
|
|
99
|
+
* \x09\x09\x09\x09\x09IwQYMBaAFMLnbQh77j7vhGTpAhKpDhCrBsPZMAwGA1UdEwQFMAMBAf8wDQYJKoZI
|
|
100
|
+
* \x09\x09\x09\x09\x09hvcNAQENBQADgYEAB8wGrAQY0pAfwbnYSyBt4STbebeRTu1/q1ucfrtc3qsegcd5
|
|
101
|
+
* \x09\x09\x09\x09\x09n01xTR+T2uZJwqHFPpFjr4IPORiHx3+4BWCweslPD53qBjKUPXcbMO1Revjef6Tj
|
|
102
|
+
* \x09\x09\x09\x09\x09K3K0AuJ94fxgXVoT61Nzu/a6Lj6RhzU/Dao9mlSbJY+YSbm+ZBpsuRUQ84s=</ds:X509Certificate>
|
|
103
|
+
* \x09\x09\x09\x09</ds:X509Data>
|
|
104
|
+
* \x09\x09\x09</ds:KeyInfo>
|
|
105
|
+
* \x09\x09</md:KeyDescriptor>
|
|
106
|
+
* \x09\x09<md:NameIDFormat>urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified</md:NameIDFormat>
|
|
107
107
|
* <md:AssertionConsumerService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" Location="https://localhost/acs/saml/" index="1"/>
|
|
108
108
|
* </md:SPSSODescriptor>
|
|
109
109
|
* </md:EntityDescriptor>
|
|
110
110
|
* `,
|
|
111
111
|
* });
|
|
112
|
-
* const samlClientClient = new keycloak.saml.Client("
|
|
112
|
+
* const samlClientClient = new keycloak.saml.Client("saml_client", {
|
|
113
113
|
* realmId: realm.id,
|
|
114
|
-
* clientId:
|
|
114
|
+
* clientId: samlClient.apply(samlClient => samlClient.clientId),
|
|
115
115
|
* });
|
|
116
116
|
* ```
|
|
117
117
|
*/
|
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,10 +2,12 @@ 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
|
*
|
|
10
12
|
* ```typescript
|
|
11
13
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -14,8 +16,22 @@ import * as outputs from "./types/output";
|
|
|
14
16
|
* const realm = keycloak.getRealm({
|
|
15
17
|
* realm: "my-realm",
|
|
16
18
|
* });
|
|
17
|
-
*
|
|
19
|
+
* // use the data source
|
|
20
|
+
* const group = new keycloak.Role("group", {
|
|
21
|
+
* realmId: id,
|
|
22
|
+
* name: "group",
|
|
23
|
+
* });
|
|
18
24
|
* ```
|
|
25
|
+
*
|
|
26
|
+
* ### Argument Reference
|
|
27
|
+
*
|
|
28
|
+
* The following arguments are supported:
|
|
29
|
+
*
|
|
30
|
+
* - `realm` - (Required) The realm name.
|
|
31
|
+
*
|
|
32
|
+
* ### Attributes Reference
|
|
33
|
+
*
|
|
34
|
+
* See the docs for the `keycloak.Realm` resource for details on the exported attributes.
|
|
19
35
|
*/
|
|
20
36
|
export declare function getRealm(args: GetRealmArgs, opts?: pulumi.InvokeOptions): Promise<GetRealmResult>;
|
|
21
37
|
/**
|
|
@@ -30,9 +46,6 @@ export interface GetRealmArgs {
|
|
|
30
46
|
displayNameHtml?: string;
|
|
31
47
|
internationalizations?: inputs.GetRealmInternationalization[];
|
|
32
48
|
otpPolicy?: inputs.GetRealmOtpPolicy;
|
|
33
|
-
/**
|
|
34
|
-
* The realm name.
|
|
35
|
-
*/
|
|
36
49
|
realm: string;
|
|
37
50
|
securityDefenses?: inputs.GetRealmSecurityDefense[];
|
|
38
51
|
smtpServers?: inputs.GetRealmSmtpServer[];
|
|
@@ -107,10 +120,12 @@ export interface GetRealmResult {
|
|
|
107
120
|
readonly webAuthnPolicy: outputs.GetRealmWebAuthnPolicy;
|
|
108
121
|
}
|
|
109
122
|
/**
|
|
123
|
+
* ## # keycloak.Realm data source
|
|
124
|
+
*
|
|
110
125
|
* This data source can be used to fetch properties of a Keycloak realm for
|
|
111
126
|
* usage with other resources.
|
|
112
127
|
*
|
|
113
|
-
*
|
|
128
|
+
* ### Example Usage
|
|
114
129
|
*
|
|
115
130
|
* ```typescript
|
|
116
131
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -119,8 +134,22 @@ export interface GetRealmResult {
|
|
|
119
134
|
* const realm = keycloak.getRealm({
|
|
120
135
|
* realm: "my-realm",
|
|
121
136
|
* });
|
|
122
|
-
*
|
|
137
|
+
* // use the data source
|
|
138
|
+
* const group = new keycloak.Role("group", {
|
|
139
|
+
* realmId: id,
|
|
140
|
+
* name: "group",
|
|
141
|
+
* });
|
|
123
142
|
* ```
|
|
143
|
+
*
|
|
144
|
+
* ### Argument Reference
|
|
145
|
+
*
|
|
146
|
+
* The following arguments are supported:
|
|
147
|
+
*
|
|
148
|
+
* - `realm` - (Required) The realm name.
|
|
149
|
+
*
|
|
150
|
+
* ### Attributes Reference
|
|
151
|
+
*
|
|
152
|
+
* See the docs for the `keycloak.Realm` resource for details on the exported attributes.
|
|
124
153
|
*/
|
|
125
154
|
export declare function getRealmOutput(args: GetRealmOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetRealmResult>;
|
|
126
155
|
/**
|
|
@@ -135,9 +164,6 @@ export interface GetRealmOutputArgs {
|
|
|
135
164
|
displayNameHtml?: pulumi.Input<string>;
|
|
136
165
|
internationalizations?: pulumi.Input<pulumi.Input<inputs.GetRealmInternationalizationArgs>[]>;
|
|
137
166
|
otpPolicy?: pulumi.Input<inputs.GetRealmOtpPolicyArgs>;
|
|
138
|
-
/**
|
|
139
|
-
* The realm name.
|
|
140
|
-
*/
|
|
141
167
|
realm: pulumi.Input<string>;
|
|
142
168
|
securityDefenses?: pulumi.Input<pulumi.Input<inputs.GetRealmSecurityDefenseArgs>[]>;
|
|
143
169
|
smtpServers?: pulumi.Input<pulumi.Input<inputs.GetRealmSmtpServerArgs>[]>;
|
package/getRealm.js
CHANGED
|
@@ -6,10 +6,12 @@ exports.getRealmOutput = exports.getRealm = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
+
* ## # keycloak.Realm data source
|
|
10
|
+
*
|
|
9
11
|
* This data source can be used to fetch properties of a Keycloak realm for
|
|
10
12
|
* usage with other resources.
|
|
11
13
|
*
|
|
12
|
-
*
|
|
14
|
+
* ### Example Usage
|
|
13
15
|
*
|
|
14
16
|
* ```typescript
|
|
15
17
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -18,8 +20,22 @@ const utilities = require("./utilities");
|
|
|
18
20
|
* const realm = keycloak.getRealm({
|
|
19
21
|
* realm: "my-realm",
|
|
20
22
|
* });
|
|
21
|
-
*
|
|
23
|
+
* // use the data source
|
|
24
|
+
* const group = new keycloak.Role("group", {
|
|
25
|
+
* realmId: id,
|
|
26
|
+
* name: "group",
|
|
27
|
+
* });
|
|
22
28
|
* ```
|
|
29
|
+
*
|
|
30
|
+
* ### Argument Reference
|
|
31
|
+
*
|
|
32
|
+
* The following arguments are supported:
|
|
33
|
+
*
|
|
34
|
+
* - `realm` - (Required) The realm name.
|
|
35
|
+
*
|
|
36
|
+
* ### Attributes Reference
|
|
37
|
+
*
|
|
38
|
+
* See the docs for the `keycloak.Realm` resource for details on the exported attributes.
|
|
23
39
|
*/
|
|
24
40
|
function getRealm(args, opts) {
|
|
25
41
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -39,10 +55,12 @@ function getRealm(args, opts) {
|
|
|
39
55
|
}
|
|
40
56
|
exports.getRealm = getRealm;
|
|
41
57
|
/**
|
|
58
|
+
* ## # keycloak.Realm data source
|
|
59
|
+
*
|
|
42
60
|
* This data source can be used to fetch properties of a Keycloak realm for
|
|
43
61
|
* usage with other resources.
|
|
44
62
|
*
|
|
45
|
-
*
|
|
63
|
+
* ### Example Usage
|
|
46
64
|
*
|
|
47
65
|
* ```typescript
|
|
48
66
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -51,8 +69,22 @@ exports.getRealm = getRealm;
|
|
|
51
69
|
* const realm = keycloak.getRealm({
|
|
52
70
|
* realm: "my-realm",
|
|
53
71
|
* });
|
|
54
|
-
*
|
|
72
|
+
* // use the data source
|
|
73
|
+
* const group = new keycloak.Role("group", {
|
|
74
|
+
* realmId: id,
|
|
75
|
+
* name: "group",
|
|
76
|
+
* });
|
|
55
77
|
* ```
|
|
78
|
+
*
|
|
79
|
+
* ### Argument Reference
|
|
80
|
+
*
|
|
81
|
+
* The following arguments are supported:
|
|
82
|
+
*
|
|
83
|
+
* - `realm` - (Required) The realm name.
|
|
84
|
+
*
|
|
85
|
+
* ### Attributes Reference
|
|
86
|
+
*
|
|
87
|
+
* See the docs for the `keycloak.Realm` resource for details on the exported attributes.
|
|
56
88
|
*/
|
|
57
89
|
function getRealmOutput(args, opts) {
|
|
58
90
|
return pulumi.output(args).apply((a) => getRealm(a, opts));
|
package/getRealm.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getRealm.js","sourceRoot":"","sources":["../getRealm.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getRealm.js","sourceRoot":"","sources":["../getRealm.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;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,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,4BAA4B,EAAE,IAAI,CAAC,0BAA0B;QAC7D,6BAA6B,EAAE,IAAI,CAAC,2BAA2B;QAC/D,iBAAiB,EAAE,IAAI,CAAC,eAAe;QACvC,uBAAuB,EAAE,IAAI,CAAC,qBAAqB;QACnD,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,kBAAkB,EAAE,IAAI,CAAC,gBAAgB;QACzC,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,4BAA4B,EAAE,IAAI,CAAC,0BAA0B;QAC7D,gBAAgB,EAAE,IAAI,CAAC,cAAc;KACxC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAhBD,4BAgBC;AAoFD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;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"}
|