published on Wednesday, Aug 5, 2026 by ibm-cloud
published on Wednesday, Aug 5, 2026 by ibm-cloud
Provides a read-only data source to list IAM Identity Provider (IdP) account settings for a given account. Depending on the type argument, this data source returns either the IdPs that the account can consume (consumable) or the IdPs that the account is already consuming (consumed).
For more information, see the IAM Identity Services API documentation.
Example Usage
List IdPs available for an account to consume
import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";
const consumable = ibm.getIamIdpAccountSettings({
accountId: accountId,
type: "consumable",
});
import pulumi
import pulumi_ibm as ibm
consumable = ibm.get_iam_idp_account_settings(account_id=account_id,
type="consumable")
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.GetIamIdpAccountSettings(ctx, &ibm.GetIamIdpAccountSettingsArgs{
AccountId: accountId,
Type: "consumable",
}, 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 consumable = Ibm.GetIamIdpAccountSettings.Invoke(new()
{
AccountId = accountId,
Type = "consumable",
});
});
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.GetIamIdpAccountSettingsArgs;
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 consumable = IbmFunctions.getIamIdpAccountSettings(GetIamIdpAccountSettingsArgs.builder()
.accountId(accountId)
.type("consumable")
.build());
}
}
variables:
consumable:
fn::invoke:
function: ibm:getIamIdpAccountSettings
arguments:
accountId: ${accountId}
type: consumable
Example coming soon!
List IdPs already bound to an account
import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";
const consumed = ibm.getIamIdpAccountSettings({
accountId: accountId,
type: "consumed",
});
import pulumi
import pulumi_ibm as ibm
consumed = ibm.get_iam_idp_account_settings(account_id=account_id,
type="consumed")
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.GetIamIdpAccountSettings(ctx, &ibm.GetIamIdpAccountSettingsArgs{
AccountId: accountId,
Type: "consumed",
}, 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 consumed = Ibm.GetIamIdpAccountSettings.Invoke(new()
{
AccountId = accountId,
Type = "consumed",
});
});
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.GetIamIdpAccountSettingsArgs;
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 consumed = IbmFunctions.getIamIdpAccountSettings(GetIamIdpAccountSettingsArgs.builder()
.accountId(accountId)
.type("consumed")
.build());
}
}
variables:
consumed:
fn::invoke:
function: ibm:getIamIdpAccountSettings
arguments:
accountId: ${accountId}
type: consumed
Example coming soon!
Output the names of all bound IdPs
import * as pulumi from "@pulumi/pulumi";
export const boundIdpNames = .map(idp => (idp.idpName));
import pulumi
pulumi.export("boundIdpNames", [idp["idpName"] for idp in consumed["idps"]])
Example coming soon!
using System.Collections.Generic;
using System.Linq;
using Pulumi;
return await Deployment.RunAsync(() =>
{
return new Dictionary<string, object?>
{
["boundIdpNames"] = .Select(idp =>
{
return idp.IdpName;
}).ToList(),
};
});
Example coming soon!
Example coming soon!
Example coming soon!
Using getIamIdpAccountSettings
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 getIamIdpAccountSettings(args: GetIamIdpAccountSettingsArgs, opts?: InvokeOptions): Promise<GetIamIdpAccountSettingsResult>
function getIamIdpAccountSettingsOutput(args: GetIamIdpAccountSettingsOutputArgs, opts?: InvokeOptions): Output<GetIamIdpAccountSettingsResult>def get_iam_idp_account_settings(account_id: Optional[str] = None,
id: Optional[str] = None,
type: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetIamIdpAccountSettingsResult
def get_iam_idp_account_settings_output(account_id: pulumi.Input[Optional[str]] = None,
id: pulumi.Input[Optional[str]] = None,
type: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetIamIdpAccountSettingsResult]func GetIamIdpAccountSettings(ctx *Context, args *GetIamIdpAccountSettingsArgs, opts ...InvokeOption) (*GetIamIdpAccountSettingsResult, error)
func GetIamIdpAccountSettingsOutput(ctx *Context, args *GetIamIdpAccountSettingsOutputArgs, opts ...InvokeOption) GetIamIdpAccountSettingsResultOutput> Note: This function is named GetIamIdpAccountSettings in the Go SDK.
public static class GetIamIdpAccountSettings
{
public static Task<GetIamIdpAccountSettingsResult> InvokeAsync(GetIamIdpAccountSettingsArgs args, InvokeOptions? opts = null)
public static Output<GetIamIdpAccountSettingsResult> Invoke(GetIamIdpAccountSettingsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetIamIdpAccountSettingsResult> getIamIdpAccountSettings(GetIamIdpAccountSettingsArgs args, InvokeOptions options)
public static Output<GetIamIdpAccountSettingsResult> getIamIdpAccountSettings(GetIamIdpAccountSettingsArgs args, InvokeOptions options)
fn::invoke:
function: ibm:index/getIamIdpAccountSettings:getIamIdpAccountSettings
arguments:
# arguments dictionarydata "ibm_get_iam_idp_account_settings" "name" {
# arguments
}The following arguments are supported:
- account_
id string - Account ID to retrieve IDP settings for.
- type string
- The type of IDP settings to list.
- Constraints: Allowed values are:
- id string
- The unique identifier of this data source, formed as
<account_id>/<type>.
- account_
id str - Account ID to retrieve IDP settings for.
- type str
- The type of IDP settings to list.
- Constraints: Allowed values are:
- id str
- The unique identifier of this data source, formed as
<account_id>/<type>.
getIamIdpAccountSettings Result
The following output properties are available:
- Account
Id string - Id string
- The unique identifier of this data source, formed as
<account_id>/<type>. - Idps
List<Get
Iam Idp Account Settings Idp> - (List) List of IDP account settings. Nested schema for idps:
- Type string
- Account
Id string - Id string
- The unique identifier of this data source, formed as
<account_id>/<type>. - Idps
[]Get
Iam Idp Account Settings Idp - (List) List of IDP account settings. Nested schema for idps:
- Type string
- account_
id string - id string
- The unique identifier of this data source, formed as
<account_id>/<type>. - idps list(object)
- (List) List of IDP account settings. Nested schema for idps:
- type string
- account
Id String - id String
- The unique identifier of this data source, formed as
<account_id>/<type>. - idps
List<Get
Iam Idp Account Settings Idp> - (List) List of IDP account settings. Nested schema for idps:
- type String
- account
Id string - id string
- The unique identifier of this data source, formed as
<account_id>/<type>. - idps
Get
Iam Idp Account Settings Idp[] - (List) List of IDP account settings. Nested schema for idps:
- type string
- account_
id str - id str
- The unique identifier of this data source, formed as
<account_id>/<type>. - idps
Sequence[Get
Iam Idp Account Settings Idp] - (List) List of IDP account settings. Nested schema for idps:
- type str
- account
Id String - id String
- The unique identifier of this data source, formed as
<account_id>/<type>. - idps List<Property Map>
- (List) List of IDP account settings. Nested schema for idps:
- type String
Supporting Types
GetIamIdpAccountSettingsIdp
- Active bool
- (Boolean) Whether the IdP is enabled for usage in this account.
- Cloud
User stringStrategy - (String) Strategy for how Cloud User representatives are managed for users of this IdP. Possible values are
DYNAMIC,STATIC,NEVER. - Idp
Id string - (String) Identity provider ID.
- Idp
Name string - (String) Display name of the Identity Provider.
- Idp
Type string - (String) Type of the Identity Provider (e.g.
saml,appid,ldap). - Owner
Account string - (String) ID of the account that owns (created) the IdP.
- Owner
Account stringName - (String) Display name of the account that owns the IdP.
- Ui
Default bool - (Boolean) Whether the IdP is the default login option shown in the IBM Cloud UI for this account.
- Active bool
- (Boolean) Whether the IdP is enabled for usage in this account.
- Cloud
User stringStrategy - (String) Strategy for how Cloud User representatives are managed for users of this IdP. Possible values are
DYNAMIC,STATIC,NEVER. - Idp
Id string - (String) Identity provider ID.
- Idp
Name string - (String) Display name of the Identity Provider.
- Idp
Type string - (String) Type of the Identity Provider (e.g.
saml,appid,ldap). - Owner
Account string - (String) ID of the account that owns (created) the IdP.
- Owner
Account stringName - (String) Display name of the account that owns the IdP.
- Ui
Default bool - (Boolean) Whether the IdP is the default login option shown in the IBM Cloud UI for this account.
- active bool
- (Boolean) Whether the IdP is enabled for usage in this account.
- cloud_
user_ stringstrategy - (String) Strategy for how Cloud User representatives are managed for users of this IdP. Possible values are
DYNAMIC,STATIC,NEVER. - idp_
id string - (String) Identity provider ID.
- idp_
name string - (String) Display name of the Identity Provider.
- idp_
type string - (String) Type of the Identity Provider (e.g.
saml,appid,ldap). - owner_
account string - (String) ID of the account that owns (created) the IdP.
- owner_
account_ stringname - (String) Display name of the account that owns the IdP.
- ui_
default bool - (Boolean) Whether the IdP is the default login option shown in the IBM Cloud UI for this account.
- active Boolean
- (Boolean) Whether the IdP is enabled for usage in this account.
- cloud
User StringStrategy - (String) Strategy for how Cloud User representatives are managed for users of this IdP. Possible values are
DYNAMIC,STATIC,NEVER. - idp
Id String - (String) Identity provider ID.
- idp
Name String - (String) Display name of the Identity Provider.
- idp
Type String - (String) Type of the Identity Provider (e.g.
saml,appid,ldap). - owner
Account String - (String) ID of the account that owns (created) the IdP.
- owner
Account StringName - (String) Display name of the account that owns the IdP.
- ui
Default Boolean - (Boolean) Whether the IdP is the default login option shown in the IBM Cloud UI for this account.
- active boolean
- (Boolean) Whether the IdP is enabled for usage in this account.
- cloud
User stringStrategy - (String) Strategy for how Cloud User representatives are managed for users of this IdP. Possible values are
DYNAMIC,STATIC,NEVER. - idp
Id string - (String) Identity provider ID.
- idp
Name string - (String) Display name of the Identity Provider.
- idp
Type string - (String) Type of the Identity Provider (e.g.
saml,appid,ldap). - owner
Account string - (String) ID of the account that owns (created) the IdP.
- owner
Account stringName - (String) Display name of the account that owns the IdP.
- ui
Default boolean - (Boolean) Whether the IdP is the default login option shown in the IBM Cloud UI for this account.
- active bool
- (Boolean) Whether the IdP is enabled for usage in this account.
- cloud_
user_ strstrategy - (String) Strategy for how Cloud User representatives are managed for users of this IdP. Possible values are
DYNAMIC,STATIC,NEVER. - idp_
id str - (String) Identity provider ID.
- idp_
name str - (String) Display name of the Identity Provider.
- idp_
type str - (String) Type of the Identity Provider (e.g.
saml,appid,ldap). - owner_
account str - (String) ID of the account that owns (created) the IdP.
- owner_
account_ strname - (String) Display name of the account that owns the IdP.
- ui_
default bool - (Boolean) Whether the IdP is the default login option shown in the IBM Cloud UI for this account.
- active Boolean
- (Boolean) Whether the IdP is enabled for usage in this account.
- cloud
User StringStrategy - (String) Strategy for how Cloud User representatives are managed for users of this IdP. Possible values are
DYNAMIC,STATIC,NEVER. - idp
Id String - (String) Identity provider ID.
- idp
Name String - (String) Display name of the Identity Provider.
- idp
Type String - (String) Type of the Identity Provider (e.g.
saml,appid,ldap). - owner
Account String - (String) ID of the account that owns (created) the IdP.
- owner
Account StringName - (String) Display name of the account that owns the IdP.
- ui
Default Boolean - (Boolean) Whether the IdP is the default login option shown in the IBM Cloud UI for this account.
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