1. Packages
  2. Zitadel
  3. API Docs
  4. getDefaultOidcSettings
zitadel v0.1.7 published on Tuesday, Mar 26, 2024 by pulumiverse

zitadel.getDefaultOidcSettings

Explore with Pulumi AI

zitadel logo
zitadel v0.1.7 published on Tuesday, Mar 26, 2024 by pulumiverse

    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:

    AccessTokenLifetime string
    lifetime duration of access tokens
    Id string
    The provider-assigned unique ID for this managed resource.
    IdTokenLifetime string
    lifetime duration of id tokens
    RefreshTokenExpiration string
    expiration duration of refresh tokens
    RefreshTokenIdleExpiration string
    expiration duration of idle refresh tokens
    AccessTokenLifetime string
    lifetime duration of access tokens
    Id string
    The provider-assigned unique ID for this managed resource.
    IdTokenLifetime string
    lifetime duration of id tokens
    RefreshTokenExpiration string
    expiration duration of refresh tokens
    RefreshTokenIdleExpiration string
    expiration duration of idle refresh tokens
    accessTokenLifetime String
    lifetime duration of access tokens
    id String
    The provider-assigned unique ID for this managed resource.
    idTokenLifetime String
    lifetime duration of id tokens
    refreshTokenExpiration String
    expiration duration of refresh tokens
    refreshTokenIdleExpiration String
    expiration duration of idle refresh tokens
    accessTokenLifetime string
    lifetime duration of access tokens
    id string
    The provider-assigned unique ID for this managed resource.
    idTokenLifetime string
    lifetime duration of id tokens
    refreshTokenExpiration string
    expiration duration of refresh tokens
    refreshTokenIdleExpiration string
    expiration duration of idle refresh tokens
    access_token_lifetime str
    lifetime duration of access tokens
    id str
    The provider-assigned unique ID for this managed resource.
    id_token_lifetime str
    lifetime duration of id tokens
    refresh_token_expiration str
    expiration duration of refresh tokens
    refresh_token_idle_expiration str
    expiration duration of idle refresh tokens
    accessTokenLifetime String
    lifetime duration of access tokens
    id String
    The provider-assigned unique ID for this managed resource.
    idTokenLifetime String
    lifetime duration of id tokens
    refreshTokenExpiration String
    expiration duration of refresh tokens
    refreshTokenIdleExpiration String
    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.
    zitadel logo
    zitadel v0.1.7 published on Tuesday, Mar 26, 2024 by pulumiverse