ibm.IamAccountSettings
Create or update iam_account_settingss with this resource.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";
const iamAccountSettingsInstance = new ibm.IamAccountSettings("iamAccountSettingsInstance", {
mfa: "LEVEL3",
sessionExpirationInSeconds: "40000",
});
import pulumi
import pulumi_ibm as ibm
iam_account_settings_instance = ibm.IamAccountSettings("iamAccountSettingsInstance",
mfa="LEVEL3",
session_expiration_in_seconds="40000")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/ibm/ibm"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ibm.NewIamAccountSettings(ctx, "iamAccountSettingsInstance", &ibm.IamAccountSettingsArgs{
Mfa: pulumi.String("LEVEL3"),
SessionExpirationInSeconds: pulumi.String("40000"),
})
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 iamAccountSettingsInstance = new Ibm.IamAccountSettings("iamAccountSettingsInstance", new()
{
Mfa = "LEVEL3",
SessionExpirationInSeconds = "40000",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ibm.IamAccountSettings;
import com.pulumi.ibm.IamAccountSettingsArgs;
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 iamAccountSettingsInstance = new IamAccountSettings("iamAccountSettingsInstance", IamAccountSettingsArgs.builder()
.mfa("LEVEL3")
.sessionExpirationInSeconds("40000")
.build());
}
}
resources:
iamAccountSettingsInstance:
type: ibm:IamAccountSettings
properties:
mfa: LEVEL3
sessionExpirationInSeconds: '40000'
Create IamAccountSettings Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new IamAccountSettings(name: string, args?: IamAccountSettingsArgs, opts?: CustomResourceOptions);@overload
def IamAccountSettings(resource_name: str,
args: Optional[IamAccountSettingsArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def IamAccountSettings(resource_name: str,
opts: Optional[ResourceOptions] = None,
allowed_ip_addresses: Optional[str] = None,
entity_tag: Optional[str] = None,
iam_account_settings_id: Optional[str] = None,
if_match: Optional[str] = None,
include_history: Optional[bool] = None,
max_sessions_per_identity: Optional[str] = None,
mfa: Optional[str] = None,
resolve_user_mfa: Optional[bool] = None,
restrict_create_platform_apikey: Optional[str] = None,
restrict_create_service_id: Optional[str] = None,
restrict_user_domains: Optional[Sequence[IamAccountSettingsRestrictUserDomainArgs]] = None,
restrict_user_list_visibility: Optional[str] = None,
session_expiration_in_seconds: Optional[str] = None,
session_invalidation_in_seconds: Optional[str] = None,
system_access_token_expiration_in_seconds: Optional[str] = None,
system_refresh_token_expiration_in_seconds: Optional[str] = None,
user_mfas: Optional[Sequence[IamAccountSettingsUserMfaArgs]] = None)func NewIamAccountSettings(ctx *Context, name string, args *IamAccountSettingsArgs, opts ...ResourceOption) (*IamAccountSettings, error)public IamAccountSettings(string name, IamAccountSettingsArgs? args = null, CustomResourceOptions? opts = null)
public IamAccountSettings(String name, IamAccountSettingsArgs args)
public IamAccountSettings(String name, IamAccountSettingsArgs args, CustomResourceOptions options)
type: ibm:IamAccountSettings
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args IamAccountSettingsArgs
- 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 IamAccountSettingsArgs
- 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 IamAccountSettingsArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args IamAccountSettingsArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args IamAccountSettingsArgs
- 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 iamAccountSettingsResource = new Ibm.IamAccountSettings("iamAccountSettingsResource", new()
{
AllowedIpAddresses = "string",
EntityTag = "string",
IamAccountSettingsId = "string",
IfMatch = "string",
IncludeHistory = false,
MaxSessionsPerIdentity = "string",
Mfa = "string",
ResolveUserMfa = false,
RestrictCreatePlatformApikey = "string",
RestrictCreateServiceId = "string",
RestrictUserDomains = new[]
{
new Ibm.Inputs.IamAccountSettingsRestrictUserDomainArgs
{
InvitationEmailAllowPatterns = new[]
{
"string",
},
RealmId = "string",
RestrictInvitation = false,
},
},
RestrictUserListVisibility = "string",
SessionExpirationInSeconds = "string",
SessionInvalidationInSeconds = "string",
SystemAccessTokenExpirationInSeconds = "string",
SystemRefreshTokenExpirationInSeconds = "string",
UserMfas = new[]
{
new Ibm.Inputs.IamAccountSettingsUserMfaArgs
{
Description = "string",
Email = "string",
IamId = "string",
Mfa = "string",
Name = "string",
UserName = "string",
},
},
});
example, err := ibm.NewIamAccountSettings(ctx, "iamAccountSettingsResource", &ibm.IamAccountSettingsArgs{
AllowedIpAddresses: pulumi.String("string"),
EntityTag: pulumi.String("string"),
IamAccountSettingsId: pulumi.String("string"),
IfMatch: pulumi.String("string"),
IncludeHistory: pulumi.Bool(false),
MaxSessionsPerIdentity: pulumi.String("string"),
Mfa: pulumi.String("string"),
ResolveUserMfa: pulumi.Bool(false),
RestrictCreatePlatformApikey: pulumi.String("string"),
RestrictCreateServiceId: pulumi.String("string"),
RestrictUserDomains: ibm.IamAccountSettingsRestrictUserDomainArray{
&ibm.IamAccountSettingsRestrictUserDomainArgs{
InvitationEmailAllowPatterns: pulumi.StringArray{
pulumi.String("string"),
},
RealmId: pulumi.String("string"),
RestrictInvitation: pulumi.Bool(false),
},
},
RestrictUserListVisibility: pulumi.String("string"),
SessionExpirationInSeconds: pulumi.String("string"),
SessionInvalidationInSeconds: pulumi.String("string"),
SystemAccessTokenExpirationInSeconds: pulumi.String("string"),
SystemRefreshTokenExpirationInSeconds: pulumi.String("string"),
UserMfas: ibm.IamAccountSettingsUserMfaArray{
&ibm.IamAccountSettingsUserMfaArgs{
Description: pulumi.String("string"),
Email: pulumi.String("string"),
IamId: pulumi.String("string"),
Mfa: pulumi.String("string"),
Name: pulumi.String("string"),
UserName: pulumi.String("string"),
},
},
})
var iamAccountSettingsResource = new IamAccountSettings("iamAccountSettingsResource", IamAccountSettingsArgs.builder()
.allowedIpAddresses("string")
.entityTag("string")
.iamAccountSettingsId("string")
.ifMatch("string")
.includeHistory(false)
.maxSessionsPerIdentity("string")
.mfa("string")
.resolveUserMfa(false)
.restrictCreatePlatformApikey("string")
.restrictCreateServiceId("string")
.restrictUserDomains(IamAccountSettingsRestrictUserDomainArgs.builder()
.invitationEmailAllowPatterns("string")
.realmId("string")
.restrictInvitation(false)
.build())
.restrictUserListVisibility("string")
.sessionExpirationInSeconds("string")
.sessionInvalidationInSeconds("string")
.systemAccessTokenExpirationInSeconds("string")
.systemRefreshTokenExpirationInSeconds("string")
.userMfas(IamAccountSettingsUserMfaArgs.builder()
.description("string")
.email("string")
.iamId("string")
.mfa("string")
.name("string")
.userName("string")
.build())
.build());
iam_account_settings_resource = ibm.IamAccountSettings("iamAccountSettingsResource",
allowed_ip_addresses="string",
entity_tag="string",
iam_account_settings_id="string",
if_match="string",
include_history=False,
max_sessions_per_identity="string",
mfa="string",
resolve_user_mfa=False,
restrict_create_platform_apikey="string",
restrict_create_service_id="string",
restrict_user_domains=[{
"invitation_email_allow_patterns": ["string"],
"realm_id": "string",
"restrict_invitation": False,
}],
restrict_user_list_visibility="string",
session_expiration_in_seconds="string",
session_invalidation_in_seconds="string",
system_access_token_expiration_in_seconds="string",
system_refresh_token_expiration_in_seconds="string",
user_mfas=[{
"description": "string",
"email": "string",
"iam_id": "string",
"mfa": "string",
"name": "string",
"user_name": "string",
}])
const iamAccountSettingsResource = new ibm.IamAccountSettings("iamAccountSettingsResource", {
allowedIpAddresses: "string",
entityTag: "string",
iamAccountSettingsId: "string",
ifMatch: "string",
includeHistory: false,
maxSessionsPerIdentity: "string",
mfa: "string",
resolveUserMfa: false,
restrictCreatePlatformApikey: "string",
restrictCreateServiceId: "string",
restrictUserDomains: [{
invitationEmailAllowPatterns: ["string"],
realmId: "string",
restrictInvitation: false,
}],
restrictUserListVisibility: "string",
sessionExpirationInSeconds: "string",
sessionInvalidationInSeconds: "string",
systemAccessTokenExpirationInSeconds: "string",
systemRefreshTokenExpirationInSeconds: "string",
userMfas: [{
description: "string",
email: "string",
iamId: "string",
mfa: "string",
name: "string",
userName: "string",
}],
});
type: ibm:IamAccountSettings
properties:
allowedIpAddresses: string
entityTag: string
iamAccountSettingsId: string
ifMatch: string
includeHistory: false
maxSessionsPerIdentity: string
mfa: string
resolveUserMfa: false
restrictCreatePlatformApikey: string
restrictCreateServiceId: string
restrictUserDomains:
- invitationEmailAllowPatterns:
- string
realmId: string
restrictInvitation: false
restrictUserListVisibility: string
sessionExpirationInSeconds: string
sessionInvalidationInSeconds: string
systemAccessTokenExpirationInSeconds: string
systemRefreshTokenExpirationInSeconds: string
userMfas:
- description: string
email: string
iamId: string
mfa: string
name: string
userName: string
IamAccountSettings 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 IamAccountSettings resource accepts the following input properties:
- Allowed
Ip stringAddresses - (String) Defines the IP addresses and subnets from which IAM tokens can be created for the account.
- Entity
Tag string - (String) Version of the account settings.
- Iam
Account stringSettings Id - The unique identifier of the iam_account_settings.
- If
Match string - Version of the account settings to be updated. Specify the version that you retrieved as entity_tag (ETag header) when reading the account. This value helps identifying parallel usage of this API. Pass * to indicate to update any version available. This might result in stale updates.
- Include
History bool - Defines if the entity history is included in the response.
- Constraints: The default value is
false.
- Constraints: The default value is
- 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:
- Resolve
User boolMfa - Enrich MFA exemptions with user PI.
- Constraints: The default value is
false.
- Constraints: The default value is
- 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<IamDomains 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<IamAccount Settings User Mfa> - (List) List of users that are exempted from the MFA requirement of the account. Nested schema for user_mfa:
- Allowed
Ip stringAddresses - (String) Defines the IP addresses and subnets from which IAM tokens can be created for the account.
- Entity
Tag string - (String) Version of the account settings.
- Iam
Account stringSettings Id - The unique identifier of the iam_account_settings.
- If
Match string - Version of the account settings to be updated. Specify the version that you retrieved as entity_tag (ETag header) when reading the account. This value helps identifying parallel usage of this API. Pass * to indicate to update any version available. This might result in stale updates.
- Include
History bool - Defines if the entity history is included in the response.
- Constraints: The default value is
false.
- Constraints: The default value is
- 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:
- Resolve
User boolMfa - Enrich MFA exemptions with user PI.
- Constraints: The default value is
false.
- Constraints: The default value is
- 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 []IamDomains Account Settings Restrict User Domain Args - (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 []IamAccount Settings User Mfa Args - (List) List of users that are exempted from the MFA requirement of the account. Nested schema for user_mfa:
- allowed
Ip StringAddresses - (String) Defines the IP addresses and subnets from which IAM tokens can be created for the account.
- entity
Tag String - (String) Version of the account settings.
- iam
Account StringSettings Id - The unique identifier of the iam_account_settings.
- if
Match String - Version of the account settings to be updated. Specify the version that you retrieved as entity_tag (ETag header) when reading the account. This value helps identifying parallel usage of this API. Pass * to indicate to update any version available. This might result in stale updates.
- include
History Boolean - Defines if the entity history is included in the response.
- Constraints: The default value is
false.
- Constraints: The default value is
- 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:
- resolve
User BooleanMfa - Enrich MFA exemptions with user PI.
- Constraints: The default value is
false.
- Constraints: The default value is
- 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<IamDomains 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<IamAccount Settings User Mfa> - (List) List of users that are exempted from the MFA requirement of the account. Nested schema for user_mfa:
- allowed
Ip stringAddresses - (String) Defines the IP addresses and subnets from which IAM tokens can be created for the account.
- entity
Tag string - (String) Version of the account settings.
- iam
Account stringSettings Id - The unique identifier of the iam_account_settings.
- if
Match string - Version of the account settings to be updated. Specify the version that you retrieved as entity_tag (ETag header) when reading the account. This value helps identifying parallel usage of this API. Pass * to indicate to update any version available. This might result in stale updates.
- include
History boolean - Defines if the entity history is included in the response.
- Constraints: The default value is
false.
- Constraints: The default value is
- 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:
- resolve
User booleanMfa - Enrich MFA exemptions with user PI.
- Constraints: The default value is
false.
- Constraints: The default value is
- 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 IamDomains 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 IamAccount Settings User Mfa[] - (List) List of users that are exempted from the MFA requirement of the account. Nested schema for user_mfa:
- allowed_
ip_ straddresses - (String) Defines the IP addresses and subnets from which IAM tokens can be created for the account.
- entity_
tag str - (String) Version of the account settings.
- iam_
account_ strsettings_ id - The unique identifier of the iam_account_settings.
- if_
match str - Version of the account settings to be updated. Specify the version that you retrieved as entity_tag (ETag header) when reading the account. This value helps identifying parallel usage of this API. Pass * to indicate to update any version available. This might result in stale updates.
- include_
history bool - Defines if the entity history is included in the response.
- Constraints: The default value is
false.
- Constraints: The default value is
- 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:
- resolve_
user_ boolmfa - Enrich MFA exemptions with user PI.
- Constraints: The default value is
false.
- Constraints: The default value is
- 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[Iamdomains Account Settings Restrict User Domain Args] - (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[IamAccount Settings User Mfa Args] - (List) List of users that are exempted from the MFA requirement of the account. Nested schema for user_mfa:
- allowed
Ip StringAddresses - (String) Defines the IP addresses and subnets from which IAM tokens can be created for the account.
- entity
Tag String - (String) Version of the account settings.
- iam
Account StringSettings Id - The unique identifier of the iam_account_settings.
- if
Match String - Version of the account settings to be updated. Specify the version that you retrieved as entity_tag (ETag header) when reading the account. This value helps identifying parallel usage of this API. Pass * to indicate to update any version available. This might result in stale updates.
- include
History Boolean - Defines if the entity history is included in the response.
- Constraints: The default value is
false.
- Constraints: The default value is
- 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:
- resolve
User BooleanMfa - Enrich MFA exemptions with user PI.
- Constraints: The default value is
false.
- Constraints: The default value is
- 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:
Outputs
All input properties are implicitly available as output properties. Additionally, the IamAccountSettings resource produces the following output properties:
- Histories
List<Iam
Account Settings History> - (List) History of the Account Settings. Nested schema for history:
- Id string
- The provider-assigned unique ID for this managed resource.
- Histories
[]Iam
Account Settings History - (List) History of the Account Settings. Nested schema for history:
- Id string
- The provider-assigned unique ID for this managed resource.
- histories
List<Iam
Account Settings History> - (List) History of the Account Settings. Nested schema for history:
- id String
- The provider-assigned unique ID for this managed resource.
- histories
Iam
Account Settings History[] - (List) History of the Account Settings. Nested schema for history:
- id string
- The provider-assigned unique ID for this managed resource.
- histories
Sequence[Iam
Account Settings History] - (List) History of the Account Settings. Nested schema for history:
- id str
- The provider-assigned unique ID for this managed resource.
- histories List<Property Map>
- (List) History of the Account Settings. Nested schema for history:
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing IamAccountSettings Resource
Get an existing IamAccountSettings 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?: IamAccountSettingsState, opts?: CustomResourceOptions): IamAccountSettings@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
allowed_ip_addresses: Optional[str] = None,
entity_tag: Optional[str] = None,
histories: Optional[Sequence[IamAccountSettingsHistoryArgs]] = None,
iam_account_settings_id: Optional[str] = None,
if_match: Optional[str] = None,
include_history: Optional[bool] = None,
max_sessions_per_identity: Optional[str] = None,
mfa: Optional[str] = None,
resolve_user_mfa: Optional[bool] = None,
restrict_create_platform_apikey: Optional[str] = None,
restrict_create_service_id: Optional[str] = None,
restrict_user_domains: Optional[Sequence[IamAccountSettingsRestrictUserDomainArgs]] = None,
restrict_user_list_visibility: Optional[str] = None,
session_expiration_in_seconds: Optional[str] = None,
session_invalidation_in_seconds: Optional[str] = None,
system_access_token_expiration_in_seconds: Optional[str] = None,
system_refresh_token_expiration_in_seconds: Optional[str] = None,
user_mfas: Optional[Sequence[IamAccountSettingsUserMfaArgs]] = None) -> IamAccountSettingsfunc GetIamAccountSettings(ctx *Context, name string, id IDInput, state *IamAccountSettingsState, opts ...ResourceOption) (*IamAccountSettings, error)public static IamAccountSettings Get(string name, Input<string> id, IamAccountSettingsState? state, CustomResourceOptions? opts = null)public static IamAccountSettings get(String name, Output<String> id, IamAccountSettingsState state, CustomResourceOptions options)resources: _: type: ibm:IamAccountSettings get: 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.
- Allowed
Ip stringAddresses - (String) Defines the IP addresses and subnets from which IAM tokens can be created for the account.
- Entity
Tag string - (String) Version of the account settings.
- Histories
List<Iam
Account Settings History> - (List) History of the Account Settings. Nested schema for history:
- Iam
Account stringSettings Id - The unique identifier of the iam_account_settings.
- If
Match string - Version of the account settings to be updated. Specify the version that you retrieved as entity_tag (ETag header) when reading the account. This value helps identifying parallel usage of this API. Pass * to indicate to update any version available. This might result in stale updates.
- Include
History bool - Defines if the entity history is included in the response.
- Constraints: The default value is
false.
- Constraints: The default value is
- 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:
- Resolve
User boolMfa - Enrich MFA exemptions with user PI.
- Constraints: The default value is
false.
- Constraints: The default value is
- 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<IamDomains 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<IamAccount Settings User Mfa> - (List) List of users that are exempted from the MFA requirement of the account. Nested schema for user_mfa:
- Allowed
Ip stringAddresses - (String) Defines the IP addresses and subnets from which IAM tokens can be created for the account.
- Entity
Tag string - (String) Version of the account settings.
- Histories
[]Iam
Account Settings History Args - (List) History of the Account Settings. Nested schema for history:
- Iam
Account stringSettings Id - The unique identifier of the iam_account_settings.
- If
Match string - Version of the account settings to be updated. Specify the version that you retrieved as entity_tag (ETag header) when reading the account. This value helps identifying parallel usage of this API. Pass * to indicate to update any version available. This might result in stale updates.
- Include
History bool - Defines if the entity history is included in the response.
- Constraints: The default value is
false.
- Constraints: The default value is
- 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:
- Resolve
User boolMfa - Enrich MFA exemptions with user PI.
- Constraints: The default value is
false.
- Constraints: The default value is
- 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 []IamDomains Account Settings Restrict User Domain Args - (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 []IamAccount Settings User Mfa Args - (List) List of users that are exempted from the MFA requirement of the account. Nested schema for user_mfa:
- allowed
Ip StringAddresses - (String) Defines the IP addresses and subnets from which IAM tokens can be created for the account.
- entity
Tag String - (String) Version of the account settings.
- histories
List<Iam
Account Settings History> - (List) History of the Account Settings. Nested schema for history:
- iam
Account StringSettings Id - The unique identifier of the iam_account_settings.
- if
Match String - Version of the account settings to be updated. Specify the version that you retrieved as entity_tag (ETag header) when reading the account. This value helps identifying parallel usage of this API. Pass * to indicate to update any version available. This might result in stale updates.
- include
History Boolean - Defines if the entity history is included in the response.
- Constraints: The default value is
false.
- Constraints: The default value is
- 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:
- resolve
User BooleanMfa - Enrich MFA exemptions with user PI.
- Constraints: The default value is
false.
- Constraints: The default value is
- 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<IamDomains 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<IamAccount Settings User Mfa> - (List) List of users that are exempted from the MFA requirement of the account. Nested schema for user_mfa:
- allowed
Ip stringAddresses - (String) Defines the IP addresses and subnets from which IAM tokens can be created for the account.
- entity
Tag string - (String) Version of the account settings.
- histories
Iam
Account Settings History[] - (List) History of the Account Settings. Nested schema for history:
- iam
Account stringSettings Id - The unique identifier of the iam_account_settings.
- if
Match string - Version of the account settings to be updated. Specify the version that you retrieved as entity_tag (ETag header) when reading the account. This value helps identifying parallel usage of this API. Pass * to indicate to update any version available. This might result in stale updates.
- include
History boolean - Defines if the entity history is included in the response.
- Constraints: The default value is
false.
- Constraints: The default value is
- 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:
- resolve
User booleanMfa - Enrich MFA exemptions with user PI.
- Constraints: The default value is
false.
- Constraints: The default value is
- 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 IamDomains 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 IamAccount Settings User Mfa[] - (List) List of users that are exempted from the MFA requirement of the account. Nested schema for user_mfa:
- allowed_
ip_ straddresses - (String) Defines the IP addresses and subnets from which IAM tokens can be created for the account.
- entity_
tag str - (String) Version of the account settings.
- histories
Sequence[Iam
Account Settings History Args] - (List) History of the Account Settings. Nested schema for history:
- iam_
account_ strsettings_ id - The unique identifier of the iam_account_settings.
- if_
match str - Version of the account settings to be updated. Specify the version that you retrieved as entity_tag (ETag header) when reading the account. This value helps identifying parallel usage of this API. Pass * to indicate to update any version available. This might result in stale updates.
- include_
history bool - Defines if the entity history is included in the response.
- Constraints: The default value is
false.
- Constraints: The default value is
- 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:
- resolve_
user_ boolmfa - Enrich MFA exemptions with user PI.
- Constraints: The default value is
false.
- Constraints: The default value is
- 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[Iamdomains Account Settings Restrict User Domain Args] - (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[IamAccount Settings User Mfa Args] - (List) List of users that are exempted from the MFA requirement of the account. Nested schema for user_mfa:
- allowed
Ip StringAddresses - (String) Defines the IP addresses and subnets from which IAM tokens can be created for the account.
- entity
Tag String - (String) Version of the account settings.
- histories List<Property Map>
- (List) History of the Account Settings. Nested schema for history:
- iam
Account StringSettings Id - The unique identifier of the iam_account_settings.
- if
Match String - Version of the account settings to be updated. Specify the version that you retrieved as entity_tag (ETag header) when reading the account. This value helps identifying parallel usage of this API. Pass * to indicate to update any version available. This might result in stale updates.
- include
History Boolean - Defines if the entity history is included in the response.
- Constraints: The default value is
false.
- Constraints: The default value is
- 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:
- resolve
User BooleanMfa - Enrich MFA exemptions with user PI.
- Constraints: The default value is
false.
- Constraints: The default value is
- 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:
Supporting Types
IamAccountSettingsHistory, IamAccountSettingsHistoryArgs
- 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.
IamAccountSettingsRestrictUserDomain, IamAccountSettingsRestrictUserDomainArgs
- 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.
IamAccountSettingsUserMfa, IamAccountSettingsUserMfaArgs
- 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.
Import
You can import the ibm_iam_account_settings resource by using account_id.
The account_id property can be formed from and account_id in the following format:
<account_id>
account_id: A string. Unique ID of the account.
Syntax
```sh $ pulumi import ibm:index/iamAccountSettings:IamAccountSettings iam_account_settings <account_id> ```
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.
