zitadel.getApplicationOidc
Explore with Pulumi AI
Datasource representing an OIDC application belonging to a project, with all configuration possibilities.
Example Usage
using System.Collections.Generic;
using Pulumi;
using Zitadel = Pulumi.Zitadel;
return await Deployment.RunAsync(() =>
{
var @default = Zitadel.GetApplicationOidc.Invoke(new()
{
OrgId = data.Zitadel_org.Default.Id,
ProjectId = data.Zitadel_project.Default.Id,
AppId = "123456789012345678",
});
return new Dictionary<string, object?>
{
["applicationOidc"] = @default.Apply(getApplicationOidcResult => getApplicationOidcResult),
};
});
package main
import (
"github.com/pulumi/pulumi-zitadel/sdk/go/zitadel"
"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.LookupApplicationOidc(ctx, &GetApplicationOidcArgs{
OrgId: pulumi.StringRef(data.Zitadel_org.Default.Id),
ProjectId: data.Zitadel_project.Default.Id,
AppId: "123456789012345678",
}, nil)
if err != nil {
return err
}
ctx.Export("applicationOidc", _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 com.pulumi.zitadel.inputs.GetApplicationOidcArgs;
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.getApplicationOidc(GetApplicationOidcArgs.builder()
.orgId(data.zitadel_org().default().id())
.projectId(data.zitadel_project().default().id())
.appId("123456789012345678")
.build());
ctx.export("applicationOidc", default_);
}
}
import pulumi
import pulumi_zitadel as zitadel
default = zitadel.get_application_oidc(org_id=data["zitadel_org"]["default"]["id"],
project_id=data["zitadel_project"]["default"]["id"],
app_id="123456789012345678")
pulumi.export("applicationOidc", default)
import * as pulumi from "@pulumi/pulumi";
import * as zitadel from "@pulumi/zitadel";
const default = zitadel.getApplicationOidc({
orgId: data.zitadel_org["default"].id,
projectId: data.zitadel_project["default"].id,
appId: "123456789012345678",
});
export const applicationOidc = _default;
variables:
default:
Fn::Invoke:
Function: zitadel:getApplicationOidc
Arguments:
orgId: ${data.zitadel_org.default.id}
projectId: ${data.zitadel_project.default.id}
appId: 123456789012345678
outputs:
applicationOidc: ${default}
Using getApplicationOidc
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 getApplicationOidc(args: GetApplicationOidcArgs, opts?: InvokeOptions): Promise<GetApplicationOidcResult>
function getApplicationOidcOutput(args: GetApplicationOidcOutputArgs, opts?: InvokeOptions): Output<GetApplicationOidcResult>
def get_application_oidc(app_id: Optional[str] = None,
org_id: Optional[str] = None,
project_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetApplicationOidcResult
def get_application_oidc_output(app_id: Optional[pulumi.Input[str]] = None,
org_id: Optional[pulumi.Input[str]] = None,
project_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetApplicationOidcResult]
func LookupApplicationOidc(ctx *Context, args *LookupApplicationOidcArgs, opts ...InvokeOption) (*LookupApplicationOidcResult, error)
func LookupApplicationOidcOutput(ctx *Context, args *LookupApplicationOidcOutputArgs, opts ...InvokeOption) LookupApplicationOidcResultOutput
> Note: This function is named LookupApplicationOidc
in the Go SDK.
public static class GetApplicationOidc
{
public static Task<GetApplicationOidcResult> InvokeAsync(GetApplicationOidcArgs args, InvokeOptions? opts = null)
public static Output<GetApplicationOidcResult> Invoke(GetApplicationOidcInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetApplicationOidcResult> getApplicationOidc(GetApplicationOidcArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: zitadel:index/getApplicationOidc:getApplicationOidc
arguments:
# arguments dictionary
The following arguments are supported:
- app_
id str The ID of this resource.
- project_
id str ID of the project
- org_
id str ID of the organization
getApplicationOidc Result
The following output properties are available:
- Access
Token boolRole Assertion Access token role assertion
- Access
Token stringType Access token type
- Additional
Origins List<string> Additional origins
- App
Id string The ID of this resource.
- App
Type string App type
- Auth
Method stringType Auth method type
- Clock
Skew string Clockskew
- Dev
Mode bool Dev mode
- Grant
Types List<string> Grant types
- Id string
The provider-assigned unique ID for this managed resource.
- Id
Token boolRole Assertion ID token role assertion
- Id
Token boolUserinfo Assertion Token userinfo assertion
- Name string
Name of the application
- Post
Logout List<string>Redirect Uris Post logout redirect URIs
- Project
Id string ID of the project
- Redirect
Uris List<string> RedirectURIs
- Response
Types List<string> Response type
- Version string
Version
- Org
Id string ID of the organization
- Access
Token boolRole Assertion Access token role assertion
- Access
Token stringType Access token type
- Additional
Origins []string Additional origins
- App
Id string The ID of this resource.
- App
Type string App type
- Auth
Method stringType Auth method type
- Clock
Skew string Clockskew
- Dev
Mode bool Dev mode
- Grant
Types []string Grant types
- Id string
The provider-assigned unique ID for this managed resource.
- Id
Token boolRole Assertion ID token role assertion
- Id
Token boolUserinfo Assertion Token userinfo assertion
- Name string
Name of the application
- Post
Logout []stringRedirect Uris Post logout redirect URIs
- Project
Id string ID of the project
- Redirect
Uris []string RedirectURIs
- Response
Types []string Response type
- Version string
Version
- Org
Id string ID of the organization
- access
Token BooleanRole Assertion Access token role assertion
- access
Token StringType Access token type
- additional
Origins List<String> Additional origins
- app
Id String The ID of this resource.
- app
Type String App type
- auth
Method StringType Auth method type
- clock
Skew String Clockskew
- dev
Mode Boolean Dev mode
- grant
Types List<String> Grant types
- id String
The provider-assigned unique ID for this managed resource.
- id
Token BooleanRole Assertion ID token role assertion
- id
Token BooleanUserinfo Assertion Token userinfo assertion
- name String
Name of the application
- post
Logout List<String>Redirect Uris Post logout redirect URIs
- project
Id String ID of the project
- redirect
Uris List<String> RedirectURIs
- response
Types List<String> Response type
- version String
Version
- org
Id String ID of the organization
- access
Token booleanRole Assertion Access token role assertion
- access
Token stringType Access token type
- additional
Origins string[] Additional origins
- app
Id string The ID of this resource.
- app
Type string App type
- auth
Method stringType Auth method type
- clock
Skew string Clockskew
- dev
Mode boolean Dev mode
- grant
Types string[] Grant types
- id string
The provider-assigned unique ID for this managed resource.
- id
Token booleanRole Assertion ID token role assertion
- id
Token booleanUserinfo Assertion Token userinfo assertion
- name string
Name of the application
- post
Logout string[]Redirect Uris Post logout redirect URIs
- project
Id string ID of the project
- redirect
Uris string[] RedirectURIs
- response
Types string[] Response type
- version string
Version
- org
Id string ID of the organization
- access_
token_ boolrole_ assertion Access token role assertion
- access_
token_ strtype Access token type
- additional_
origins Sequence[str] Additional origins
- app_
id str The ID of this resource.
- app_
type str App type
- auth_
method_ strtype Auth method type
- clock_
skew str Clockskew
- dev_
mode bool Dev mode
- grant_
types Sequence[str] Grant types
- id str
The provider-assigned unique ID for this managed resource.
- id_
token_ boolrole_ assertion ID token role assertion
- id_
token_ booluserinfo_ assertion Token userinfo assertion
- name str
Name of the application
- post_
logout_ Sequence[str]redirect_ uris Post logout redirect URIs
- project_
id str ID of the project
- redirect_
uris Sequence[str] RedirectURIs
- response_
types Sequence[str] Response type
- version str
Version
- org_
id str ID of the organization
- access
Token BooleanRole Assertion Access token role assertion
- access
Token StringType Access token type
- additional
Origins List<String> Additional origins
- app
Id String The ID of this resource.
- app
Type String App type
- auth
Method StringType Auth method type
- clock
Skew String Clockskew
- dev
Mode Boolean Dev mode
- grant
Types List<String> Grant types
- id String
The provider-assigned unique ID for this managed resource.
- id
Token BooleanRole Assertion ID token role assertion
- id
Token BooleanUserinfo Assertion Token userinfo assertion
- name String
Name of the application
- post
Logout List<String>Redirect Uris Post logout redirect URIs
- project
Id String ID of the project
- redirect
Uris List<String> RedirectURIs
- response
Types List<String> Response type
- version String
Version
- org
Id String ID of the organization
Package Details
- Repository
- zitadel pulumiverse/pulumi-zitadel
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
zitadel
Terraform Provider.