1. Packages
  2. Zitadel
  3. API Docs
  4. getApplicationSaml
zitadel v0.2.0 published on Monday, Mar 24, 2025 by pulumiverse

zitadel.getApplicationSaml

Explore with Pulumi AI

zitadel v0.2.0 published on Monday, Mar 24, 2025 by pulumiverse

Datasource representing a SAML application belonging to a project, with all configuration possibilities.

Example Usage

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Zitadel = Pulumi.Zitadel;

return await Deployment.RunAsync(() => 
{
    var @default = Zitadel.GetApplicationSaml.Invoke(new()
    {
        OrgId = defaultZitadelOrg.Id,
        ProjectId = defaultZitadelProject.Id,
        AppId = "123456789012345678",
    });

});
Copy
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 {
		_, err := zitadel.LookupApplicationSaml(ctx, &zitadel.LookupApplicationSamlArgs{
			OrgId:     pulumi.StringRef(defaultZitadelOrg.Id),
			ProjectId: defaultZitadelProject.Id,
			AppId:     "123456789012345678",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
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.GetApplicationSamlArgs;
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.getApplicationSaml(GetApplicationSamlArgs.builder()
            .orgId(defaultZitadelOrg.id())
            .projectId(defaultZitadelProject.id())
            .appId("123456789012345678")
            .build());

    }
}
Copy
import * as pulumi from "@pulumi/pulumi";
import * as zitadel from "@pulumi/zitadel";

const default = zitadel.getApplicationSaml({
    orgId: defaultZitadelOrg.id,
    projectId: defaultZitadelProject.id,
    appId: "123456789012345678",
});
Copy
import pulumi
import pulumi_zitadel as zitadel

default = zitadel.get_application_saml(org_id=default_zitadel_org["id"],
    project_id=default_zitadel_project["id"],
    app_id="123456789012345678")
Copy
variables:
  default:
    fn::invoke:
      Function: zitadel:getApplicationSaml
      Arguments:
        orgId: ${defaultZitadelOrg.id}
        projectId: ${defaultZitadelProject.id}
        appId: '123456789012345678'
Copy

Using getApplicationSaml

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 getApplicationSaml(args: GetApplicationSamlArgs, opts?: InvokeOptions): Promise<GetApplicationSamlResult>
function getApplicationSamlOutput(args: GetApplicationSamlOutputArgs, opts?: InvokeOptions): Output<GetApplicationSamlResult>
Copy
def get_application_saml(app_id: Optional[str] = None,
                         org_id: Optional[str] = None,
                         project_id: Optional[str] = None,
                         opts: Optional[InvokeOptions] = None) -> GetApplicationSamlResult
def get_application_saml_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[GetApplicationSamlResult]
Copy
func LookupApplicationSaml(ctx *Context, args *LookupApplicationSamlArgs, opts ...InvokeOption) (*LookupApplicationSamlResult, error)
func LookupApplicationSamlOutput(ctx *Context, args *LookupApplicationSamlOutputArgs, opts ...InvokeOption) LookupApplicationSamlResultOutput
Copy

> Note: This function is named LookupApplicationSaml in the Go SDK.

public static class GetApplicationSaml 
{
    public static Task<GetApplicationSamlResult> InvokeAsync(GetApplicationSamlArgs args, InvokeOptions? opts = null)
    public static Output<GetApplicationSamlResult> Invoke(GetApplicationSamlInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetApplicationSamlResult> getApplicationSaml(GetApplicationSamlArgs args, InvokeOptions options)
public static Output<GetApplicationSamlResult> getApplicationSaml(GetApplicationSamlArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: zitadel:index/getApplicationSaml:getApplicationSaml
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

AppId This property is required. string
The ID of this resource.
ProjectId This property is required. string
ID of the project
OrgId string
ID of the organization
AppId This property is required. string
The ID of this resource.
ProjectId This property is required. string
ID of the project
OrgId string
ID of the organization
appId This property is required. String
The ID of this resource.
projectId This property is required. String
ID of the project
orgId String
ID of the organization
appId This property is required. string
The ID of this resource.
projectId This property is required. string
ID of the project
orgId string
ID of the organization
app_id This property is required. str
The ID of this resource.
project_id This property is required. str
ID of the project
org_id str
ID of the organization
appId This property is required. String
The ID of this resource.
projectId This property is required. String
ID of the project
orgId String
ID of the organization

getApplicationSaml Result

The following output properties are available:

AppId string
The ID of this resource.
Id string
The provider-assigned unique ID for this managed resource.
MetadataXml string
Metadata as XML file
Name string
Name of the application
ProjectId string
ID of the project
OrgId string
ID of the organization
AppId string
The ID of this resource.
Id string
The provider-assigned unique ID for this managed resource.
MetadataXml string
Metadata as XML file
Name string
Name of the application
ProjectId string
ID of the project
OrgId string
ID of the organization
appId String
The ID of this resource.
id String
The provider-assigned unique ID for this managed resource.
metadataXml String
Metadata as XML file
name String
Name of the application
projectId String
ID of the project
orgId String
ID of the organization
appId string
The ID of this resource.
id string
The provider-assigned unique ID for this managed resource.
metadataXml string
Metadata as XML file
name string
Name of the application
projectId string
ID of the project
orgId string
ID of the organization
app_id str
The ID of this resource.
id str
The provider-assigned unique ID for this managed resource.
metadata_xml str
Metadata as XML file
name str
Name of the application
project_id str
ID of the project
org_id str
ID of the organization
appId String
The ID of this resource.
id String
The provider-assigned unique ID for this managed resource.
metadataXml String
Metadata as XML file
name String
Name of the application
projectId String
ID of the project
orgId 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.
zitadel v0.2.0 published on Monday, Mar 24, 2025 by pulumiverse