@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
package/getRealm.js
CHANGED
|
@@ -6,11 +6,14 @@ 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
|
*
|
|
16
|
+
* <!--Start PulumiCodeChooser -->
|
|
14
17
|
* ```typescript
|
|
15
18
|
* import * as pulumi from "@pulumi/pulumi";
|
|
16
19
|
* import * as keycloak from "@pulumi/keycloak";
|
|
@@ -18,8 +21,19 @@ const utilities = require("./utilities");
|
|
|
18
21
|
* const realm = keycloak.getRealm({
|
|
19
22
|
* realm: "my-realm",
|
|
20
23
|
* });
|
|
21
|
-
* const group = new keycloak.Role("group", {realmId:
|
|
24
|
+
* const group = new keycloak.Role("group", {realmId: data.keycloak_realm.id});
|
|
22
25
|
* ```
|
|
26
|
+
* <!--End PulumiCodeChooser -->
|
|
27
|
+
*
|
|
28
|
+
* ### Argument Reference
|
|
29
|
+
*
|
|
30
|
+
* The following arguments are supported:
|
|
31
|
+
*
|
|
32
|
+
* - `realm` - (Required) The realm name.
|
|
33
|
+
*
|
|
34
|
+
* ### Attributes Reference
|
|
35
|
+
*
|
|
36
|
+
* See the docs for the `keycloak.Realm` resource for details on the exported attributes.
|
|
23
37
|
*/
|
|
24
38
|
function getRealm(args, opts) {
|
|
25
39
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -39,11 +53,14 @@ function getRealm(args, opts) {
|
|
|
39
53
|
}
|
|
40
54
|
exports.getRealm = getRealm;
|
|
41
55
|
/**
|
|
56
|
+
* ## # keycloak.Realm data source
|
|
57
|
+
*
|
|
42
58
|
* This data source can be used to fetch properties of a Keycloak realm for
|
|
43
59
|
* usage with other resources.
|
|
44
60
|
*
|
|
45
|
-
*
|
|
61
|
+
* ### Example Usage
|
|
46
62
|
*
|
|
63
|
+
* <!--Start PulumiCodeChooser -->
|
|
47
64
|
* ```typescript
|
|
48
65
|
* import * as pulumi from "@pulumi/pulumi";
|
|
49
66
|
* import * as keycloak from "@pulumi/keycloak";
|
|
@@ -51,8 +68,19 @@ exports.getRealm = getRealm;
|
|
|
51
68
|
* const realm = keycloak.getRealm({
|
|
52
69
|
* realm: "my-realm",
|
|
53
70
|
* });
|
|
54
|
-
* const group = new keycloak.Role("group", {realmId:
|
|
71
|
+
* const group = new keycloak.Role("group", {realmId: data.keycloak_realm.id});
|
|
55
72
|
* ```
|
|
73
|
+
* <!--End PulumiCodeChooser -->
|
|
74
|
+
*
|
|
75
|
+
* ### Argument Reference
|
|
76
|
+
*
|
|
77
|
+
* The following arguments are supported:
|
|
78
|
+
*
|
|
79
|
+
* - `realm` - (Required) The realm name.
|
|
80
|
+
*
|
|
81
|
+
* ### Attributes Reference
|
|
82
|
+
*
|
|
83
|
+
* See the docs for the `keycloak.Realm` resource for details on the exported attributes.
|
|
56
84
|
*/
|
|
57
85
|
function getRealmOutput(args, opts) {
|
|
58
86
|
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;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/getRealmKeys.d.ts
CHANGED
|
@@ -1,30 +1,23 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
import * as outputs from "./types/output";
|
|
3
3
|
/**
|
|
4
|
+
* ## # keycloak.getRealmKeys data source
|
|
5
|
+
*
|
|
4
6
|
* Use this data source to get the keys of a realm. Keys can be filtered by algorithm and status.
|
|
5
7
|
*
|
|
6
8
|
* Remarks:
|
|
7
9
|
*
|
|
8
10
|
* - A key must meet all filter criteria
|
|
9
|
-
* - This
|
|
10
|
-
* - If no key matches the filter criteria, then an error
|
|
11
|
+
* - This datasource may return more than one value.
|
|
12
|
+
* - If no key matches the filter criteria, then an error is returned.
|
|
11
13
|
*/
|
|
12
14
|
export declare function getRealmKeys(args: GetRealmKeysArgs, opts?: pulumi.InvokeOptions): Promise<GetRealmKeysResult>;
|
|
13
15
|
/**
|
|
14
16
|
* A collection of arguments for invoking getRealmKeys.
|
|
15
17
|
*/
|
|
16
18
|
export interface GetRealmKeysArgs {
|
|
17
|
-
/**
|
|
18
|
-
* When specified, keys will be filtered by algorithm. The algorithms can be any of `HS256`, `RS256`,`AES`, etc.
|
|
19
|
-
*/
|
|
20
19
|
algorithms?: string[];
|
|
21
|
-
/**
|
|
22
|
-
* The realm from which the keys will be retrieved.
|
|
23
|
-
*/
|
|
24
20
|
realmId: string;
|
|
25
|
-
/**
|
|
26
|
-
* When specified, keys will be filtered by status. The statuses can be any of `ACTIVE`, `DISABLED` and `PASSIVE`.
|
|
27
|
-
*/
|
|
28
21
|
statuses?: string[];
|
|
29
22
|
}
|
|
30
23
|
/**
|
|
@@ -36,40 +29,27 @@ export interface GetRealmKeysResult {
|
|
|
36
29
|
* The provider-assigned unique ID for this managed resource.
|
|
37
30
|
*/
|
|
38
31
|
readonly id: string;
|
|
39
|
-
/**
|
|
40
|
-
* (Computed) A list of keys that match the filter criteria. Each key has the following attributes:
|
|
41
|
-
*/
|
|
42
32
|
readonly keys: outputs.GetRealmKeysKey[];
|
|
43
33
|
readonly realmId: string;
|
|
44
|
-
/**
|
|
45
|
-
* Key status (string)
|
|
46
|
-
*/
|
|
47
34
|
readonly statuses?: string[];
|
|
48
35
|
}
|
|
49
36
|
/**
|
|
37
|
+
* ## # keycloak.getRealmKeys data source
|
|
38
|
+
*
|
|
50
39
|
* Use this data source to get the keys of a realm. Keys can be filtered by algorithm and status.
|
|
51
40
|
*
|
|
52
41
|
* Remarks:
|
|
53
42
|
*
|
|
54
43
|
* - A key must meet all filter criteria
|
|
55
|
-
* - This
|
|
56
|
-
* - If no key matches the filter criteria, then an error
|
|
44
|
+
* - This datasource may return more than one value.
|
|
45
|
+
* - If no key matches the filter criteria, then an error is returned.
|
|
57
46
|
*/
|
|
58
47
|
export declare function getRealmKeysOutput(args: GetRealmKeysOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetRealmKeysResult>;
|
|
59
48
|
/**
|
|
60
49
|
* A collection of arguments for invoking getRealmKeys.
|
|
61
50
|
*/
|
|
62
51
|
export interface GetRealmKeysOutputArgs {
|
|
63
|
-
/**
|
|
64
|
-
* When specified, keys will be filtered by algorithm. The algorithms can be any of `HS256`, `RS256`,`AES`, etc.
|
|
65
|
-
*/
|
|
66
52
|
algorithms?: pulumi.Input<pulumi.Input<string>[]>;
|
|
67
|
-
/**
|
|
68
|
-
* The realm from which the keys will be retrieved.
|
|
69
|
-
*/
|
|
70
53
|
realmId: pulumi.Input<string>;
|
|
71
|
-
/**
|
|
72
|
-
* When specified, keys will be filtered by status. The statuses can be any of `ACTIVE`, `DISABLED` and `PASSIVE`.
|
|
73
|
-
*/
|
|
74
54
|
statuses?: pulumi.Input<pulumi.Input<string>[]>;
|
|
75
55
|
}
|
package/getRealmKeys.js
CHANGED
|
@@ -6,13 +6,15 @@ exports.getRealmKeysOutput = exports.getRealmKeys = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
+
* ## # keycloak.getRealmKeys data source
|
|
10
|
+
*
|
|
9
11
|
* Use this data source to get the keys of a realm. Keys can be filtered by algorithm and status.
|
|
10
12
|
*
|
|
11
13
|
* Remarks:
|
|
12
14
|
*
|
|
13
15
|
* - A key must meet all filter criteria
|
|
14
|
-
* - This
|
|
15
|
-
* - If no key matches the filter criteria, then an error
|
|
16
|
+
* - This datasource may return more than one value.
|
|
17
|
+
* - If no key matches the filter criteria, then an error is returned.
|
|
16
18
|
*/
|
|
17
19
|
function getRealmKeys(args, opts) {
|
|
18
20
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -24,13 +26,15 @@ function getRealmKeys(args, opts) {
|
|
|
24
26
|
}
|
|
25
27
|
exports.getRealmKeys = getRealmKeys;
|
|
26
28
|
/**
|
|
29
|
+
* ## # keycloak.getRealmKeys data source
|
|
30
|
+
*
|
|
27
31
|
* Use this data source to get the keys of a realm. Keys can be filtered by algorithm and status.
|
|
28
32
|
*
|
|
29
33
|
* Remarks:
|
|
30
34
|
*
|
|
31
35
|
* - A key must meet all filter criteria
|
|
32
|
-
* - This
|
|
33
|
-
* - If no key matches the filter criteria, then an error
|
|
36
|
+
* - This datasource may return more than one value.
|
|
37
|
+
* - If no key matches the filter criteria, then an error is returned.
|
|
34
38
|
*/
|
|
35
39
|
function getRealmKeysOutput(args, opts) {
|
|
36
40
|
return pulumi.output(args).apply((a) => getRealmKeys(a, opts));
|
package/getRealmKeys.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getRealmKeys.js","sourceRoot":"","sources":["../getRealmKeys.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getRealmKeys.js","sourceRoot":"","sources":["../getRealmKeys.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;GAUG;AACH,SAAgB,YAAY,CAAC,IAAsB,EAAE,IAA2B;IAE5E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0CAA0C,EAAE;QACrE,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,UAAU,EAAE,IAAI,CAAC,QAAQ;KAC5B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,oCAQC;AAwBD;;;;;;;;;;GAUG;AACH,SAAgB,kBAAkB,CAAC,IAA4B,EAAE,IAA2B;IACxF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,YAAY,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACvE,CAAC;AAFD,gDAEC"}
|
package/getRole.d.ts
CHANGED
|
@@ -1,46 +1,17 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
+
* ## # keycloak.Role data source
|
|
4
|
+
*
|
|
3
5
|
* This data source can be used to fetch properties of a Keycloak role 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 = new keycloak.Group("group", {realmId: realm.id});
|
|
21
|
-
* const groupRoles = new keycloak.GroupRoles("groupRoles", {
|
|
22
|
-
* realmId: realm.id,
|
|
23
|
-
* groupId: group.id,
|
|
24
|
-
* roleIds: [offlineAccess.apply(offlineAccess => offlineAccess.id)],
|
|
25
|
-
* });
|
|
26
|
-
* ```
|
|
27
7
|
*/
|
|
28
8
|
export declare function getRole(args: GetRoleArgs, opts?: pulumi.InvokeOptions): Promise<GetRoleResult>;
|
|
29
9
|
/**
|
|
30
10
|
* A collection of arguments for invoking getRole.
|
|
31
11
|
*/
|
|
32
12
|
export interface GetRoleArgs {
|
|
33
|
-
/**
|
|
34
|
-
* When specified, this role is assumed to be a client role belonging to the client with the provided ID. The `id` attribute of a `keycloakClient` resource should be used here.
|
|
35
|
-
*/
|
|
36
13
|
clientId?: string;
|
|
37
|
-
/**
|
|
38
|
-
* The name of the role.
|
|
39
|
-
*/
|
|
40
14
|
name: string;
|
|
41
|
-
/**
|
|
42
|
-
* The realm this role exists within.
|
|
43
|
-
*/
|
|
44
15
|
realmId: string;
|
|
45
16
|
}
|
|
46
17
|
/**
|
|
@@ -52,9 +23,6 @@ export interface GetRoleResult {
|
|
|
52
23
|
};
|
|
53
24
|
readonly clientId?: string;
|
|
54
25
|
readonly compositeRoles: string[];
|
|
55
|
-
/**
|
|
56
|
-
* (Computed) The description of the role.
|
|
57
|
-
*/
|
|
58
26
|
readonly description: string;
|
|
59
27
|
/**
|
|
60
28
|
* The provider-assigned unique ID for this managed resource.
|
|
@@ -64,46 +32,17 @@ export interface GetRoleResult {
|
|
|
64
32
|
readonly realmId: string;
|
|
65
33
|
}
|
|
66
34
|
/**
|
|
35
|
+
* ## # keycloak.Role data source
|
|
36
|
+
*
|
|
67
37
|
* This data source can be used to fetch properties of a Keycloak role for
|
|
68
38
|
* usage with other resources, such as `keycloak.GroupRoles`.
|
|
69
|
-
*
|
|
70
|
-
* ## Example Usage
|
|
71
|
-
*
|
|
72
|
-
* ```typescript
|
|
73
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
74
|
-
* import * as keycloak from "@pulumi/keycloak";
|
|
75
|
-
*
|
|
76
|
-
* const realm = new keycloak.Realm("realm", {
|
|
77
|
-
* realm: "my-realm",
|
|
78
|
-
* enabled: true,
|
|
79
|
-
* });
|
|
80
|
-
* const offlineAccess = keycloak.getRoleOutput({
|
|
81
|
-
* realmId: realm.id,
|
|
82
|
-
* name: "offline_access",
|
|
83
|
-
* });
|
|
84
|
-
* const group = new keycloak.Group("group", {realmId: realm.id});
|
|
85
|
-
* const groupRoles = new keycloak.GroupRoles("groupRoles", {
|
|
86
|
-
* realmId: realm.id,
|
|
87
|
-
* groupId: group.id,
|
|
88
|
-
* roleIds: [offlineAccess.apply(offlineAccess => offlineAccess.id)],
|
|
89
|
-
* });
|
|
90
|
-
* ```
|
|
91
39
|
*/
|
|
92
40
|
export declare function getRoleOutput(args: GetRoleOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetRoleResult>;
|
|
93
41
|
/**
|
|
94
42
|
* A collection of arguments for invoking getRole.
|
|
95
43
|
*/
|
|
96
44
|
export interface GetRoleOutputArgs {
|
|
97
|
-
/**
|
|
98
|
-
* When specified, this role is assumed to be a client role belonging to the client with the provided ID. The `id` attribute of a `keycloakClient` resource should be used here.
|
|
99
|
-
*/
|
|
100
45
|
clientId?: pulumi.Input<string>;
|
|
101
|
-
/**
|
|
102
|
-
* The name of the role.
|
|
103
|
-
*/
|
|
104
46
|
name: pulumi.Input<string>;
|
|
105
|
-
/**
|
|
106
|
-
* The realm this role exists within.
|
|
107
|
-
*/
|
|
108
47
|
realmId: pulumi.Input<string>;
|
|
109
48
|
}
|
package/getRole.js
CHANGED
|
@@ -6,30 +6,10 @@ exports.getRoleOutput = exports.getRole = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
+
* ## # keycloak.Role data source
|
|
10
|
+
*
|
|
9
11
|
* This data source can be used to fetch properties of a Keycloak role 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 = new keycloak.Group("group", {realmId: realm.id});
|
|
27
|
-
* const groupRoles = new keycloak.GroupRoles("groupRoles", {
|
|
28
|
-
* realmId: realm.id,
|
|
29
|
-
* groupId: group.id,
|
|
30
|
-
* roleIds: [offlineAccess.apply(offlineAccess => offlineAccess.id)],
|
|
31
|
-
* });
|
|
32
|
-
* ```
|
|
33
13
|
*/
|
|
34
14
|
function getRole(args, opts) {
|
|
35
15
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -41,30 +21,10 @@ function getRole(args, opts) {
|
|
|
41
21
|
}
|
|
42
22
|
exports.getRole = getRole;
|
|
43
23
|
/**
|
|
24
|
+
* ## # keycloak.Role data source
|
|
25
|
+
*
|
|
44
26
|
* This data source can be used to fetch properties of a Keycloak role for
|
|
45
27
|
* usage with other resources, such as `keycloak.GroupRoles`.
|
|
46
|
-
*
|
|
47
|
-
* ## Example Usage
|
|
48
|
-
*
|
|
49
|
-
* ```typescript
|
|
50
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
51
|
-
* import * as keycloak from "@pulumi/keycloak";
|
|
52
|
-
*
|
|
53
|
-
* const realm = new keycloak.Realm("realm", {
|
|
54
|
-
* realm: "my-realm",
|
|
55
|
-
* enabled: true,
|
|
56
|
-
* });
|
|
57
|
-
* const offlineAccess = keycloak.getRoleOutput({
|
|
58
|
-
* realmId: realm.id,
|
|
59
|
-
* name: "offline_access",
|
|
60
|
-
* });
|
|
61
|
-
* const group = new keycloak.Group("group", {realmId: realm.id});
|
|
62
|
-
* const groupRoles = new keycloak.GroupRoles("groupRoles", {
|
|
63
|
-
* realmId: realm.id,
|
|
64
|
-
* groupId: group.id,
|
|
65
|
-
* roleIds: [offlineAccess.apply(offlineAccess => offlineAccess.id)],
|
|
66
|
-
* });
|
|
67
|
-
* ```
|
|
68
28
|
*/
|
|
69
29
|
function getRoleOutput(args, opts) {
|
|
70
30
|
return pulumi.output(args).apply((a) => getRole(a, opts));
|
package/getRole.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getRole.js","sourceRoot":"","sources":["../getRole.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getRole.js","sourceRoot":"","sources":["../getRole.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;GAKG;AACH,SAAgB,OAAO,CAAC,IAAiB,EAAE,IAA2B;IAElE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,gCAAgC,EAAE;QAC3D,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,0BAQC;AA0BD;;;;;GAKG;AACH,SAAgB,aAAa,CAAC,IAAuB,EAAE,IAA2B;IAC9E,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,OAAO,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAClE,CAAC;AAFD,sCAEC"}
|
package/getUser.d.ts
CHANGED
|
@@ -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
|
* }));
|
|
18
19
|
* export const keycloakUserId = defaultAdminUser.then(defaultAdminUser => defaultAdminUser.id);
|
|
19
20
|
* ```
|
|
21
|
+
* <!--End PulumiCodeChooser -->
|
|
20
22
|
*/
|
|
21
23
|
export declare function getUser(args: GetUserArgs, opts?: pulumi.InvokeOptions): Promise<GetUserResult>;
|
|
22
24
|
/**
|
|
@@ -79,6 +81,7 @@ export interface GetUserResult {
|
|
|
79
81
|
*
|
|
80
82
|
* ## Example Usage
|
|
81
83
|
*
|
|
84
|
+
* <!--Start PulumiCodeChooser -->
|
|
82
85
|
* ```typescript
|
|
83
86
|
* import * as pulumi from "@pulumi/pulumi";
|
|
84
87
|
* import * as keycloak from "@pulumi/keycloak";
|
|
@@ -92,6 +95,7 @@ export interface GetUserResult {
|
|
|
92
95
|
* }));
|
|
93
96
|
* export const keycloakUserId = defaultAdminUser.then(defaultAdminUser => defaultAdminUser.id);
|
|
94
97
|
* ```
|
|
98
|
+
* <!--End PulumiCodeChooser -->
|
|
95
99
|
*/
|
|
96
100
|
export declare function getUserOutput(args: GetUserOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetUserResult>;
|
|
97
101
|
/**
|
package/getUser.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
|
* }));
|
|
24
25
|
* export const keycloakUserId = defaultAdminUser.then(defaultAdminUser => defaultAdminUser.id);
|
|
25
26
|
* ```
|
|
27
|
+
* <!--End PulumiCodeChooser -->
|
|
26
28
|
*/
|
|
27
29
|
function getUser(args, opts) {
|
|
28
30
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -37,6 +39,7 @@ exports.getUser = getUser;
|
|
|
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.getUser = getUser;
|
|
|
50
53
|
* }));
|
|
51
54
|
* export const keycloakUserId = defaultAdminUser.then(defaultAdminUser => defaultAdminUser.id);
|
|
52
55
|
* ```
|
|
56
|
+
* <!--End PulumiCodeChooser -->
|
|
53
57
|
*/
|
|
54
58
|
function getUserOutput(args, opts) {
|
|
55
59
|
return pulumi.output(args).apply((a) => getUser(a, opts));
|
package/getUser.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getUser.js","sourceRoot":"","sources":["../getUser.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getUser.js","sourceRoot":"","sources":["../getUser.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,SAAgB,OAAO,CAAC,IAAiB,EAAE,IAA2B;IAElE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,gCAAgC,EAAE;QAC3D,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,UAAU,EAAE,IAAI,CAAC,QAAQ;KAC5B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,0BAOC;AAwDD;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,SAAgB,aAAa,CAAC,IAAuB,EAAE,IAA2B;IAC9E,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,OAAO,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAClE,CAAC;AAFD,sCAEC"}
|
package/getUserRealmRoles.d.ts
CHANGED
|
@@ -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";
|
|
@@ -21,6 +22,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
21
22
|
* }));
|
|
22
23
|
* export const keycloakUserRoleNames = userRealmRoles.then(userRealmRoles => userRealmRoles.roleNames);
|
|
23
24
|
* ```
|
|
25
|
+
* <!--End PulumiCodeChooser -->
|
|
24
26
|
*/
|
|
25
27
|
export declare function getUserRealmRoles(args: GetUserRealmRolesArgs, opts?: pulumi.InvokeOptions): Promise<GetUserRealmRolesResult>;
|
|
26
28
|
/**
|
|
@@ -56,6 +58,7 @@ export interface GetUserRealmRolesResult {
|
|
|
56
58
|
*
|
|
57
59
|
* ## Example Usage
|
|
58
60
|
*
|
|
61
|
+
* <!--Start PulumiCodeChooser -->
|
|
59
62
|
* ```typescript
|
|
60
63
|
* import * as pulumi from "@pulumi/pulumi";
|
|
61
64
|
* import * as keycloak from "@pulumi/keycloak";
|
|
@@ -73,6 +76,7 @@ export interface GetUserRealmRolesResult {
|
|
|
73
76
|
* }));
|
|
74
77
|
* export const keycloakUserRoleNames = userRealmRoles.then(userRealmRoles => userRealmRoles.roleNames);
|
|
75
78
|
* ```
|
|
79
|
+
* <!--End PulumiCodeChooser -->
|
|
76
80
|
*/
|
|
77
81
|
export declare function getUserRealmRolesOutput(args: GetUserRealmRolesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetUserRealmRolesResult>;
|
|
78
82
|
/**
|
package/getUserRealmRoles.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";
|
|
@@ -27,6 +28,7 @@ const utilities = require("./utilities");
|
|
|
27
28
|
* }));
|
|
28
29
|
* export const keycloakUserRoleNames = userRealmRoles.then(userRealmRoles => userRealmRoles.roleNames);
|
|
29
30
|
* ```
|
|
31
|
+
* <!--End PulumiCodeChooser -->
|
|
30
32
|
*/
|
|
31
33
|
function getUserRealmRoles(args, opts) {
|
|
32
34
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -41,6 +43,7 @@ exports.getUserRealmRoles = getUserRealmRoles;
|
|
|
41
43
|
*
|
|
42
44
|
* ## Example Usage
|
|
43
45
|
*
|
|
46
|
+
* <!--Start PulumiCodeChooser -->
|
|
44
47
|
* ```typescript
|
|
45
48
|
* import * as pulumi from "@pulumi/pulumi";
|
|
46
49
|
* import * as keycloak from "@pulumi/keycloak";
|
|
@@ -58,6 +61,7 @@ exports.getUserRealmRoles = getUserRealmRoles;
|
|
|
58
61
|
* }));
|
|
59
62
|
* export const keycloakUserRoleNames = userRealmRoles.then(userRealmRoles => userRealmRoles.roleNames);
|
|
60
63
|
* ```
|
|
64
|
+
* <!--End PulumiCodeChooser -->
|
|
61
65
|
*/
|
|
62
66
|
function getUserRealmRolesOutput(args, opts) {
|
|
63
67
|
return pulumi.output(args).apply((a) => getUserRealmRoles(a, opts));
|
package/getUserRealmRoles.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getUserRealmRoles.js","sourceRoot":"","sources":["../getUserRealmRoles.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getUserRealmRoles.js","sourceRoot":"","sources":["../getUserRealmRoles.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,SAAgB,iBAAiB,CAAC,IAA2B,EAAE,IAA2B;IAEtF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oDAAoD,EAAE;QAC/E,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,8CAOC;AA+BD;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,SAAgB,uBAAuB,CAAC,IAAiC,EAAE,IAA2B;IAClG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,iBAAiB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC5E,CAAC;AAFD,0DAEC"}
|