ibm 1.77.1 published on Monday, Apr 14, 2025 by ibm-cloud
ibm.getAppidIdpSaml
Explore with Pulumi AI
Retrieve information about an IBM Cloud AppID SAML IDP. For more information, see SAML
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";
const saml = ibm.getAppidIdpSaml({
tenantId: _var.tenant_id,
});
import pulumi
import pulumi_ibm as ibm
saml = ibm.get_appid_idp_saml(tenant_id=var["tenant_id"])
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/ibm/ibm"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ibm.LookupAppidIdpSaml(ctx, &ibm.LookupAppidIdpSamlArgs{
TenantId: _var.Tenant_id,
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ibm = Pulumi.Ibm;
return await Deployment.RunAsync(() =>
{
var saml = Ibm.GetAppidIdpSaml.Invoke(new()
{
TenantId = @var.Tenant_id,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ibm.IbmFunctions;
import com.pulumi.ibm.inputs.GetAppidIdpSamlArgs;
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 saml = IbmFunctions.getAppidIdpSaml(GetAppidIdpSamlArgs.builder()
.tenantId(var_.tenant_id())
.build());
}
}
variables:
saml:
fn::invoke:
function: ibm:getAppidIdpSaml
arguments:
tenantId: ${var.tenant_id}
Using getAppidIdpSaml
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 getAppidIdpSaml(args: GetAppidIdpSamlArgs, opts?: InvokeOptions): Promise<GetAppidIdpSamlResult>
function getAppidIdpSamlOutput(args: GetAppidIdpSamlOutputArgs, opts?: InvokeOptions): Output<GetAppidIdpSamlResult>
def get_appid_idp_saml(id: Optional[str] = None,
tenant_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetAppidIdpSamlResult
def get_appid_idp_saml_output(id: Optional[pulumi.Input[str]] = None,
tenant_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetAppidIdpSamlResult]
func LookupAppidIdpSaml(ctx *Context, args *LookupAppidIdpSamlArgs, opts ...InvokeOption) (*LookupAppidIdpSamlResult, error)
func LookupAppidIdpSamlOutput(ctx *Context, args *LookupAppidIdpSamlOutputArgs, opts ...InvokeOption) LookupAppidIdpSamlResultOutput
> Note: This function is named LookupAppidIdpSaml
in the Go SDK.
public static class GetAppidIdpSaml
{
public static Task<GetAppidIdpSamlResult> InvokeAsync(GetAppidIdpSamlArgs args, InvokeOptions? opts = null)
public static Output<GetAppidIdpSamlResult> Invoke(GetAppidIdpSamlInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetAppidIdpSamlResult> getAppidIdpSaml(GetAppidIdpSamlArgs args, InvokeOptions options)
public static Output<GetAppidIdpSamlResult> getAppidIdpSaml(GetAppidIdpSamlArgs args, InvokeOptions options)
fn::invoke:
function: ibm:index/getAppidIdpSaml:getAppidIdpSaml
arguments:
# arguments dictionary
The following arguments are supported:
getAppidIdpSaml Result
The following output properties are available:
- Configs
List<Get
Appid Idp Saml Config> - (List of Object, Max: 1) current SAML IDP configuration if active
- Id string
- Is
Active bool - (String)
true
if SAML IDP is active - Tenant
Id string
- Configs
[]Get
Appid Idp Saml Config - (List of Object, Max: 1) current SAML IDP configuration if active
- Id string
- Is
Active bool - (String)
true
if SAML IDP is active - Tenant
Id string
- configs
List<Get
Appid Idp Saml Config> - (List of Object, Max: 1) current SAML IDP configuration if active
- id String
- is
Active Boolean - (String)
true
if SAML IDP is active - tenant
Id String
- configs
Get
Appid Idp Saml Config[] - (List of Object, Max: 1) current SAML IDP configuration if active
- id string
- is
Active boolean - (String)
true
if SAML IDP is active - tenant
Id string
- configs
Sequence[Get
Appid Idp Saml Config] - (List of Object, Max: 1) current SAML IDP configuration if active
- id str
- is_
active bool - (String)
true
if SAML IDP is active - tenant_
id str
- configs List<Property Map>
- (List of Object, Max: 1) current SAML IDP configuration if active
- id String
- is
Active Boolean - (String)
true
if SAML IDP is active - tenant
Id String
Supporting Types
GetAppidIdpSamlConfig
- Authn
Contexts List<GetAppid Idp Saml Config Authn Context> - (List of Object, Max: 1) SAML authNContext configuration
- Certificates List<string>
- (List of String) List of certificates, primary and optional secondary
- Display
Name string - (String) Optional provider name
- Encrypt
Response bool - (Bool)
true
if SAML responses should be encrypted - Entity
Id string - (String) Unique name for an Identity Provider
- Include
Scoping bool - (Bool)
true
if scopes are included - Sign
In stringUrl - (String) SAML SSO url
- Sign
Request bool - (Bool)
true
if SAML requests should be signed
- Authn
Contexts []GetAppid Idp Saml Config Authn Context - (List of Object, Max: 1) SAML authNContext configuration
- Certificates []string
- (List of String) List of certificates, primary and optional secondary
- Display
Name string - (String) Optional provider name
- Encrypt
Response bool - (Bool)
true
if SAML responses should be encrypted - Entity
Id string - (String) Unique name for an Identity Provider
- Include
Scoping bool - (Bool)
true
if scopes are included - Sign
In stringUrl - (String) SAML SSO url
- Sign
Request bool - (Bool)
true
if SAML requests should be signed
- authn
Contexts List<GetAppid Idp Saml Config Authn Context> - (List of Object, Max: 1) SAML authNContext configuration
- certificates List<String>
- (List of String) List of certificates, primary and optional secondary
- display
Name String - (String) Optional provider name
- encrypt
Response Boolean - (Bool)
true
if SAML responses should be encrypted - entity
Id String - (String) Unique name for an Identity Provider
- include
Scoping Boolean - (Bool)
true
if scopes are included - sign
In StringUrl - (String) SAML SSO url
- sign
Request Boolean - (Bool)
true
if SAML requests should be signed
- authn
Contexts GetAppid Idp Saml Config Authn Context[] - (List of Object, Max: 1) SAML authNContext configuration
- certificates string[]
- (List of String) List of certificates, primary and optional secondary
- display
Name string - (String) Optional provider name
- encrypt
Response boolean - (Bool)
true
if SAML responses should be encrypted - entity
Id string - (String) Unique name for an Identity Provider
- include
Scoping boolean - (Bool)
true
if scopes are included - sign
In stringUrl - (String) SAML SSO url
- sign
Request boolean - (Bool)
true
if SAML requests should be signed
- authn_
contexts Sequence[GetAppid Idp Saml Config Authn Context] - (List of Object, Max: 1) SAML authNContext configuration
- certificates Sequence[str]
- (List of String) List of certificates, primary and optional secondary
- display_
name str - (String) Optional provider name
- encrypt_
response bool - (Bool)
true
if SAML responses should be encrypted - entity_
id str - (String) Unique name for an Identity Provider
- include_
scoping bool - (Bool)
true
if scopes are included - sign_
in_ strurl - (String) SAML SSO url
- sign_
request bool - (Bool)
true
if SAML requests should be signed
- authn
Contexts List<Property Map> - (List of Object, Max: 1) SAML authNContext configuration
- certificates List<String>
- (List of String) List of certificates, primary and optional secondary
- display
Name String - (String) Optional provider name
- encrypt
Response Boolean - (Bool)
true
if SAML responses should be encrypted - entity
Id String - (String) Unique name for an Identity Provider
- include
Scoping Boolean - (Bool)
true
if scopes are included - sign
In StringUrl - (String) SAML SSO url
- sign
Request Boolean - (Bool)
true
if SAML requests should be signed
GetAppidIdpSamlConfigAuthnContext
- Classes List<string>
- Comparison string
- Classes []string
- Comparison string
- classes List<String>
- comparison String
- classes string[]
- comparison string
- classes Sequence[str]
- comparison str
- classes List<String>
- comparison String
Package Details
- Repository
- ibm ibm-cloud/terraform-provider-ibm
- License
- Notes
- This Pulumi package is based on the
ibm
Terraform Provider.