Class GetClient
Inheritance
System.Object
GetClient
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Keycloak.OpenId
Assembly: Pulumi.Keycloak.dll
Syntax
public static class GetClient
Methods
View SourceInvokeAsync(GetClientArgs, InvokeOptions)
# keycloak.openid.Client data source
This data source can be used to fetch properties of a Keycloak OpenID client for usage with other resources.
Example Usage
using Pulumi;
using Keycloak = Pulumi.Keycloak;
class MyStack : Stack
{
public MyStack()
{
var realmManagement = Output.Create(Keycloak.OpenId.GetClient.InvokeAsync(new Keycloak.OpenId.GetClientArgs
{
RealmId = "my-realm",
ClientId = "realm-management",
}));
var admin = realmManagement.Apply(realmManagement => Output.Create(Keycloak.GetRole.InvokeAsync(new Keycloak.GetRoleArgs
{
RealmId = "my-realm",
ClientId = realmManagement.Id,
Name = "realm-admin",
})));
}
}
Argument Reference
The following arguments are supported:
realm_id- (Required) The realm id.client_id- (Required) The client id.
Attributes Reference
See the docs for the keycloak.openid.Client resource for details on the exported attributes.
Declaration
public static Task<GetClientResult> InvokeAsync(GetClientArgs args, InvokeOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetClientArgs | args | |
| InvokeOptions | options |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<GetClientResult> |