zitadel v0.1.8 published on Thursday, May 30, 2024 by pulumiverse
zitadel.getDefaultOidcSettings
Explore with Pulumi AI
Datasource representing the default oidc settings.
Example Usage
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Zitadel = Pulumi.Zitadel;
return await Deployment.RunAsync(() =>
{
var @default = Zitadel.GetDefaultOidcSettings.Invoke();
return new Dictionary<string, object?>
{
["oidcSettings"] = @default,
};
});
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_default, err := zitadel.LookupDefaultOidcSettings(ctx, nil, nil)
if err != nil {
return err
}
ctx.Export("oidcSettings", _default)
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.zitadel.ZitadelFunctions;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var default = ZitadelFunctions.getDefaultOidcSettings();
ctx.export("oidcSettings", default_);
}
}
import pulumi
import pulumi_zitadel as zitadel
default = zitadel.get_default_oidc_settings()
pulumi.export("oidcSettings", default)
import * as pulumi from "@pulumi/pulumi";
import * as zitadel from "@pulumi/zitadel";
const default = zitadel.getDefaultOidcSettings({});
export const oidcSettings = _default;
variables:
default:
fn::invoke:
Function: zitadel:getDefaultOidcSettings
Arguments: {}
outputs:
oidcSettings: ${default}
Using getDefaultOidcSettings
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 getDefaultOidcSettings(opts?: InvokeOptions): Promise<GetDefaultOidcSettingsResult>
function getDefaultOidcSettingsOutput(opts?: InvokeOptions): Output<GetDefaultOidcSettingsResult>
def get_default_oidc_settings(opts: Optional[InvokeOptions] = None) -> GetDefaultOidcSettingsResult
def get_default_oidc_settings_output(opts: Optional[InvokeOptions] = None) -> Output[GetDefaultOidcSettingsResult]
func LookupDefaultOidcSettings(ctx *Context, opts ...InvokeOption) (*LookupDefaultOidcSettingsResult, error)
func LookupDefaultOidcSettingsOutput(ctx *Context, opts ...InvokeOption) LookupDefaultOidcSettingsResultOutput
> Note: This function is named LookupDefaultOidcSettings
in the Go SDK.
public static class GetDefaultOidcSettings
{
public static Task<GetDefaultOidcSettingsResult> InvokeAsync(InvokeOptions? opts = null)
public static Output<GetDefaultOidcSettingsResult> Invoke(InvokeOptions? opts = null)
}
public static CompletableFuture<GetDefaultOidcSettingsResult> getDefaultOidcSettings(InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: zitadel:index/getDefaultOidcSettings:getDefaultOidcSettings
arguments:
# arguments dictionary
getDefaultOidcSettings Result
The following output properties are available:
- Access
Token stringLifetime - lifetime duration of access tokens
- Id string
- The provider-assigned unique ID for this managed resource.
- Id
Token stringLifetime - lifetime duration of id tokens
- Refresh
Token stringExpiration - expiration duration of refresh tokens
- Refresh
Token stringIdle Expiration - expiration duration of idle refresh tokens
- Access
Token stringLifetime - lifetime duration of access tokens
- Id string
- The provider-assigned unique ID for this managed resource.
- Id
Token stringLifetime - lifetime duration of id tokens
- Refresh
Token stringExpiration - expiration duration of refresh tokens
- Refresh
Token stringIdle Expiration - expiration duration of idle refresh tokens
- access
Token StringLifetime - lifetime duration of access tokens
- id String
- The provider-assigned unique ID for this managed resource.
- id
Token StringLifetime - lifetime duration of id tokens
- refresh
Token StringExpiration - expiration duration of refresh tokens
- refresh
Token StringIdle Expiration - expiration duration of idle refresh tokens
- access
Token stringLifetime - lifetime duration of access tokens
- id string
- The provider-assigned unique ID for this managed resource.
- id
Token stringLifetime - lifetime duration of id tokens
- refresh
Token stringExpiration - expiration duration of refresh tokens
- refresh
Token stringIdle Expiration - expiration duration of idle refresh tokens
- access_
token_ strlifetime - lifetime duration of access tokens
- id str
- The provider-assigned unique ID for this managed resource.
- id_
token_ strlifetime - lifetime duration of id tokens
- refresh_
token_ strexpiration - expiration duration of refresh tokens
- refresh_
token_ stridle_ expiration - expiration duration of idle refresh tokens
- access
Token StringLifetime - lifetime duration of access tokens
- id String
- The provider-assigned unique ID for this managed resource.
- id
Token StringLifetime - lifetime duration of id tokens
- refresh
Token StringExpiration - expiration duration of refresh tokens
- refresh
Token StringIdle Expiration - expiration duration of idle refresh tokens
Package Details
- Repository
- zitadel pulumiverse/pulumi-zitadel
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
zitadel
Terraform Provider.