Keycloak v5.3.5 published on Wednesday, Oct 16, 2024 by Pulumi
keycloak.getRealmKeys
Explore with Pulumi AI
# keycloak.getRealmKeys data source
Use this data source to get the keys of a realm. Keys can be filtered by algorithm and status.
Remarks:
- A key must meet all filter criteria
- This datasource may return more than one value.
- If no key matches the filter criteria, then an error is returned.
Using getRealmKeys
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getRealmKeys(args: GetRealmKeysArgs, opts?: InvokeOptions): Promise<GetRealmKeysResult>
function getRealmKeysOutput(args: GetRealmKeysOutputArgs, opts?: InvokeOptions): Output<GetRealmKeysResult>
def get_realm_keys(algorithms: Optional[Sequence[str]] = None,
realm_id: Optional[str] = None,
statuses: Optional[Sequence[str]] = None,
opts: Optional[InvokeOptions] = None) -> GetRealmKeysResult
def get_realm_keys_output(algorithms: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
realm_id: Optional[pulumi.Input[str]] = None,
statuses: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetRealmKeysResult]
func GetRealmKeys(ctx *Context, args *GetRealmKeysArgs, opts ...InvokeOption) (*GetRealmKeysResult, error)
func GetRealmKeysOutput(ctx *Context, args *GetRealmKeysOutputArgs, opts ...InvokeOption) GetRealmKeysResultOutput
> Note: This function is named GetRealmKeys
in the Go SDK.
public static class GetRealmKeys
{
public static Task<GetRealmKeysResult> InvokeAsync(GetRealmKeysArgs args, InvokeOptions? opts = null)
public static Output<GetRealmKeysResult> Invoke(GetRealmKeysInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetRealmKeysResult> getRealmKeys(GetRealmKeysArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: keycloak:index/getRealmKeys:getRealmKeys
arguments:
# arguments dictionary
The following arguments are supported:
- Realm
Id string - Algorithms List<string>
- Statuses List<string>
- Realm
Id string - Algorithms []string
- Statuses []string
- realm
Id String - algorithms List<String>
- statuses List<String>
- realm
Id string - algorithms string[]
- statuses string[]
- realm_
id str - algorithms Sequence[str]
- statuses Sequence[str]
- realm
Id String - algorithms List<String>
- statuses List<String>
getRealmKeys Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Keys
List<Get
Realm Keys Key> - Realm
Id string - Algorithms List<string>
- Statuses List<string>
- Id string
- The provider-assigned unique ID for this managed resource.
- Keys
[]Get
Realm Keys Key - Realm
Id string - Algorithms []string
- Statuses []string
- id String
- The provider-assigned unique ID for this managed resource.
- keys
List<Get
Realm Keys Key> - realm
Id String - algorithms List<String>
- statuses List<String>
- id string
- The provider-assigned unique ID for this managed resource.
- keys
Get
Realm Keys Key[] - realm
Id string - algorithms string[]
- statuses string[]
- id str
- The provider-assigned unique ID for this managed resource.
- keys
Sequence[Get
Realm Keys Key] - realm_
id str - algorithms Sequence[str]
- statuses Sequence[str]
- id String
- The provider-assigned unique ID for this managed resource.
- keys List<Property Map>
- realm
Id String - algorithms List<String>
- statuses List<String>
Supporting Types
GetRealmKeysKey
- Algorithm string
- Certificate string
- Kid string
- Provider
Id string - Provider
Priority int - Public
Key string - Status string
- Type string
- Algorithm string
- Certificate string
- Kid string
- Provider
Id string - Provider
Priority int - Public
Key string - Status string
- Type string
- algorithm String
- certificate String
- kid String
- provider
Id String - provider
Priority Integer - public
Key String - status String
- type String
- algorithm string
- certificate string
- kid string
- provider
Id string - provider
Priority number - public
Key string - status string
- type string
- algorithm str
- certificate str
- kid str
- provider_
id str - provider_
priority int - public_
key str - status str
- type str
- algorithm String
- certificate String
- kid String
- provider
Id String - provider
Priority Number - public
Key String - status String
- type String
Package Details
- Repository
- Keycloak pulumi/pulumi-keycloak
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
keycloak
Terraform Provider.