ibm 1.85.0-beta0 published on Wednesday, Oct 29, 2025 by ibm-cloud
ibm.getIamAccountSettings
Provides a read-only data source to retrieve information about iam_account_settings. You can then reference the fields of the data source in other resources within the same configuration by using interpolation syntax.
Example Usage
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
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.GetIamAccountSettingsArgs;
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 iamAccountSettings = IbmFunctions.getIamAccountSettings(GetIamAccountSettingsArgs.builder()
.accountId(ibm_iam_account_settings.iam_account_settings_instance().account_id())
.build());
}
}
variables:
iamAccountSettings:
fn::invoke:
function: ibm:getIamAccountSettings
arguments:
accountId: ${ibm_iam_account_settings.iam_account_settings_instance.account_id}
Using getIamAccountSettings
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 getIamAccountSettings(args: GetIamAccountSettingsArgs, opts?: InvokeOptions): Promise<GetIamAccountSettingsResult>
function getIamAccountSettingsOutput(args: GetIamAccountSettingsOutputArgs, opts?: InvokeOptions): Output<GetIamAccountSettingsResult>def get_iam_account_settings(id: Optional[str] = None,
include_history: Optional[bool] = None,
resolve_user_mfa: Optional[bool] = None,
opts: Optional[InvokeOptions] = None) -> GetIamAccountSettingsResult
def get_iam_account_settings_output(id: Optional[pulumi.Input[str]] = None,
include_history: Optional[pulumi.Input[bool]] = None,
resolve_user_mfa: Optional[pulumi.Input[bool]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetIamAccountSettingsResult]func LookupIamAccountSettings(ctx *Context, args *LookupIamAccountSettingsArgs, opts ...InvokeOption) (*LookupIamAccountSettingsResult, error)
func LookupIamAccountSettingsOutput(ctx *Context, args *LookupIamAccountSettingsOutputArgs, opts ...InvokeOption) LookupIamAccountSettingsResultOutput> Note: This function is named LookupIamAccountSettings in the Go SDK.
public static class GetIamAccountSettings
{
public static Task<GetIamAccountSettingsResult> InvokeAsync(GetIamAccountSettingsArgs args, InvokeOptions? opts = null)
public static Output<GetIamAccountSettingsResult> Invoke(GetIamAccountSettingsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetIamAccountSettingsResult> getIamAccountSettings(GetIamAccountSettingsArgs args, InvokeOptions options)
public static Output<GetIamAccountSettingsResult> getIamAccountSettings(GetIamAccountSettingsArgs args, InvokeOptions options)
fn::invoke:
function: ibm:index/getIamAccountSettings:getIamAccountSettings
arguments:
# arguments dictionaryThe following arguments are supported:
- Id string
- The unique identifier of the iam_account_settings.
- Include
History bool - Defines if the entity history is included in the response.
- Constraints: The default value is
false.
- Constraints: The default value is
- Resolve
User boolMfa - Enrich MFA exemptions with user PI.
- Constraints: The default value is
false.
- Constraints: The default value is
- Id string
- The unique identifier of the iam_account_settings.
- Include
History bool - Defines if the entity history is included in the response.
- Constraints: The default value is
false.
- Constraints: The default value is
- Resolve
User boolMfa - Enrich MFA exemptions with user PI.
- Constraints: The default value is
false.
- Constraints: The default value is
- id String
- The unique identifier of the iam_account_settings.
- include
History Boolean - Defines if the entity history is included in the response.
- Constraints: The default value is
false.
- Constraints: The default value is
- resolve
User BooleanMfa - Enrich MFA exemptions with user PI.
- Constraints: The default value is
false.
- Constraints: The default value is
- id string
- The unique identifier of the iam_account_settings.
- include
History boolean - Defines if the entity history is included in the response.
- Constraints: The default value is
false.
- Constraints: The default value is
- resolve
User booleanMfa - Enrich MFA exemptions with user PI.
- Constraints: The default value is
false.
- Constraints: The default value is
- id str
- The unique identifier of the iam_account_settings.
- include_
history bool - Defines if the entity history is included in the response.
- Constraints: The default value is
false.
- Constraints: The default value is
- resolve_
user_ boolmfa - Enrich MFA exemptions with user PI.
- Constraints: The default value is
false.
- Constraints: The default value is
- id String
- The unique identifier of the iam_account_settings.
- include
History Boolean - Defines if the entity history is included in the response.
- Constraints: The default value is
false.
- Constraints: The default value is
- resolve
User BooleanMfa - Enrich MFA exemptions with user PI.
- Constraints: The default value is
false.
- Constraints: The default value is
getIamAccountSettings Result
The following output properties are available:
- Account
Id string - Allowed
Ip stringAddresses - (String) Defines the IP addresses and subnets from which IAM tokens can be created for the account.
- Entity
Tag string - (String) The version of an account settings.
- Histories
List<Get
Iam Account Settings History> - (String) The history of an account settings. Nested history blocks have the following structure.
- Nested schema for history:
- Id string
- The unique identifier of the iam_account_settings.
- Max
Sessions stringPer Identity - (String) Defines the max allowed sessions per identity required by the account. Valid values: * Any whole number greater than 0 * NOT_SET - To unset account setting and use service default.
- Mfa string
- (String) MFA trait definitions as follows: * NONE - No MFA trait set * NONE_NO_ROPC- No MFA, disable CLI logins with only a password * TOTP - For all non-federated IBMId users * TOTP4ALL - For all users * LEVEL1 - Email-based MFA for all users * LEVEL2 - TOTP-based MFA for all users * LEVEL3 - U2F MFA for all users.
- Constraints: Allowable values are:
NONE,NONE_NO_ROPC,TOTP,TOTP4ALL,LEVEL1,LEVEL2,LEVEL3.
- Constraints: Allowable values are:
- Restrict
Create stringPlatform Apikey - (String) Defines whether or not creating the resource is access controlled. Valid values: * RESTRICTED - only users assigned the 'Service ID creator' role on the IAM Identity Service can create service IDs, including the account owner * NOT_RESTRICTED - all members of an account can create service IDs * NOT_SET - to 'unset' a previous set value.
- Constraints: The default value is
NOT_SET. Allowable values are:RESTRICTED,NOT_RESTRICTED,NOT_SET.
- Constraints: The default value is
- Restrict
Create stringService Id - (String) Defines whether or not creating the resource is access controlled. Valid values: * RESTRICTED - only users assigned the 'Service ID creator' role on the IAM Identity Service can create service IDs, including the account owner * NOT_RESTRICTED - all members of an account can create service IDs * NOT_SET - to 'unset' a previous set value.
- Constraints: The default value is
NOT_SET. Allowable values are:RESTRICTED,NOT_RESTRICTED,NOT_SET.
- Constraints: The default value is
- Restrict
User List<GetDomains Iam Account Settings Restrict User Domain> - (List) Defines if account invitations are restricted to specified domains. To remove an entry for a realm_id, perform an update (PUT) request with only the realm_id set.
- Nested schema for restrict_user_domains:
- Restrict
User stringList Visibility - (String) Defines whether or not user visibility is access controlled. Valid values: * RESTRICTED - users can view only specific types of users in the account, such as those the user has invited to the account, or descendants of those users based on the classic infrastructure hierarchy * NOT_RESTRICTED - any user in the account can view other users from the Users page in IBM Cloud console.
- Constraints: The default value is
NOT_RESTRICTED. Allowable values are:NOT_RESTRICTED,RESTRICTED.
- Constraints: The default value is
- Session
Expiration stringIn Seconds - (String) Defines the session expiration in seconds for the account. Valid values: * Any whole number between between '900' and '86400' * NOT_SET - To unset account setting and use service default.
- Constraints: The default value is
86400.
- Constraints: The default value is
- Session
Invalidation stringIn Seconds - (String) Defines the period of time in seconds in which a session will be invalidated due to inactivity. Valid values: * Any whole number between '900' and '7200' * NOT_SET - To unset account setting and use service default.
- Constraints: The default value is
7200.
- Constraints: The default value is
- System
Access stringToken Expiration In Seconds - (String) Defines the access token expiration in seconds. Valid values: * Any whole number between '900' and '3600' * NOT_SET - To unset account setting and use service default.
- Constraints: The default value is
3600.
- Constraints: The default value is
- System
Refresh stringToken Expiration In Seconds - (String) Defines the refresh token expiration in seconds. Valid values: * Any whole number between '900' and '259200' * NOT_SET - To unset account setting and use service default.
- Constraints: The default value is
259200.
- Constraints: The default value is
- User
Mfas List<GetIam Account Settings User Mfa> - (List) List of users that are exempted from the MFA requirement of the account.
- Nested schema for user_mfa:
- Include
History bool - Resolve
User boolMfa
- Account
Id string - Allowed
Ip stringAddresses - (String) Defines the IP addresses and subnets from which IAM tokens can be created for the account.
- Entity
Tag string - (String) The version of an account settings.
- Histories
[]Get
Iam Account Settings History - (String) The history of an account settings. Nested history blocks have the following structure.
- Nested schema for history:
- Id string
- The unique identifier of the iam_account_settings.
- Max
Sessions stringPer Identity - (String) Defines the max allowed sessions per identity required by the account. Valid values: * Any whole number greater than 0 * NOT_SET - To unset account setting and use service default.
- Mfa string
- (String) MFA trait definitions as follows: * NONE - No MFA trait set * NONE_NO_ROPC- No MFA, disable CLI logins with only a password * TOTP - For all non-federated IBMId users * TOTP4ALL - For all users * LEVEL1 - Email-based MFA for all users * LEVEL2 - TOTP-based MFA for all users * LEVEL3 - U2F MFA for all users.
- Constraints: Allowable values are:
NONE,NONE_NO_ROPC,TOTP,TOTP4ALL,LEVEL1,LEVEL2,LEVEL3.
- Constraints: Allowable values are:
- Restrict
Create stringPlatform Apikey - (String) Defines whether or not creating the resource is access controlled. Valid values: * RESTRICTED - only users assigned the 'Service ID creator' role on the IAM Identity Service can create service IDs, including the account owner * NOT_RESTRICTED - all members of an account can create service IDs * NOT_SET - to 'unset' a previous set value.
- Constraints: The default value is
NOT_SET. Allowable values are:RESTRICTED,NOT_RESTRICTED,NOT_SET.
- Constraints: The default value is
- Restrict
Create stringService Id - (String) Defines whether or not creating the resource is access controlled. Valid values: * RESTRICTED - only users assigned the 'Service ID creator' role on the IAM Identity Service can create service IDs, including the account owner * NOT_RESTRICTED - all members of an account can create service IDs * NOT_SET - to 'unset' a previous set value.
- Constraints: The default value is
NOT_SET. Allowable values are:RESTRICTED,NOT_RESTRICTED,NOT_SET.
- Constraints: The default value is
- Restrict
User []GetDomains Iam Account Settings Restrict User Domain - (List) Defines if account invitations are restricted to specified domains. To remove an entry for a realm_id, perform an update (PUT) request with only the realm_id set.
- Nested schema for restrict_user_domains:
- Restrict
User stringList Visibility - (String) Defines whether or not user visibility is access controlled. Valid values: * RESTRICTED - users can view only specific types of users in the account, such as those the user has invited to the account, or descendants of those users based on the classic infrastructure hierarchy * NOT_RESTRICTED - any user in the account can view other users from the Users page in IBM Cloud console.
- Constraints: The default value is
NOT_RESTRICTED. Allowable values are:NOT_RESTRICTED,RESTRICTED.
- Constraints: The default value is
- Session
Expiration stringIn Seconds - (String) Defines the session expiration in seconds for the account. Valid values: * Any whole number between between '900' and '86400' * NOT_SET - To unset account setting and use service default.
- Constraints: The default value is
86400.
- Constraints: The default value is
- Session
Invalidation stringIn Seconds - (String) Defines the period of time in seconds in which a session will be invalidated due to inactivity. Valid values: * Any whole number between '900' and '7200' * NOT_SET - To unset account setting and use service default.
- Constraints: The default value is
7200.
- Constraints: The default value is
- System
Access stringToken Expiration In Seconds - (String) Defines the access token expiration in seconds. Valid values: * Any whole number between '900' and '3600' * NOT_SET - To unset account setting and use service default.
- Constraints: The default value is
3600.
- Constraints: The default value is
- System
Refresh stringToken Expiration In Seconds - (String) Defines the refresh token expiration in seconds. Valid values: * Any whole number between '900' and '259200' * NOT_SET - To unset account setting and use service default.
- Constraints: The default value is
259200.
- Constraints: The default value is
- User
Mfas []GetIam Account Settings User Mfa - (List) List of users that are exempted from the MFA requirement of the account.
- Nested schema for user_mfa:
- Include
History bool - Resolve
User boolMfa
- account
Id String - allowed
Ip StringAddresses - (String) Defines the IP addresses and subnets from which IAM tokens can be created for the account.
- entity
Tag String - (String) The version of an account settings.
- histories
List<Get
Iam Account Settings History> - (String) The history of an account settings. Nested history blocks have the following structure.
- Nested schema for history:
- id String
- The unique identifier of the iam_account_settings.
- max
Sessions StringPer Identity - (String) Defines the max allowed sessions per identity required by the account. Valid values: * Any whole number greater than 0 * NOT_SET - To unset account setting and use service default.
- mfa String
- (String) MFA trait definitions as follows: * NONE - No MFA trait set * NONE_NO_ROPC- No MFA, disable CLI logins with only a password * TOTP - For all non-federated IBMId users * TOTP4ALL - For all users * LEVEL1 - Email-based MFA for all users * LEVEL2 - TOTP-based MFA for all users * LEVEL3 - U2F MFA for all users.
- Constraints: Allowable values are:
NONE,NONE_NO_ROPC,TOTP,TOTP4ALL,LEVEL1,LEVEL2,LEVEL3.
- Constraints: Allowable values are:
- restrict
Create StringPlatform Apikey - (String) Defines whether or not creating the resource is access controlled. Valid values: * RESTRICTED - only users assigned the 'Service ID creator' role on the IAM Identity Service can create service IDs, including the account owner * NOT_RESTRICTED - all members of an account can create service IDs * NOT_SET - to 'unset' a previous set value.
- Constraints: The default value is
NOT_SET. Allowable values are:RESTRICTED,NOT_RESTRICTED,NOT_SET.
- Constraints: The default value is
- restrict
Create StringService Id - (String) Defines whether or not creating the resource is access controlled. Valid values: * RESTRICTED - only users assigned the 'Service ID creator' role on the IAM Identity Service can create service IDs, including the account owner * NOT_RESTRICTED - all members of an account can create service IDs * NOT_SET - to 'unset' a previous set value.
- Constraints: The default value is
NOT_SET. Allowable values are:RESTRICTED,NOT_RESTRICTED,NOT_SET.
- Constraints: The default value is
- restrict
User List<GetDomains Iam Account Settings Restrict User Domain> - (List) Defines if account invitations are restricted to specified domains. To remove an entry for a realm_id, perform an update (PUT) request with only the realm_id set.
- Nested schema for restrict_user_domains:
- restrict
User StringList Visibility - (String) Defines whether or not user visibility is access controlled. Valid values: * RESTRICTED - users can view only specific types of users in the account, such as those the user has invited to the account, or descendants of those users based on the classic infrastructure hierarchy * NOT_RESTRICTED - any user in the account can view other users from the Users page in IBM Cloud console.
- Constraints: The default value is
NOT_RESTRICTED. Allowable values are:NOT_RESTRICTED,RESTRICTED.
- Constraints: The default value is
- session
Expiration StringIn Seconds - (String) Defines the session expiration in seconds for the account. Valid values: * Any whole number between between '900' and '86400' * NOT_SET - To unset account setting and use service default.
- Constraints: The default value is
86400.
- Constraints: The default value is
- session
Invalidation StringIn Seconds - (String) Defines the period of time in seconds in which a session will be invalidated due to inactivity. Valid values: * Any whole number between '900' and '7200' * NOT_SET - To unset account setting and use service default.
- Constraints: The default value is
7200.
- Constraints: The default value is
- system
Access StringToken Expiration In Seconds - (String) Defines the access token expiration in seconds. Valid values: * Any whole number between '900' and '3600' * NOT_SET - To unset account setting and use service default.
- Constraints: The default value is
3600.
- Constraints: The default value is
- system
Refresh StringToken Expiration In Seconds - (String) Defines the refresh token expiration in seconds. Valid values: * Any whole number between '900' and '259200' * NOT_SET - To unset account setting and use service default.
- Constraints: The default value is
259200.
- Constraints: The default value is
- user
Mfas List<GetIam Account Settings User Mfa> - (List) List of users that are exempted from the MFA requirement of the account.
- Nested schema for user_mfa:
- include
History Boolean - resolve
User BooleanMfa
- account
Id string - allowed
Ip stringAddresses - (String) Defines the IP addresses and subnets from which IAM tokens can be created for the account.
- entity
Tag string - (String) The version of an account settings.
- histories
Get
Iam Account Settings History[] - (String) The history of an account settings. Nested history blocks have the following structure.
- Nested schema for history:
- id string
- The unique identifier of the iam_account_settings.
- max
Sessions stringPer Identity - (String) Defines the max allowed sessions per identity required by the account. Valid values: * Any whole number greater than 0 * NOT_SET - To unset account setting and use service default.
- mfa string
- (String) MFA trait definitions as follows: * NONE - No MFA trait set * NONE_NO_ROPC- No MFA, disable CLI logins with only a password * TOTP - For all non-federated IBMId users * TOTP4ALL - For all users * LEVEL1 - Email-based MFA for all users * LEVEL2 - TOTP-based MFA for all users * LEVEL3 - U2F MFA for all users.
- Constraints: Allowable values are:
NONE,NONE_NO_ROPC,TOTP,TOTP4ALL,LEVEL1,LEVEL2,LEVEL3.
- Constraints: Allowable values are:
- restrict
Create stringPlatform Apikey - (String) Defines whether or not creating the resource is access controlled. Valid values: * RESTRICTED - only users assigned the 'Service ID creator' role on the IAM Identity Service can create service IDs, including the account owner * NOT_RESTRICTED - all members of an account can create service IDs * NOT_SET - to 'unset' a previous set value.
- Constraints: The default value is
NOT_SET. Allowable values are:RESTRICTED,NOT_RESTRICTED,NOT_SET.
- Constraints: The default value is
- restrict
Create stringService Id - (String) Defines whether or not creating the resource is access controlled. Valid values: * RESTRICTED - only users assigned the 'Service ID creator' role on the IAM Identity Service can create service IDs, including the account owner * NOT_RESTRICTED - all members of an account can create service IDs * NOT_SET - to 'unset' a previous set value.
- Constraints: The default value is
NOT_SET. Allowable values are:RESTRICTED,NOT_RESTRICTED,NOT_SET.
- Constraints: The default value is
- restrict
User GetDomains Iam Account Settings Restrict User Domain[] - (List) Defines if account invitations are restricted to specified domains. To remove an entry for a realm_id, perform an update (PUT) request with only the realm_id set.
- Nested schema for restrict_user_domains:
- restrict
User stringList Visibility - (String) Defines whether or not user visibility is access controlled. Valid values: * RESTRICTED - users can view only specific types of users in the account, such as those the user has invited to the account, or descendants of those users based on the classic infrastructure hierarchy * NOT_RESTRICTED - any user in the account can view other users from the Users page in IBM Cloud console.
- Constraints: The default value is
NOT_RESTRICTED. Allowable values are:NOT_RESTRICTED,RESTRICTED.
- Constraints: The default value is
- session
Expiration stringIn Seconds - (String) Defines the session expiration in seconds for the account. Valid values: * Any whole number between between '900' and '86400' * NOT_SET - To unset account setting and use service default.
- Constraints: The default value is
86400.
- Constraints: The default value is
- session
Invalidation stringIn Seconds - (String) Defines the period of time in seconds in which a session will be invalidated due to inactivity. Valid values: * Any whole number between '900' and '7200' * NOT_SET - To unset account setting and use service default.
- Constraints: The default value is
7200.
- Constraints: The default value is
- system
Access stringToken Expiration In Seconds - (String) Defines the access token expiration in seconds. Valid values: * Any whole number between '900' and '3600' * NOT_SET - To unset account setting and use service default.
- Constraints: The default value is
3600.
- Constraints: The default value is
- system
Refresh stringToken Expiration In Seconds - (String) Defines the refresh token expiration in seconds. Valid values: * Any whole number between '900' and '259200' * NOT_SET - To unset account setting and use service default.
- Constraints: The default value is
259200.
- Constraints: The default value is
- user
Mfas GetIam Account Settings User Mfa[] - (List) List of users that are exempted from the MFA requirement of the account.
- Nested schema for user_mfa:
- include
History boolean - resolve
User booleanMfa
- account_
id str - allowed_
ip_ straddresses - (String) Defines the IP addresses and subnets from which IAM tokens can be created for the account.
- entity_
tag str - (String) The version of an account settings.
- histories
Sequence[Get
Iam Account Settings History] - (String) The history of an account settings. Nested history blocks have the following structure.
- Nested schema for history:
- id str
- The unique identifier of the iam_account_settings.
- max_
sessions_ strper_ identity - (String) Defines the max allowed sessions per identity required by the account. Valid values: * Any whole number greater than 0 * NOT_SET - To unset account setting and use service default.
- mfa str
- (String) MFA trait definitions as follows: * NONE - No MFA trait set * NONE_NO_ROPC- No MFA, disable CLI logins with only a password * TOTP - For all non-federated IBMId users * TOTP4ALL - For all users * LEVEL1 - Email-based MFA for all users * LEVEL2 - TOTP-based MFA for all users * LEVEL3 - U2F MFA for all users.
- Constraints: Allowable values are:
NONE,NONE_NO_ROPC,TOTP,TOTP4ALL,LEVEL1,LEVEL2,LEVEL3.
- Constraints: Allowable values are:
- restrict_
create_ strplatform_ apikey - (String) Defines whether or not creating the resource is access controlled. Valid values: * RESTRICTED - only users assigned the 'Service ID creator' role on the IAM Identity Service can create service IDs, including the account owner * NOT_RESTRICTED - all members of an account can create service IDs * NOT_SET - to 'unset' a previous set value.
- Constraints: The default value is
NOT_SET. Allowable values are:RESTRICTED,NOT_RESTRICTED,NOT_SET.
- Constraints: The default value is
- restrict_
create_ strservice_ id - (String) Defines whether or not creating the resource is access controlled. Valid values: * RESTRICTED - only users assigned the 'Service ID creator' role on the IAM Identity Service can create service IDs, including the account owner * NOT_RESTRICTED - all members of an account can create service IDs * NOT_SET - to 'unset' a previous set value.
- Constraints: The default value is
NOT_SET. Allowable values are:RESTRICTED,NOT_RESTRICTED,NOT_SET.
- Constraints: The default value is
- restrict_
user_ Sequence[Getdomains Iam Account Settings Restrict User Domain] - (List) Defines if account invitations are restricted to specified domains. To remove an entry for a realm_id, perform an update (PUT) request with only the realm_id set.
- Nested schema for restrict_user_domains:
- restrict_
user_ strlist_ visibility - (String) Defines whether or not user visibility is access controlled. Valid values: * RESTRICTED - users can view only specific types of users in the account, such as those the user has invited to the account, or descendants of those users based on the classic infrastructure hierarchy * NOT_RESTRICTED - any user in the account can view other users from the Users page in IBM Cloud console.
- Constraints: The default value is
NOT_RESTRICTED. Allowable values are:NOT_RESTRICTED,RESTRICTED.
- Constraints: The default value is
- session_
expiration_ strin_ seconds - (String) Defines the session expiration in seconds for the account. Valid values: * Any whole number between between '900' and '86400' * NOT_SET - To unset account setting and use service default.
- Constraints: The default value is
86400.
- Constraints: The default value is
- session_
invalidation_ strin_ seconds - (String) Defines the period of time in seconds in which a session will be invalidated due to inactivity. Valid values: * Any whole number between '900' and '7200' * NOT_SET - To unset account setting and use service default.
- Constraints: The default value is
7200.
- Constraints: The default value is
- system_
access_ strtoken_ expiration_ in_ seconds - (String) Defines the access token expiration in seconds. Valid values: * Any whole number between '900' and '3600' * NOT_SET - To unset account setting and use service default.
- Constraints: The default value is
3600.
- Constraints: The default value is
- system_
refresh_ strtoken_ expiration_ in_ seconds - (String) Defines the refresh token expiration in seconds. Valid values: * Any whole number between '900' and '259200' * NOT_SET - To unset account setting and use service default.
- Constraints: The default value is
259200.
- Constraints: The default value is
- user_
mfas Sequence[GetIam Account Settings User Mfa] - (List) List of users that are exempted from the MFA requirement of the account.
- Nested schema for user_mfa:
- include_
history bool - resolve_
user_ boolmfa
- account
Id String - allowed
Ip StringAddresses - (String) Defines the IP addresses and subnets from which IAM tokens can be created for the account.
- entity
Tag String - (String) The version of an account settings.
- histories List<Property Map>
- (String) The history of an account settings. Nested history blocks have the following structure.
- Nested schema for history:
- id String
- The unique identifier of the iam_account_settings.
- max
Sessions StringPer Identity - (String) Defines the max allowed sessions per identity required by the account. Valid values: * Any whole number greater than 0 * NOT_SET - To unset account setting and use service default.
- mfa String
- (String) MFA trait definitions as follows: * NONE - No MFA trait set * NONE_NO_ROPC- No MFA, disable CLI logins with only a password * TOTP - For all non-federated IBMId users * TOTP4ALL - For all users * LEVEL1 - Email-based MFA for all users * LEVEL2 - TOTP-based MFA for all users * LEVEL3 - U2F MFA for all users.
- Constraints: Allowable values are:
NONE,NONE_NO_ROPC,TOTP,TOTP4ALL,LEVEL1,LEVEL2,LEVEL3.
- Constraints: Allowable values are:
- restrict
Create StringPlatform Apikey - (String) Defines whether or not creating the resource is access controlled. Valid values: * RESTRICTED - only users assigned the 'Service ID creator' role on the IAM Identity Service can create service IDs, including the account owner * NOT_RESTRICTED - all members of an account can create service IDs * NOT_SET - to 'unset' a previous set value.
- Constraints: The default value is
NOT_SET. Allowable values are:RESTRICTED,NOT_RESTRICTED,NOT_SET.
- Constraints: The default value is
- restrict
Create StringService Id - (String) Defines whether or not creating the resource is access controlled. Valid values: * RESTRICTED - only users assigned the 'Service ID creator' role on the IAM Identity Service can create service IDs, including the account owner * NOT_RESTRICTED - all members of an account can create service IDs * NOT_SET - to 'unset' a previous set value.
- Constraints: The default value is
NOT_SET. Allowable values are:RESTRICTED,NOT_RESTRICTED,NOT_SET.
- Constraints: The default value is
- restrict
User List<Property Map>Domains - (List) Defines if account invitations are restricted to specified domains. To remove an entry for a realm_id, perform an update (PUT) request with only the realm_id set.
- Nested schema for restrict_user_domains:
- restrict
User StringList Visibility - (String) Defines whether or not user visibility is access controlled. Valid values: * RESTRICTED - users can view only specific types of users in the account, such as those the user has invited to the account, or descendants of those users based on the classic infrastructure hierarchy * NOT_RESTRICTED - any user in the account can view other users from the Users page in IBM Cloud console.
- Constraints: The default value is
NOT_RESTRICTED. Allowable values are:NOT_RESTRICTED,RESTRICTED.
- Constraints: The default value is
- session
Expiration StringIn Seconds - (String) Defines the session expiration in seconds for the account. Valid values: * Any whole number between between '900' and '86400' * NOT_SET - To unset account setting and use service default.
- Constraints: The default value is
86400.
- Constraints: The default value is
- session
Invalidation StringIn Seconds - (String) Defines the period of time in seconds in which a session will be invalidated due to inactivity. Valid values: * Any whole number between '900' and '7200' * NOT_SET - To unset account setting and use service default.
- Constraints: The default value is
7200.
- Constraints: The default value is
- system
Access StringToken Expiration In Seconds - (String) Defines the access token expiration in seconds. Valid values: * Any whole number between '900' and '3600' * NOT_SET - To unset account setting and use service default.
- Constraints: The default value is
3600.
- Constraints: The default value is
- system
Refresh StringToken Expiration In Seconds - (String) Defines the refresh token expiration in seconds. Valid values: * Any whole number between '900' and '259200' * NOT_SET - To unset account setting and use service default.
- Constraints: The default value is
259200.
- Constraints: The default value is
- user
Mfas List<Property Map> - (List) List of users that are exempted from the MFA requirement of the account.
- Nested schema for user_mfa:
- include
History Boolean - resolve
User BooleanMfa
Supporting Types
GetIamAccountSettingsHistory
- Action string
- (String) Action of the history entry.
- Iam
Id string - (String) The iam_id of the user.
- Iam
Id stringAccount - (String) Account of the identity which triggered the action.
- Message string
- (String) Message which summarizes the executed action.
- Params List<string>
- (List) Params of the history entry.
- Timestamp string
- (String) Timestamp when the action was triggered.
- Action string
- (String) Action of the history entry.
- Iam
Id string - (String) The iam_id of the user.
- Iam
Id stringAccount - (String) Account of the identity which triggered the action.
- Message string
- (String) Message which summarizes the executed action.
- Params []string
- (List) Params of the history entry.
- Timestamp string
- (String) Timestamp when the action was triggered.
- action String
- (String) Action of the history entry.
- iam
Id String - (String) The iam_id of the user.
- iam
Id StringAccount - (String) Account of the identity which triggered the action.
- message String
- (String) Message which summarizes the executed action.
- params List<String>
- (List) Params of the history entry.
- timestamp String
- (String) Timestamp when the action was triggered.
- action string
- (String) Action of the history entry.
- iam
Id string - (String) The iam_id of the user.
- iam
Id stringAccount - (String) Account of the identity which triggered the action.
- message string
- (String) Message which summarizes the executed action.
- params string[]
- (List) Params of the history entry.
- timestamp string
- (String) Timestamp when the action was triggered.
- action str
- (String) Action of the history entry.
- iam_
id str - (String) The iam_id of the user.
- iam_
id_ straccount - (String) Account of the identity which triggered the action.
- message str
- (String) Message which summarizes the executed action.
- params Sequence[str]
- (List) Params of the history entry.
- timestamp str
- (String) Timestamp when the action was triggered.
- action String
- (String) Action of the history entry.
- iam
Id String - (String) The iam_id of the user.
- iam
Id StringAccount - (String) Account of the identity which triggered the action.
- message String
- (String) Message which summarizes the executed action.
- params List<String>
- (List) Params of the history entry.
- timestamp String
- (String) Timestamp when the action was triggered.
GetIamAccountSettingsRestrictUserDomain
- Invitation
Email List<string>Allow Patterns - (List) The list of allowed email patterns. Wildcard syntax is supported, '*' represents any sequence of zero or more characters in the string, except for '.' and '@'. The sequence ends if a '.' or '@' was found. '**' represents any sequence of zero or more characters in the string - without limit.
- Realm
Id string - (String) The realm that the restrictions apply to.
- Restrict
Invitation bool - (Boolean) When true invites will only be possible to the domain patterns provided, otherwise invites are unrestricted.
- Invitation
Email []stringAllow Patterns - (List) The list of allowed email patterns. Wildcard syntax is supported, '*' represents any sequence of zero or more characters in the string, except for '.' and '@'. The sequence ends if a '.' or '@' was found. '**' represents any sequence of zero or more characters in the string - without limit.
- Realm
Id string - (String) The realm that the restrictions apply to.
- Restrict
Invitation bool - (Boolean) When true invites will only be possible to the domain patterns provided, otherwise invites are unrestricted.
- invitation
Email List<String>Allow Patterns - (List) The list of allowed email patterns. Wildcard syntax is supported, '*' represents any sequence of zero or more characters in the string, except for '.' and '@'. The sequence ends if a '.' or '@' was found. '**' represents any sequence of zero or more characters in the string - without limit.
- realm
Id String - (String) The realm that the restrictions apply to.
- restrict
Invitation Boolean - (Boolean) When true invites will only be possible to the domain patterns provided, otherwise invites are unrestricted.
- invitation
Email string[]Allow Patterns - (List) The list of allowed email patterns. Wildcard syntax is supported, '*' represents any sequence of zero or more characters in the string, except for '.' and '@'. The sequence ends if a '.' or '@' was found. '**' represents any sequence of zero or more characters in the string - without limit.
- realm
Id string - (String) The realm that the restrictions apply to.
- restrict
Invitation boolean - (Boolean) When true invites will only be possible to the domain patterns provided, otherwise invites are unrestricted.
- invitation_
email_ Sequence[str]allow_ patterns - (List) The list of allowed email patterns. Wildcard syntax is supported, '*' represents any sequence of zero or more characters in the string, except for '.' and '@'. The sequence ends if a '.' or '@' was found. '**' represents any sequence of zero or more characters in the string - without limit.
- realm_
id str - (String) The realm that the restrictions apply to.
- restrict_
invitation bool - (Boolean) When true invites will only be possible to the domain patterns provided, otherwise invites are unrestricted.
- invitation
Email List<String>Allow Patterns - (List) The list of allowed email patterns. Wildcard syntax is supported, '*' represents any sequence of zero or more characters in the string, except for '.' and '@'. The sequence ends if a '.' or '@' was found. '**' represents any sequence of zero or more characters in the string - without limit.
- realm
Id String - (String) The realm that the restrictions apply to.
- restrict
Invitation Boolean - (Boolean) When true invites will only be possible to the domain patterns provided, otherwise invites are unrestricted.
GetIamAccountSettingsUserMfa
- Description string
- (String) optional description.
- Email string
- (String) email of the user.
- Iam
Id string - (String) The iam_id of the user.
- Mfa string
- (String) MFA trait definitions as follows: * NONE - No MFA trait set * NONE_NO_ROPC- No MFA, disable CLI logins with only a password * TOTP - For all non-federated IBMId users * TOTP4ALL - For all users * LEVEL1 - Email-based MFA for all users * LEVEL2 - TOTP-based MFA for all users * LEVEL3 - U2F MFA for all users.
- Constraints: Allowable values are:
NONE,NONE_NO_ROPC,TOTP,TOTP4ALL,LEVEL1,LEVEL2,LEVEL3.
- Constraints: Allowable values are:
- Name string
- (String) name of the user account.
- User
Name string - (String) userName of the user.
- Description string
- (String) optional description.
- Email string
- (String) email of the user.
- Iam
Id string - (String) The iam_id of the user.
- Mfa string
- (String) MFA trait definitions as follows: * NONE - No MFA trait set * NONE_NO_ROPC- No MFA, disable CLI logins with only a password * TOTP - For all non-federated IBMId users * TOTP4ALL - For all users * LEVEL1 - Email-based MFA for all users * LEVEL2 - TOTP-based MFA for all users * LEVEL3 - U2F MFA for all users.
- Constraints: Allowable values are:
NONE,NONE_NO_ROPC,TOTP,TOTP4ALL,LEVEL1,LEVEL2,LEVEL3.
- Constraints: Allowable values are:
- Name string
- (String) name of the user account.
- User
Name string - (String) userName of the user.
- description String
- (String) optional description.
- email String
- (String) email of the user.
- iam
Id String - (String) The iam_id of the user.
- mfa String
- (String) MFA trait definitions as follows: * NONE - No MFA trait set * NONE_NO_ROPC- No MFA, disable CLI logins with only a password * TOTP - For all non-federated IBMId users * TOTP4ALL - For all users * LEVEL1 - Email-based MFA for all users * LEVEL2 - TOTP-based MFA for all users * LEVEL3 - U2F MFA for all users.
- Constraints: Allowable values are:
NONE,NONE_NO_ROPC,TOTP,TOTP4ALL,LEVEL1,LEVEL2,LEVEL3.
- Constraints: Allowable values are:
- name String
- (String) name of the user account.
- user
Name String - (String) userName of the user.
- description string
- (String) optional description.
- email string
- (String) email of the user.
- iam
Id string - (String) The iam_id of the user.
- mfa string
- (String) MFA trait definitions as follows: * NONE - No MFA trait set * NONE_NO_ROPC- No MFA, disable CLI logins with only a password * TOTP - For all non-federated IBMId users * TOTP4ALL - For all users * LEVEL1 - Email-based MFA for all users * LEVEL2 - TOTP-based MFA for all users * LEVEL3 - U2F MFA for all users.
- Constraints: Allowable values are:
NONE,NONE_NO_ROPC,TOTP,TOTP4ALL,LEVEL1,LEVEL2,LEVEL3.
- Constraints: Allowable values are:
- name string
- (String) name of the user account.
- user
Name string - (String) userName of the user.
- description str
- (String) optional description.
- email str
- (String) email of the user.
- iam_
id str - (String) The iam_id of the user.
- mfa str
- (String) MFA trait definitions as follows: * NONE - No MFA trait set * NONE_NO_ROPC- No MFA, disable CLI logins with only a password * TOTP - For all non-federated IBMId users * TOTP4ALL - For all users * LEVEL1 - Email-based MFA for all users * LEVEL2 - TOTP-based MFA for all users * LEVEL3 - U2F MFA for all users.
- Constraints: Allowable values are:
NONE,NONE_NO_ROPC,TOTP,TOTP4ALL,LEVEL1,LEVEL2,LEVEL3.
- Constraints: Allowable values are:
- name str
- (String) name of the user account.
- user_
name str - (String) userName of the user.
- description String
- (String) optional description.
- email String
- (String) email of the user.
- iam
Id String - (String) The iam_id of the user.
- mfa String
- (String) MFA trait definitions as follows: * NONE - No MFA trait set * NONE_NO_ROPC- No MFA, disable CLI logins with only a password * TOTP - For all non-federated IBMId users * TOTP4ALL - For all users * LEVEL1 - Email-based MFA for all users * LEVEL2 - TOTP-based MFA for all users * LEVEL3 - U2F MFA for all users.
- Constraints: Allowable values are:
NONE,NONE_NO_ROPC,TOTP,TOTP4ALL,LEVEL1,LEVEL2,LEVEL3.
- Constraints: Allowable values are:
- name String
- (String) name of the user account.
- user
Name String - (String) userName of the user.
Package Details
- Repository
- ibm ibm-cloud/terraform-provider-ibm
- License
- Notes
- This Pulumi package is based on the
ibmTerraform Provider.
