published on Wednesday, Aug 5, 2026 by ibm-cloud
published on Wednesday, Aug 5, 2026 by ibm-cloud
Create, update, and delete an IAM Identity Provider (IdP) with this resource. For more information, see the IAM Identity Services API documentation.
Example Usage
Create a SAML Identity Provider
import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";
const samlIdp = new ibm.IamIdp("saml_idp", {
accountId: accountId,
name: "my-saml-idp",
type: "saml",
active: true,
properties: {
idp: {
entityId: "https://idp.example.com/saml/metadata",
redirectBindingUrl: "https://idp.example.com/saml/sso",
wantRequestSigned: true,
logoutUrl: "https://idp.example.com/saml/logout",
},
sp: {
wantAssertionSigned: true,
wantResponseSigned: true,
encryptResponse: false,
idpInitiatedLoginEnabled: false,
logoutUrlEnabledWhenAvailable: true,
},
},
secrets: {},
});
import pulumi
import pulumi_ibm as ibm
saml_idp = ibm.IamIdp("saml_idp",
account_id=account_id,
name="my-saml-idp",
type="saml",
active=True,
properties={
"idp": {
"entity_id": "https://idp.example.com/saml/metadata",
"redirect_binding_url": "https://idp.example.com/saml/sso",
"want_request_signed": True,
"logout_url": "https://idp.example.com/saml/logout",
},
"sp": {
"want_assertion_signed": True,
"want_response_signed": True,
"encrypt_response": False,
"idp_initiated_login_enabled": False,
"logout_url_enabled_when_available": True,
},
},
secrets={})
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/ibm/v2/ibm"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ibm.NewIamIdp(ctx, "saml_idp", &ibm.IamIdpArgs{
AccountId: pulumi.Any(accountId),
Name: pulumi.String("my-saml-idp"),
Type: pulumi.String("saml"),
Active: pulumi.Bool(true),
Properties: &ibm.IamIdpPropertiesArgs{
Idp: &ibm.IamIdpPropertiesIdpArgs{
EntityId: pulumi.String("https://idp.example.com/saml/metadata"),
RedirectBindingUrl: pulumi.String("https://idp.example.com/saml/sso"),
WantRequestSigned: pulumi.Bool(true),
LogoutUrl: pulumi.String("https://idp.example.com/saml/logout"),
},
Sp: &ibm.IamIdpPropertiesSpArgs{
WantAssertionSigned: pulumi.Bool(true),
WantResponseSigned: pulumi.Bool(true),
EncryptResponse: pulumi.Bool(false),
IdpInitiatedLoginEnabled: pulumi.Bool(false),
LogoutUrlEnabledWhenAvailable: pulumi.Bool(true),
},
},
Secrets: &ibm.IamIdpSecretsArgs{},
})
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 samlIdp = new Ibm.IamIdp("saml_idp", new()
{
AccountId = accountId,
Name = "my-saml-idp",
Type = "saml",
Active = true,
Properties = new Ibm.Inputs.IamIdpPropertiesArgs
{
Idp = new Ibm.Inputs.IamIdpPropertiesIdpArgs
{
EntityId = "https://idp.example.com/saml/metadata",
RedirectBindingUrl = "https://idp.example.com/saml/sso",
WantRequestSigned = true,
LogoutUrl = "https://idp.example.com/saml/logout",
},
Sp = new Ibm.Inputs.IamIdpPropertiesSpArgs
{
WantAssertionSigned = true,
WantResponseSigned = true,
EncryptResponse = false,
IdpInitiatedLoginEnabled = false,
LogoutUrlEnabledWhenAvailable = true,
},
},
Secrets = null,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ibm.IamIdp;
import com.pulumi.ibm.IamIdpArgs;
import com.pulumi.ibm.inputs.IamIdpPropertiesArgs;
import com.pulumi.ibm.inputs.IamIdpPropertiesIdpArgs;
import com.pulumi.ibm.inputs.IamIdpPropertiesSpArgs;
import com.pulumi.ibm.inputs.IamIdpSecretsArgs;
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) {
var samlIdp = new IamIdp("samlIdp", IamIdpArgs.builder()
.accountId(accountId)
.name("my-saml-idp")
.type("saml")
.active(true)
.properties(IamIdpPropertiesArgs.builder()
.idp(IamIdpPropertiesIdpArgs.builder()
.entityId("https://idp.example.com/saml/metadata")
.redirectBindingUrl("https://idp.example.com/saml/sso")
.wantRequestSigned(true)
.logoutUrl("https://idp.example.com/saml/logout")
.build())
.sp(IamIdpPropertiesSpArgs.builder()
.wantAssertionSigned(true)
.wantResponseSigned(true)
.encryptResponse(false)
.idpInitiatedLoginEnabled(false)
.logoutUrlEnabledWhenAvailable(true)
.build())
.build())
.secrets(IamIdpSecretsArgs.builder()
.build())
.build());
}
}
resources:
samlIdp:
type: ibm:IamIdp
name: saml_idp
properties:
accountId: ${accountId}
name: my-saml-idp
type: saml
active: true
properties:
idp:
entityId: https://idp.example.com/saml/metadata
redirectBindingUrl: https://idp.example.com/saml/sso
wantRequestSigned: true
logoutUrl: https://idp.example.com/saml/logout
sp:
wantAssertionSigned: true
wantResponseSigned: true
encryptResponse: false
idpInitiatedLoginEnabled: false
logoutUrlEnabledWhenAvailable: true
secrets: {}
Example coming soon!
Create an IdP and share it with another account
import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";
const sharedIdp = new ibm.IamIdp("shared_idp", {
accountId: accountId,
name: "shared-saml-idp",
type: "saml",
active: true,
properties: {
idp: {
entityId: "https://idp.example.com/saml/metadata",
redirectBindingUrl: "https://idp.example.com/saml/sso",
},
},
secrets: {},
shareScopes: [{
id: consumerAccountId,
type: "account",
}],
});
import pulumi
import pulumi_ibm as ibm
shared_idp = ibm.IamIdp("shared_idp",
account_id=account_id,
name="shared-saml-idp",
type="saml",
active=True,
properties={
"idp": {
"entity_id": "https://idp.example.com/saml/metadata",
"redirect_binding_url": "https://idp.example.com/saml/sso",
},
},
secrets={},
share_scopes=[{
"id": consumer_account_id,
"type": "account",
}])
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/ibm/v2/ibm"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ibm.NewIamIdp(ctx, "shared_idp", &ibm.IamIdpArgs{
AccountId: pulumi.Any(accountId),
Name: pulumi.String("shared-saml-idp"),
Type: pulumi.String("saml"),
Active: pulumi.Bool(true),
Properties: &ibm.IamIdpPropertiesArgs{
Idp: &ibm.IamIdpPropertiesIdpArgs{
EntityId: pulumi.String("https://idp.example.com/saml/metadata"),
RedirectBindingUrl: pulumi.String("https://idp.example.com/saml/sso"),
},
},
Secrets: &ibm.IamIdpSecretsArgs{},
ShareScopes: ibm.IamIdpShareScopeArray{
&ibm.IamIdpShareScopeArgs{
Id: pulumi.Any(consumerAccountId),
Type: pulumi.String("account"),
},
},
})
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 sharedIdp = new Ibm.IamIdp("shared_idp", new()
{
AccountId = accountId,
Name = "shared-saml-idp",
Type = "saml",
Active = true,
Properties = new Ibm.Inputs.IamIdpPropertiesArgs
{
Idp = new Ibm.Inputs.IamIdpPropertiesIdpArgs
{
EntityId = "https://idp.example.com/saml/metadata",
RedirectBindingUrl = "https://idp.example.com/saml/sso",
},
},
Secrets = null,
ShareScopes = new[]
{
new Ibm.Inputs.IamIdpShareScopeArgs
{
Id = consumerAccountId,
Type = "account",
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ibm.IamIdp;
import com.pulumi.ibm.IamIdpArgs;
import com.pulumi.ibm.inputs.IamIdpPropertiesArgs;
import com.pulumi.ibm.inputs.IamIdpPropertiesIdpArgs;
import com.pulumi.ibm.inputs.IamIdpSecretsArgs;
import com.pulumi.ibm.inputs.IamIdpShareScopeArgs;
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) {
var sharedIdp = new IamIdp("sharedIdp", IamIdpArgs.builder()
.accountId(accountId)
.name("shared-saml-idp")
.type("saml")
.active(true)
.properties(IamIdpPropertiesArgs.builder()
.idp(IamIdpPropertiesIdpArgs.builder()
.entityId("https://idp.example.com/saml/metadata")
.redirectBindingUrl("https://idp.example.com/saml/sso")
.build())
.build())
.secrets(IamIdpSecretsArgs.builder()
.build())
.shareScopes(IamIdpShareScopeArgs.builder()
.id(consumerAccountId)
.type("account")
.build())
.build());
}
}
resources:
sharedIdp:
type: ibm:IamIdp
name: shared_idp
properties:
accountId: ${accountId}
name: shared-saml-idp
type: saml
active: true
properties:
idp:
entityId: https://idp.example.com/saml/metadata
redirectBindingUrl: https://idp.example.com/saml/sso
secrets: {}
shareScopes:
- id: ${consumerAccountId}
type: account
Example coming soon!
Create an IdP and share with an entire enterprise
import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";
const enterpriseIdp = new ibm.IamIdp("enterprise_idp", {
accountId: accountId,
name: "enterprise-saml-idp",
type: "saml",
properties: {
idp: {
entityId: "https://idp.example.com/saml/metadata",
redirectBindingUrl: "https://idp.example.com/saml/sso",
},
},
secrets: {},
shareScopes: [{
id: enterpriseId,
type: "enterprise",
}],
});
import pulumi
import pulumi_ibm as ibm
enterprise_idp = ibm.IamIdp("enterprise_idp",
account_id=account_id,
name="enterprise-saml-idp",
type="saml",
properties={
"idp": {
"entity_id": "https://idp.example.com/saml/metadata",
"redirect_binding_url": "https://idp.example.com/saml/sso",
},
},
secrets={},
share_scopes=[{
"id": enterprise_id,
"type": "enterprise",
}])
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/ibm/v2/ibm"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ibm.NewIamIdp(ctx, "enterprise_idp", &ibm.IamIdpArgs{
AccountId: pulumi.Any(accountId),
Name: pulumi.String("enterprise-saml-idp"),
Type: pulumi.String("saml"),
Properties: &ibm.IamIdpPropertiesArgs{
Idp: &ibm.IamIdpPropertiesIdpArgs{
EntityId: pulumi.String("https://idp.example.com/saml/metadata"),
RedirectBindingUrl: pulumi.String("https://idp.example.com/saml/sso"),
},
},
Secrets: &ibm.IamIdpSecretsArgs{},
ShareScopes: ibm.IamIdpShareScopeArray{
&ibm.IamIdpShareScopeArgs{
Id: pulumi.Any(enterpriseId),
Type: pulumi.String("enterprise"),
},
},
})
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 enterpriseIdp = new Ibm.IamIdp("enterprise_idp", new()
{
AccountId = accountId,
Name = "enterprise-saml-idp",
Type = "saml",
Properties = new Ibm.Inputs.IamIdpPropertiesArgs
{
Idp = new Ibm.Inputs.IamIdpPropertiesIdpArgs
{
EntityId = "https://idp.example.com/saml/metadata",
RedirectBindingUrl = "https://idp.example.com/saml/sso",
},
},
Secrets = null,
ShareScopes = new[]
{
new Ibm.Inputs.IamIdpShareScopeArgs
{
Id = enterpriseId,
Type = "enterprise",
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ibm.IamIdp;
import com.pulumi.ibm.IamIdpArgs;
import com.pulumi.ibm.inputs.IamIdpPropertiesArgs;
import com.pulumi.ibm.inputs.IamIdpPropertiesIdpArgs;
import com.pulumi.ibm.inputs.IamIdpSecretsArgs;
import com.pulumi.ibm.inputs.IamIdpShareScopeArgs;
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) {
var enterpriseIdp = new IamIdp("enterpriseIdp", IamIdpArgs.builder()
.accountId(accountId)
.name("enterprise-saml-idp")
.type("saml")
.properties(IamIdpPropertiesArgs.builder()
.idp(IamIdpPropertiesIdpArgs.builder()
.entityId("https://idp.example.com/saml/metadata")
.redirectBindingUrl("https://idp.example.com/saml/sso")
.build())
.build())
.secrets(IamIdpSecretsArgs.builder()
.build())
.shareScopes(IamIdpShareScopeArgs.builder()
.id(enterpriseId)
.type("enterprise")
.build())
.build());
}
}
resources:
enterpriseIdp:
type: ibm:IamIdp
name: enterprise_idp
properties:
accountId: ${accountId}
name: enterprise-saml-idp
type: saml
properties:
idp:
entityId: https://idp.example.com/saml/metadata
redirectBindingUrl: https://idp.example.com/saml/sso
secrets: {}
shareScopes:
- id: ${enterpriseId}
type: enterprise
Example coming soon!
Create IamIdp Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new IamIdp(name: string, args: IamIdpArgs, opts?: CustomResourceOptions);@overload
def IamIdp(resource_name: str,
args: IamIdpArgs,
opts: Optional[ResourceOptions] = None)
@overload
def IamIdp(resource_name: str,
opts: Optional[ResourceOptions] = None,
account_id: Optional[str] = None,
type: Optional[str] = None,
active: Optional[bool] = None,
iam_idp_id: Optional[str] = None,
name: Optional[str] = None,
properties: Optional[IamIdpPropertiesArgs] = None,
secrets: Optional[IamIdpSecretsArgs] = None,
share_scopes: Optional[Sequence[IamIdpShareScopeArgs]] = None)func NewIamIdp(ctx *Context, name string, args IamIdpArgs, opts ...ResourceOption) (*IamIdp, error)public IamIdp(string name, IamIdpArgs args, CustomResourceOptions? opts = null)
public IamIdp(String name, IamIdpArgs args)
public IamIdp(String name, IamIdpArgs args, CustomResourceOptions options)
type: ibm:IamIdp
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "ibm_iam_idp" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args IamIdpArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args IamIdpArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args IamIdpArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args IamIdpArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args IamIdpArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var iamIdpResource = new Ibm.IamIdp("iamIdpResource", new()
{
AccountId = "string",
Type = "string",
Active = false,
IamIdpId = "string",
Name = "string",
Properties = new Ibm.Inputs.IamIdpPropertiesArgs
{
Idp = new Ibm.Inputs.IamIdpPropertiesIdpArgs
{
EntityId = "string",
LogoutUrl = "string",
RedirectBindingUrl = "string",
WantRequestSigned = false,
XmlImport = false,
},
Sp = new Ibm.Inputs.IamIdpPropertiesSpArgs
{
EncryptResponse = false,
IdpInitiatedLoginEnabled = false,
IdpInitiatedUrls = new[]
{
"string",
},
LogoutUrlEnabledWhenAvailable = false,
WantAssertionSigned = false,
WantResponseSigned = false,
},
},
Secrets = new Ibm.Inputs.IamIdpSecretsArgs
{
Idp = new Ibm.Inputs.IamIdpSecretsIdpArgs
{
XmlImport = false,
},
Sp = null,
},
ShareScopes = new[]
{
new Ibm.Inputs.IamIdpShareScopeArgs
{
Id = "string",
Type = "string",
},
},
});
example, err := ibm.NewIamIdp(ctx, "iamIdpResource", &ibm.IamIdpArgs{
AccountId: pulumi.String("string"),
Type: pulumi.String("string"),
Active: pulumi.Bool(false),
IamIdpId: pulumi.String("string"),
Name: pulumi.String("string"),
Properties: &ibm.IamIdpPropertiesArgs{
Idp: &ibm.IamIdpPropertiesIdpArgs{
EntityId: pulumi.String("string"),
LogoutUrl: pulumi.String("string"),
RedirectBindingUrl: pulumi.String("string"),
WantRequestSigned: pulumi.Bool(false),
XmlImport: pulumi.Bool(false),
},
Sp: &ibm.IamIdpPropertiesSpArgs{
EncryptResponse: pulumi.Bool(false),
IdpInitiatedLoginEnabled: pulumi.Bool(false),
IdpInitiatedUrls: pulumi.StringArray{
pulumi.String("string"),
},
LogoutUrlEnabledWhenAvailable: pulumi.Bool(false),
WantAssertionSigned: pulumi.Bool(false),
WantResponseSigned: pulumi.Bool(false),
},
},
Secrets: &ibm.IamIdpSecretsArgs{
Idp: &ibm.IamIdpSecretsIdpArgs{
XmlImport: pulumi.Bool(false),
},
Sp: &ibm.IamIdpSecretsSpArgs{},
},
ShareScopes: ibm.IamIdpShareScopeArray{
&ibm.IamIdpShareScopeArgs{
Id: pulumi.String("string"),
Type: pulumi.String("string"),
},
},
})
resource "ibm_iam_idp" "iamIdpResource" {
lifecycle {
create_before_destroy = true
}
account_id = "string"
type = "string"
active = false
iam_idp_id = "string"
name = "string"
properties = {
idp = {
entity_id = "string"
logout_url = "string"
redirect_binding_url = "string"
want_request_signed = false
xml_import = false
}
sp = {
encrypt_response = false
idp_initiated_login_enabled = false
idp_initiated_urls = ["string"]
logout_url_enabled_when_available = false
want_assertion_signed = false
want_response_signed = false
}
}
secrets = {
idp = {
xml_import = false
}
sp = {}
}
share_scopes {
id = "string"
type = "string"
}
}
var iamIdpResource = new IamIdp("iamIdpResource", IamIdpArgs.builder()
.accountId("string")
.type("string")
.active(false)
.iamIdpId("string")
.name("string")
.properties(IamIdpPropertiesArgs.builder()
.idp(IamIdpPropertiesIdpArgs.builder()
.entityId("string")
.logoutUrl("string")
.redirectBindingUrl("string")
.wantRequestSigned(false)
.xmlImport(false)
.build())
.sp(IamIdpPropertiesSpArgs.builder()
.encryptResponse(false)
.idpInitiatedLoginEnabled(false)
.idpInitiatedUrls("string")
.logoutUrlEnabledWhenAvailable(false)
.wantAssertionSigned(false)
.wantResponseSigned(false)
.build())
.build())
.secrets(IamIdpSecretsArgs.builder()
.idp(IamIdpSecretsIdpArgs.builder()
.xmlImport(false)
.build())
.sp(IamIdpSecretsSpArgs.builder()
.build())
.build())
.shareScopes(IamIdpShareScopeArgs.builder()
.id("string")
.type("string")
.build())
.build());
iam_idp_resource = ibm.IamIdp("iamIdpResource",
account_id="string",
type="string",
active=False,
iam_idp_id="string",
name="string",
properties={
"idp": {
"entity_id": "string",
"logout_url": "string",
"redirect_binding_url": "string",
"want_request_signed": False,
"xml_import": False,
},
"sp": {
"encrypt_response": False,
"idp_initiated_login_enabled": False,
"idp_initiated_urls": ["string"],
"logout_url_enabled_when_available": False,
"want_assertion_signed": False,
"want_response_signed": False,
},
},
secrets={
"idp": {
"xml_import": False,
},
"sp": {},
},
share_scopes=[{
"id": "string",
"type": "string",
}])
const iamIdpResource = new ibm.IamIdp("iamIdpResource", {
accountId: "string",
type: "string",
active: false,
iamIdpId: "string",
name: "string",
properties: {
idp: {
entityId: "string",
logoutUrl: "string",
redirectBindingUrl: "string",
wantRequestSigned: false,
xmlImport: false,
},
sp: {
encryptResponse: false,
idpInitiatedLoginEnabled: false,
idpInitiatedUrls: ["string"],
logoutUrlEnabledWhenAvailable: false,
wantAssertionSigned: false,
wantResponseSigned: false,
},
},
secrets: {
idp: {
xmlImport: false,
},
sp: {},
},
shareScopes: [{
id: "string",
type: "string",
}],
});
type: ibm:IamIdp
properties:
accountId: string
active: false
iamIdpId: string
name: string
properties:
idp:
entityId: string
logoutUrl: string
redirectBindingUrl: string
wantRequestSigned: false
xmlImport: false
sp:
encryptResponse: false
idpInitiatedLoginEnabled: false
idpInitiatedUrls:
- string
logoutUrlEnabledWhenAvailable: false
wantAssertionSigned: false
wantResponseSigned: false
secrets:
idp:
xmlImport: false
sp: {}
shareScopes:
- id: string
type: string
type: string
IamIdp Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The IamIdp resource accepts the following input properties:
- Account
Id string - Account where the IdP resides. Changing this value creates a new resource.
- Type string
- Type of the IDP. Changing this value creates a new resource.
- Constraints: Allowed values are
saml,appid,ldap.
- Constraints: Allowed values are
- Active bool
- Defines if the IDP is active (enabled) for all accounts, including those that have consumed the IdP. Default during creation is
true. - Iam
Idp stringId - The unique identifier of the IDP (same as
idp_id). - Name string
- Speaking name of the Identity Provider.
- Properties
Iam
Idp Properties - Properties of the IDP stored in plain text. Required for SAML type. Maximum of one block. Nested schema for properties:
- Secrets
Iam
Idp Secrets - Secrets of the IDP stored encrypted. Required for SAML type — use an empty
secrets {}block to auto-generate SP certificates. Maximum of one block. Nested schema for secrets: -
List<Iam
Idp Share Scope> - List of targets that can consume the IdP. Each entry specifies an account or enterprise that is allowed to bind this IdP. Nested schema for share_scope:
- Account
Id string - Account where the IdP resides. Changing this value creates a new resource.
- Type string
- Type of the IDP. Changing this value creates a new resource.
- Constraints: Allowed values are
saml,appid,ldap.
- Constraints: Allowed values are
- Active bool
- Defines if the IDP is active (enabled) for all accounts, including those that have consumed the IdP. Default during creation is
true. - Iam
Idp stringId - The unique identifier of the IDP (same as
idp_id). - Name string
- Speaking name of the Identity Provider.
- Properties
Iam
Idp Properties Args - Properties of the IDP stored in plain text. Required for SAML type. Maximum of one block. Nested schema for properties:
- Secrets
Iam
Idp Secrets Args - Secrets of the IDP stored encrypted. Required for SAML type — use an empty
secrets {}block to auto-generate SP certificates. Maximum of one block. Nested schema for secrets: -
[]Iam
Idp Share Scope Args - List of targets that can consume the IdP. Each entry specifies an account or enterprise that is allowed to bind this IdP. Nested schema for share_scope:
- account_
id string - Account where the IdP resides. Changing this value creates a new resource.
- type string
- Type of the IDP. Changing this value creates a new resource.
- Constraints: Allowed values are
saml,appid,ldap.
- Constraints: Allowed values are
- active bool
- Defines if the IDP is active (enabled) for all accounts, including those that have consumed the IdP. Default during creation is
true. - iam_
idp_ stringid - The unique identifier of the IDP (same as
idp_id). - name string
- Speaking name of the Identity Provider.
- properties object
- Properties of the IDP stored in plain text. Required for SAML type. Maximum of one block. Nested schema for properties:
- secrets object
- Secrets of the IDP stored encrypted. Required for SAML type — use an empty
secrets {}block to auto-generate SP certificates. Maximum of one block. Nested schema for secrets: - list(object)
- List of targets that can consume the IdP. Each entry specifies an account or enterprise that is allowed to bind this IdP. Nested schema for share_scope:
- account
Id String - Account where the IdP resides. Changing this value creates a new resource.
- type String
- Type of the IDP. Changing this value creates a new resource.
- Constraints: Allowed values are
saml,appid,ldap.
- Constraints: Allowed values are
- active Boolean
- Defines if the IDP is active (enabled) for all accounts, including those that have consumed the IdP. Default during creation is
true. - iam
Idp StringId - The unique identifier of the IDP (same as
idp_id). - name String
- Speaking name of the Identity Provider.
- properties
Iam
Idp Properties - Properties of the IDP stored in plain text. Required for SAML type. Maximum of one block. Nested schema for properties:
- secrets
Iam
Idp Secrets - Secrets of the IDP stored encrypted. Required for SAML type — use an empty
secrets {}block to auto-generate SP certificates. Maximum of one block. Nested schema for secrets: -
List<Iam
Idp Share Scope> - List of targets that can consume the IdP. Each entry specifies an account or enterprise that is allowed to bind this IdP. Nested schema for share_scope:
- account
Id string - Account where the IdP resides. Changing this value creates a new resource.
- type string
- Type of the IDP. Changing this value creates a new resource.
- Constraints: Allowed values are
saml,appid,ldap.
- Constraints: Allowed values are
- active boolean
- Defines if the IDP is active (enabled) for all accounts, including those that have consumed the IdP. Default during creation is
true. - iam
Idp stringId - The unique identifier of the IDP (same as
idp_id). - name string
- Speaking name of the Identity Provider.
- properties
Iam
Idp Properties - Properties of the IDP stored in plain text. Required for SAML type. Maximum of one block. Nested schema for properties:
- secrets
Iam
Idp Secrets - Secrets of the IDP stored encrypted. Required for SAML type — use an empty
secrets {}block to auto-generate SP certificates. Maximum of one block. Nested schema for secrets: -
Iam
Idp Share Scope[] - List of targets that can consume the IdP. Each entry specifies an account or enterprise that is allowed to bind this IdP. Nested schema for share_scope:
- account_
id str - Account where the IdP resides. Changing this value creates a new resource.
- type str
- Type of the IDP. Changing this value creates a new resource.
- Constraints: Allowed values are
saml,appid,ldap.
- Constraints: Allowed values are
- active bool
- Defines if the IDP is active (enabled) for all accounts, including those that have consumed the IdP. Default during creation is
true. - iam_
idp_ strid - The unique identifier of the IDP (same as
idp_id). - name str
- Speaking name of the Identity Provider.
- properties
Iam
Idp Properties Args - Properties of the IDP stored in plain text. Required for SAML type. Maximum of one block. Nested schema for properties:
- secrets
Iam
Idp Secrets Args - Secrets of the IDP stored encrypted. Required for SAML type — use an empty
secrets {}block to auto-generate SP certificates. Maximum of one block. Nested schema for secrets: -
Sequence[Iam
Idp Share Scope Args] - List of targets that can consume the IdP. Each entry specifies an account or enterprise that is allowed to bind this IdP. Nested schema for share_scope:
- account
Id String - Account where the IdP resides. Changing this value creates a new resource.
- type String
- Type of the IDP. Changing this value creates a new resource.
- Constraints: Allowed values are
saml,appid,ldap.
- Constraints: Allowed values are
- active Boolean
- Defines if the IDP is active (enabled) for all accounts, including those that have consumed the IdP. Default during creation is
true. - iam
Idp StringId - The unique identifier of the IDP (same as
idp_id). - name String
- Speaking name of the Identity Provider.
- properties Property Map
- Properties of the IDP stored in plain text. Required for SAML type. Maximum of one block. Nested schema for properties:
- secrets Property Map
- Secrets of the IDP stored encrypted. Required for SAML type — use an empty
secrets {}block to auto-generate SP certificates. Maximum of one block. Nested schema for secrets: - List<Property Map>
- List of targets that can consume the IdP. Each entry specifies an account or enterprise that is allowed to bind this IdP. Nested schema for share_scope:
Outputs
All input properties are implicitly available as output properties. Additionally, the IamIdp resource produces the following output properties:
- Created
At string - (String) Timestamp when the IDP was created, in ISO 8601 format.
- Entity
Tag string - (String) Version of the IDP. This value is required when updating the IDP to prevent stale writes.
- Id string
- The provider-assigned unique ID for this managed resource.
- Idp
Id string - (String) Unique identifier assigned to the IDP by the IAM Identity Service.
- Modified
At string - (String) Timestamp when the IDP was last modified, in ISO 8601 format.
- Created
At string - (String) Timestamp when the IDP was created, in ISO 8601 format.
- Entity
Tag string - (String) Version of the IDP. This value is required when updating the IDP to prevent stale writes.
- Id string
- The provider-assigned unique ID for this managed resource.
- Idp
Id string - (String) Unique identifier assigned to the IDP by the IAM Identity Service.
- Modified
At string - (String) Timestamp when the IDP was last modified, in ISO 8601 format.
- created_
at string - (String) Timestamp when the IDP was created, in ISO 8601 format.
- entity_
tag string - (String) Version of the IDP. This value is required when updating the IDP to prevent stale writes.
- id string
- The provider-assigned unique ID for this managed resource.
- idp_
id string - (String) Unique identifier assigned to the IDP by the IAM Identity Service.
- modified_
at string - (String) Timestamp when the IDP was last modified, in ISO 8601 format.
- created
At String - (String) Timestamp when the IDP was created, in ISO 8601 format.
- entity
Tag String - (String) Version of the IDP. This value is required when updating the IDP to prevent stale writes.
- id String
- The provider-assigned unique ID for this managed resource.
- idp
Id String - (String) Unique identifier assigned to the IDP by the IAM Identity Service.
- modified
At String - (String) Timestamp when the IDP was last modified, in ISO 8601 format.
- created
At string - (String) Timestamp when the IDP was created, in ISO 8601 format.
- entity
Tag string - (String) Version of the IDP. This value is required when updating the IDP to prevent stale writes.
- id string
- The provider-assigned unique ID for this managed resource.
- idp
Id string - (String) Unique identifier assigned to the IDP by the IAM Identity Service.
- modified
At string - (String) Timestamp when the IDP was last modified, in ISO 8601 format.
- created_
at str - (String) Timestamp when the IDP was created, in ISO 8601 format.
- entity_
tag str - (String) Version of the IDP. This value is required when updating the IDP to prevent stale writes.
- id str
- The provider-assigned unique ID for this managed resource.
- idp_
id str - (String) Unique identifier assigned to the IDP by the IAM Identity Service.
- modified_
at str - (String) Timestamp when the IDP was last modified, in ISO 8601 format.
- created
At String - (String) Timestamp when the IDP was created, in ISO 8601 format.
- entity
Tag String - (String) Version of the IDP. This value is required when updating the IDP to prevent stale writes.
- id String
- The provider-assigned unique ID for this managed resource.
- idp
Id String - (String) Unique identifier assigned to the IDP by the IAM Identity Service.
- modified
At String - (String) Timestamp when the IDP was last modified, in ISO 8601 format.
Look up Existing IamIdp Resource
Get an existing IamIdp resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: IamIdpState, opts?: CustomResourceOptions): IamIdp@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
account_id: Optional[str] = None,
active: Optional[bool] = None,
created_at: Optional[str] = None,
entity_tag: Optional[str] = None,
iam_idp_id: Optional[str] = None,
idp_id: Optional[str] = None,
modified_at: Optional[str] = None,
name: Optional[str] = None,
properties: Optional[IamIdpPropertiesArgs] = None,
secrets: Optional[IamIdpSecretsArgs] = None,
share_scopes: Optional[Sequence[IamIdpShareScopeArgs]] = None,
type: Optional[str] = None) -> IamIdpfunc GetIamIdp(ctx *Context, name string, id IDInput, state *IamIdpState, opts ...ResourceOption) (*IamIdp, error)public static IamIdp Get(string name, Input<string> id, IamIdpState? state, CustomResourceOptions? opts = null)public static IamIdp get(String name, Output<String> id, IamIdpState state, CustomResourceOptions options)resources: _: type: ibm:IamIdp get: id: ${id}import {
to = ibm_iam_idp.example
id = "${id}"
}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Account
Id string - Account where the IdP resides. Changing this value creates a new resource.
- Active bool
- Defines if the IDP is active (enabled) for all accounts, including those that have consumed the IdP. Default during creation is
true. - Created
At string - (String) Timestamp when the IDP was created, in ISO 8601 format.
- Entity
Tag string - (String) Version of the IDP. This value is required when updating the IDP to prevent stale writes.
- Iam
Idp stringId - The unique identifier of the IDP (same as
idp_id). - Idp
Id string - (String) Unique identifier assigned to the IDP by the IAM Identity Service.
- Modified
At string - (String) Timestamp when the IDP was last modified, in ISO 8601 format.
- Name string
- Speaking name of the Identity Provider.
- Properties
Iam
Idp Properties - Properties of the IDP stored in plain text. Required for SAML type. Maximum of one block. Nested schema for properties:
- Secrets
Iam
Idp Secrets - Secrets of the IDP stored encrypted. Required for SAML type — use an empty
secrets {}block to auto-generate SP certificates. Maximum of one block. Nested schema for secrets: -
List<Iam
Idp Share Scope> - List of targets that can consume the IdP. Each entry specifies an account or enterprise that is allowed to bind this IdP. Nested schema for share_scope:
- Type string
- Type of the IDP. Changing this value creates a new resource.
- Constraints: Allowed values are
saml,appid,ldap.
- Constraints: Allowed values are
- Account
Id string - Account where the IdP resides. Changing this value creates a new resource.
- Active bool
- Defines if the IDP is active (enabled) for all accounts, including those that have consumed the IdP. Default during creation is
true. - Created
At string - (String) Timestamp when the IDP was created, in ISO 8601 format.
- Entity
Tag string - (String) Version of the IDP. This value is required when updating the IDP to prevent stale writes.
- Iam
Idp stringId - The unique identifier of the IDP (same as
idp_id). - Idp
Id string - (String) Unique identifier assigned to the IDP by the IAM Identity Service.
- Modified
At string - (String) Timestamp when the IDP was last modified, in ISO 8601 format.
- Name string
- Speaking name of the Identity Provider.
- Properties
Iam
Idp Properties Args - Properties of the IDP stored in plain text. Required for SAML type. Maximum of one block. Nested schema for properties:
- Secrets
Iam
Idp Secrets Args - Secrets of the IDP stored encrypted. Required for SAML type — use an empty
secrets {}block to auto-generate SP certificates. Maximum of one block. Nested schema for secrets: -
[]Iam
Idp Share Scope Args - List of targets that can consume the IdP. Each entry specifies an account or enterprise that is allowed to bind this IdP. Nested schema for share_scope:
- Type string
- Type of the IDP. Changing this value creates a new resource.
- Constraints: Allowed values are
saml,appid,ldap.
- Constraints: Allowed values are
- account_
id string - Account where the IdP resides. Changing this value creates a new resource.
- active bool
- Defines if the IDP is active (enabled) for all accounts, including those that have consumed the IdP. Default during creation is
true. - created_
at string - (String) Timestamp when the IDP was created, in ISO 8601 format.
- entity_
tag string - (String) Version of the IDP. This value is required when updating the IDP to prevent stale writes.
- iam_
idp_ stringid - The unique identifier of the IDP (same as
idp_id). - idp_
id string - (String) Unique identifier assigned to the IDP by the IAM Identity Service.
- modified_
at string - (String) Timestamp when the IDP was last modified, in ISO 8601 format.
- name string
- Speaking name of the Identity Provider.
- properties object
- Properties of the IDP stored in plain text. Required for SAML type. Maximum of one block. Nested schema for properties:
- secrets object
- Secrets of the IDP stored encrypted. Required for SAML type — use an empty
secrets {}block to auto-generate SP certificates. Maximum of one block. Nested schema for secrets: - list(object)
- List of targets that can consume the IdP. Each entry specifies an account or enterprise that is allowed to bind this IdP. Nested schema for share_scope:
- type string
- Type of the IDP. Changing this value creates a new resource.
- Constraints: Allowed values are
saml,appid,ldap.
- Constraints: Allowed values are
- account
Id String - Account where the IdP resides. Changing this value creates a new resource.
- active Boolean
- Defines if the IDP is active (enabled) for all accounts, including those that have consumed the IdP. Default during creation is
true. - created
At String - (String) Timestamp when the IDP was created, in ISO 8601 format.
- entity
Tag String - (String) Version of the IDP. This value is required when updating the IDP to prevent stale writes.
- iam
Idp StringId - The unique identifier of the IDP (same as
idp_id). - idp
Id String - (String) Unique identifier assigned to the IDP by the IAM Identity Service.
- modified
At String - (String) Timestamp when the IDP was last modified, in ISO 8601 format.
- name String
- Speaking name of the Identity Provider.
- properties
Iam
Idp Properties - Properties of the IDP stored in plain text. Required for SAML type. Maximum of one block. Nested schema for properties:
- secrets
Iam
Idp Secrets - Secrets of the IDP stored encrypted. Required for SAML type — use an empty
secrets {}block to auto-generate SP certificates. Maximum of one block. Nested schema for secrets: -
List<Iam
Idp Share Scope> - List of targets that can consume the IdP. Each entry specifies an account or enterprise that is allowed to bind this IdP. Nested schema for share_scope:
- type String
- Type of the IDP. Changing this value creates a new resource.
- Constraints: Allowed values are
saml,appid,ldap.
- Constraints: Allowed values are
- account
Id string - Account where the IdP resides. Changing this value creates a new resource.
- active boolean
- Defines if the IDP is active (enabled) for all accounts, including those that have consumed the IdP. Default during creation is
true. - created
At string - (String) Timestamp when the IDP was created, in ISO 8601 format.
- entity
Tag string - (String) Version of the IDP. This value is required when updating the IDP to prevent stale writes.
- iam
Idp stringId - The unique identifier of the IDP (same as
idp_id). - idp
Id string - (String) Unique identifier assigned to the IDP by the IAM Identity Service.
- modified
At string - (String) Timestamp when the IDP was last modified, in ISO 8601 format.
- name string
- Speaking name of the Identity Provider.
- properties
Iam
Idp Properties - Properties of the IDP stored in plain text. Required for SAML type. Maximum of one block. Nested schema for properties:
- secrets
Iam
Idp Secrets - Secrets of the IDP stored encrypted. Required for SAML type — use an empty
secrets {}block to auto-generate SP certificates. Maximum of one block. Nested schema for secrets: -
Iam
Idp Share Scope[] - List of targets that can consume the IdP. Each entry specifies an account or enterprise that is allowed to bind this IdP. Nested schema for share_scope:
- type string
- Type of the IDP. Changing this value creates a new resource.
- Constraints: Allowed values are
saml,appid,ldap.
- Constraints: Allowed values are
- account_
id str - Account where the IdP resides. Changing this value creates a new resource.
- active bool
- Defines if the IDP is active (enabled) for all accounts, including those that have consumed the IdP. Default during creation is
true. - created_
at str - (String) Timestamp when the IDP was created, in ISO 8601 format.
- entity_
tag str - (String) Version of the IDP. This value is required when updating the IDP to prevent stale writes.
- iam_
idp_ strid - The unique identifier of the IDP (same as
idp_id). - idp_
id str - (String) Unique identifier assigned to the IDP by the IAM Identity Service.
- modified_
at str - (String) Timestamp when the IDP was last modified, in ISO 8601 format.
- name str
- Speaking name of the Identity Provider.
- properties
Iam
Idp Properties Args - Properties of the IDP stored in plain text. Required for SAML type. Maximum of one block. Nested schema for properties:
- secrets
Iam
Idp Secrets Args - Secrets of the IDP stored encrypted. Required for SAML type — use an empty
secrets {}block to auto-generate SP certificates. Maximum of one block. Nested schema for secrets: -
Sequence[Iam
Idp Share Scope Args] - List of targets that can consume the IdP. Each entry specifies an account or enterprise that is allowed to bind this IdP. Nested schema for share_scope:
- type str
- Type of the IDP. Changing this value creates a new resource.
- Constraints: Allowed values are
saml,appid,ldap.
- Constraints: Allowed values are
- account
Id String - Account where the IdP resides. Changing this value creates a new resource.
- active Boolean
- Defines if the IDP is active (enabled) for all accounts, including those that have consumed the IdP. Default during creation is
true. - created
At String - (String) Timestamp when the IDP was created, in ISO 8601 format.
- entity
Tag String - (String) Version of the IDP. This value is required when updating the IDP to prevent stale writes.
- iam
Idp StringId - The unique identifier of the IDP (same as
idp_id). - idp
Id String - (String) Unique identifier assigned to the IDP by the IAM Identity Service.
- modified
At String - (String) Timestamp when the IDP was last modified, in ISO 8601 format.
- name String
- Speaking name of the Identity Provider.
- properties Property Map
- Properties of the IDP stored in plain text. Required for SAML type. Maximum of one block. Nested schema for properties:
- secrets Property Map
- Secrets of the IDP stored encrypted. Required for SAML type — use an empty
secrets {}block to auto-generate SP certificates. Maximum of one block. Nested schema for secrets: - List<Property Map>
- List of targets that can consume the IdP. Each entry specifies an account or enterprise that is allowed to bind this IdP. Nested schema for share_scope:
- type String
- Type of the IDP. Changing this value creates a new resource.
- Constraints: Allowed values are
saml,appid,ldap.
- Constraints: Allowed values are
Supporting Types
IamIdpProperties, IamIdpPropertiesArgs
- Idp
Iam
Idp Properties Idp - Identity Provider (SAML IDP) configuration. Maximum of one block. Nested schema for idp:
- Sp
Iam
Idp Properties Sp - Service Provider (IBM Cloud SP) configuration. Maximum of one block. Nested schema for sp:
- Idp
Iam
Idp Properties Idp - Identity Provider (SAML IDP) configuration. Maximum of one block. Nested schema for idp:
- Sp
Iam
Idp Properties Sp - Service Provider (IBM Cloud SP) configuration. Maximum of one block. Nested schema for sp:
- idp
Iam
Idp Properties Idp - Identity Provider (SAML IDP) configuration. Maximum of one block. Nested schema for idp:
- sp
Iam
Idp Properties Sp - Service Provider (IBM Cloud SP) configuration. Maximum of one block. Nested schema for sp:
- idp
Iam
Idp Properties Idp - Identity Provider (SAML IDP) configuration. Maximum of one block. Nested schema for idp:
- sp
Iam
Idp Properties Sp - Service Provider (IBM Cloud SP) configuration. Maximum of one block. Nested schema for sp:
- idp
Iam
Idp Properties Idp - Identity Provider (SAML IDP) configuration. Maximum of one block. Nested schema for idp:
- sp
Iam
Idp Properties Sp - Service Provider (IBM Cloud SP) configuration. Maximum of one block. Nested schema for sp:
- idp Property Map
- Identity Provider (SAML IDP) configuration. Maximum of one block. Nested schema for idp:
- sp Property Map
- Service Provider (IBM Cloud SP) configuration. Maximum of one block. Nested schema for sp:
IamIdpPropertiesIdp, IamIdpPropertiesIdpArgs
- Entity
Id string - SAML IDP entity ID. Required when
xml_importisfalse. - Logout
Url string - SAML IDP single logout URL.
- Redirect
Binding stringUrl - SAML redirect binding URL (SSO endpoint). Required when
xml_importisfalse. - Want
Request boolSigned - Indicates if the IDP requires authentication requests to be signed.
- Xml
Import bool - Flag indicating if IdP should be imported from a
metadata.xmlfile. Whentrue,entity_idandredirect_binding_urlare derived from the imported XML.
- Entity
Id string - SAML IDP entity ID. Required when
xml_importisfalse. - Logout
Url string - SAML IDP single logout URL.
- Redirect
Binding stringUrl - SAML redirect binding URL (SSO endpoint). Required when
xml_importisfalse. - Want
Request boolSigned - Indicates if the IDP requires authentication requests to be signed.
- Xml
Import bool - Flag indicating if IdP should be imported from a
metadata.xmlfile. Whentrue,entity_idandredirect_binding_urlare derived from the imported XML.
- entity_
id string - SAML IDP entity ID. Required when
xml_importisfalse. - logout_
url string - SAML IDP single logout URL.
- redirect_
binding_ stringurl - SAML redirect binding URL (SSO endpoint). Required when
xml_importisfalse. - want_
request_ boolsigned - Indicates if the IDP requires authentication requests to be signed.
- xml_
import bool - Flag indicating if IdP should be imported from a
metadata.xmlfile. Whentrue,entity_idandredirect_binding_urlare derived from the imported XML.
- entity
Id String - SAML IDP entity ID. Required when
xml_importisfalse. - logout
Url String - SAML IDP single logout URL.
- redirect
Binding StringUrl - SAML redirect binding URL (SSO endpoint). Required when
xml_importisfalse. - want
Request BooleanSigned - Indicates if the IDP requires authentication requests to be signed.
- xml
Import Boolean - Flag indicating if IdP should be imported from a
metadata.xmlfile. Whentrue,entity_idandredirect_binding_urlare derived from the imported XML.
- entity
Id string - SAML IDP entity ID. Required when
xml_importisfalse. - logout
Url string - SAML IDP single logout URL.
- redirect
Binding stringUrl - SAML redirect binding URL (SSO endpoint). Required when
xml_importisfalse. - want
Request booleanSigned - Indicates if the IDP requires authentication requests to be signed.
- xml
Import boolean - Flag indicating if IdP should be imported from a
metadata.xmlfile. Whentrue,entity_idandredirect_binding_urlare derived from the imported XML.
- entity_
id str - SAML IDP entity ID. Required when
xml_importisfalse. - logout_
url str - SAML IDP single logout URL.
- redirect_
binding_ strurl - SAML redirect binding URL (SSO endpoint). Required when
xml_importisfalse. - want_
request_ boolsigned - Indicates if the IDP requires authentication requests to be signed.
- xml_
import bool - Flag indicating if IdP should be imported from a
metadata.xmlfile. Whentrue,entity_idandredirect_binding_urlare derived from the imported XML.
- entity
Id String - SAML IDP entity ID. Required when
xml_importisfalse. - logout
Url String - SAML IDP single logout URL.
- redirect
Binding StringUrl - SAML redirect binding URL (SSO endpoint). Required when
xml_importisfalse. - want
Request BooleanSigned - Indicates if the IDP requires authentication requests to be signed.
- xml
Import Boolean - Flag indicating if IdP should be imported from a
metadata.xmlfile. Whentrue,entity_idandredirect_binding_urlare derived from the imported XML.
IamIdpPropertiesSp, IamIdpPropertiesSpArgs
- Encrypt
Response bool - Indicates if the SP requires SAML assertions to be encrypted.
- Idp
Initiated boolLogin Enabled - Enables IdP-initiated login (unsolicited SSO).
- Idp
Initiated List<string>Urls - Target URLs for IdP-initiated login. Only applicable when
idp_initiated_login_enabledistrue. - bool
- Enables the SP to use the IdP logout URL when it is available.
- Want
Assertion boolSigned - Indicates if the SP requires SAML assertions to be signed.
- Want
Response boolSigned - Indicates if the SP requires SAML responses to be signed.
- Encrypt
Response bool - Indicates if the SP requires SAML assertions to be encrypted.
- Idp
Initiated boolLogin Enabled - Enables IdP-initiated login (unsolicited SSO).
- Idp
Initiated []stringUrls - Target URLs for IdP-initiated login. Only applicable when
idp_initiated_login_enabledistrue. - bool
- Enables the SP to use the IdP logout URL when it is available.
- Want
Assertion boolSigned - Indicates if the SP requires SAML assertions to be signed.
- Want
Response boolSigned - Indicates if the SP requires SAML responses to be signed.
- encrypt_
response bool - Indicates if the SP requires SAML assertions to be encrypted.
- idp_
initiated_ boollogin_ enabled - Enables IdP-initiated login (unsolicited SSO).
- idp_
initiated_ list(string)urls - Target URLs for IdP-initiated login. Only applicable when
idp_initiated_login_enabledistrue. - logout_
url_ boolenabled_ when_ available - Enables the SP to use the IdP logout URL when it is available.
- want_
assertion_ boolsigned - Indicates if the SP requires SAML assertions to be signed.
- want_
response_ boolsigned - Indicates if the SP requires SAML responses to be signed.
- encrypt
Response Boolean - Indicates if the SP requires SAML assertions to be encrypted.
- idp
Initiated BooleanLogin Enabled - Enables IdP-initiated login (unsolicited SSO).
- idp
Initiated List<String>Urls - Target URLs for IdP-initiated login. Only applicable when
idp_initiated_login_enabledistrue. - Boolean
- Enables the SP to use the IdP logout URL when it is available.
- want
Assertion BooleanSigned - Indicates if the SP requires SAML assertions to be signed.
- want
Response BooleanSigned - Indicates if the SP requires SAML responses to be signed.
- encrypt
Response boolean - Indicates if the SP requires SAML assertions to be encrypted.
- idp
Initiated booleanLogin Enabled - Enables IdP-initiated login (unsolicited SSO).
- idp
Initiated string[]Urls - Target URLs for IdP-initiated login. Only applicable when
idp_initiated_login_enabledistrue. - boolean
- Enables the SP to use the IdP logout URL when it is available.
- want
Assertion booleanSigned - Indicates if the SP requires SAML assertions to be signed.
- want
Response booleanSigned - Indicates if the SP requires SAML responses to be signed.
- encrypt_
response bool - Indicates if the SP requires SAML assertions to be encrypted.
- idp_
initiated_ boollogin_ enabled - Enables IdP-initiated login (unsolicited SSO).
- idp_
initiated_ Sequence[str]urls - Target URLs for IdP-initiated login. Only applicable when
idp_initiated_login_enabledistrue. - logout_
url_ boolenabled_ when_ available - Enables the SP to use the IdP logout URL when it is available.
- want_
assertion_ boolsigned - Indicates if the SP requires SAML assertions to be signed.
- want_
response_ boolsigned - Indicates if the SP requires SAML responses to be signed.
- encrypt
Response Boolean - Indicates if the SP requires SAML assertions to be encrypted.
- idp
Initiated BooleanLogin Enabled - Enables IdP-initiated login (unsolicited SSO).
- idp
Initiated List<String>Urls - Target URLs for IdP-initiated login. Only applicable when
idp_initiated_login_enabledistrue. - Boolean
- Enables the SP to use the IdP logout URL when it is available.
- want
Assertion BooleanSigned - Indicates if the SP requires SAML assertions to be signed.
- want
Response BooleanSigned - Indicates if the SP requires SAML responses to be signed.
IamIdpSecrets, IamIdpSecretsArgs
- Idp
Iam
Idp Secrets Idp - Identity Provider secrets. Maximum of one block. Nested schema for idp:
- Sp
Iam
Idp Secrets Sp - Service Provider secrets. Leave empty to have IBM Cloud auto-generate SP signing certificates. Maximum of one block.
- Idp
Iam
Idp Secrets Idp - Identity Provider secrets. Maximum of one block. Nested schema for idp:
- Sp
Iam
Idp Secrets Sp - Service Provider secrets. Leave empty to have IBM Cloud auto-generate SP signing certificates. Maximum of one block.
- idp
Iam
Idp Secrets Idp - Identity Provider secrets. Maximum of one block. Nested schema for idp:
- sp
Iam
Idp Secrets Sp - Service Provider secrets. Leave empty to have IBM Cloud auto-generate SP signing certificates. Maximum of one block.
- idp
Iam
Idp Secrets Idp - Identity Provider secrets. Maximum of one block. Nested schema for idp:
- sp
Iam
Idp Secrets Sp - Service Provider secrets. Leave empty to have IBM Cloud auto-generate SP signing certificates. Maximum of one block.
- idp
Iam
Idp Secrets Idp - Identity Provider secrets. Maximum of one block. Nested schema for idp:
- sp
Iam
Idp Secrets Sp - Service Provider secrets. Leave empty to have IBM Cloud auto-generate SP signing certificates. Maximum of one block.
- idp Property Map
- Identity Provider secrets. Maximum of one block. Nested schema for idp:
- sp Property Map
- Service Provider secrets. Leave empty to have IBM Cloud auto-generate SP signing certificates. Maximum of one block.
IamIdpSecretsIdp, IamIdpSecretsIdpArgs
- Xml
Import bool - Flag indicating if secrets should be imported from a
metadata.xmlfile.
- Xml
Import bool - Flag indicating if secrets should be imported from a
metadata.xmlfile.
- xml_
import bool - Flag indicating if secrets should be imported from a
metadata.xmlfile.
- xml
Import Boolean - Flag indicating if secrets should be imported from a
metadata.xmlfile.
- xml
Import boolean - Flag indicating if secrets should be imported from a
metadata.xmlfile.
- xml_
import bool - Flag indicating if secrets should be imported from a
metadata.xmlfile.
- xml
Import Boolean - Flag indicating if secrets should be imported from a
metadata.xmlfile.
IamIdpShareScope, IamIdpShareScopeArgs
Import
You can import the ibm_iam_idp resource by using idp_id.
Syntax
```sh $ pulumi import ibm:index/iamIdp:IamIdp my_idp <idp_id> ```
Example
```sh $ pulumi import ibm:index/iamIdp:IamIdp my_idp a1b2c3d4-e5f6-7890-abcd-ef1234567890 ```
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- ibm ibm-cloud/terraform-provider-ibm
- License
- Notes
- This Pulumi package is based on the
ibmTerraform Provider.
published on Wednesday, Aug 5, 2026 by ibm-cloud