ibm.IamAccountSettingsTemplate
Explore with Pulumi AI
Create IamAccountSettingsTemplate Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new IamAccountSettingsTemplate(name: string, args?: IamAccountSettingsTemplateArgs, opts?: CustomResourceOptions);
@overload
def IamAccountSettingsTemplate(resource_name: str,
args: Optional[IamAccountSettingsTemplateArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def IamAccountSettingsTemplate(resource_name: str,
opts: Optional[ResourceOptions] = None,
account_settings: Optional[IamAccountSettingsTemplateAccountSettingsArgs] = None,
committed: Optional[bool] = None,
description: Optional[str] = None,
name: Optional[str] = None,
template_id: Optional[str] = None)
func NewIamAccountSettingsTemplate(ctx *Context, name string, args *IamAccountSettingsTemplateArgs, opts ...ResourceOption) (*IamAccountSettingsTemplate, error)
public IamAccountSettingsTemplate(string name, IamAccountSettingsTemplateArgs? args = null, CustomResourceOptions? opts = null)
public IamAccountSettingsTemplate(String name, IamAccountSettingsTemplateArgs args)
public IamAccountSettingsTemplate(String name, IamAccountSettingsTemplateArgs args, CustomResourceOptions options)
type: ibm:IamAccountSettingsTemplate
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 IamAccountSettingsTemplateArgs
- 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 IamAccountSettingsTemplateArgs
- 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 IamAccountSettingsTemplateArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args IamAccountSettingsTemplateArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args IamAccountSettingsTemplateArgs
- 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 iamAccountSettingsTemplateResource = new Ibm.IamAccountSettingsTemplate("iamAccountSettingsTemplateResource", new()
{
AccountSettings = new Ibm.Inputs.IamAccountSettingsTemplateAccountSettingsArgs
{
AllowedIpAddresses = "string",
MaxSessionsPerIdentity = "string",
Mfa = "string",
RestrictCreatePlatformApikey = "string",
RestrictCreateServiceId = "string",
SessionExpirationInSeconds = "string",
SessionInvalidationInSeconds = "string",
SystemAccessTokenExpirationInSeconds = "string",
SystemRefreshTokenExpirationInSeconds = "string",
UserMfas = new[]
{
new Ibm.Inputs.IamAccountSettingsTemplateAccountSettingsUserMfaArgs
{
IamId = "string",
Mfa = "string",
},
},
},
Committed = false,
Description = "string",
Name = "string",
TemplateId = "string",
});
example, err := ibm.NewIamAccountSettingsTemplate(ctx, "iamAccountSettingsTemplateResource", &ibm.IamAccountSettingsTemplateArgs{
AccountSettings: &ibm.IamAccountSettingsTemplateAccountSettingsArgs{
AllowedIpAddresses: pulumi.String("string"),
MaxSessionsPerIdentity: pulumi.String("string"),
Mfa: pulumi.String("string"),
RestrictCreatePlatformApikey: pulumi.String("string"),
RestrictCreateServiceId: pulumi.String("string"),
SessionExpirationInSeconds: pulumi.String("string"),
SessionInvalidationInSeconds: pulumi.String("string"),
SystemAccessTokenExpirationInSeconds: pulumi.String("string"),
SystemRefreshTokenExpirationInSeconds: pulumi.String("string"),
UserMfas: ibm.IamAccountSettingsTemplateAccountSettingsUserMfaArray{
&ibm.IamAccountSettingsTemplateAccountSettingsUserMfaArgs{
IamId: pulumi.String("string"),
Mfa: pulumi.String("string"),
},
},
},
Committed: pulumi.Bool(false),
Description: pulumi.String("string"),
Name: pulumi.String("string"),
TemplateId: pulumi.String("string"),
})
var iamAccountSettingsTemplateResource = new IamAccountSettingsTemplate("iamAccountSettingsTemplateResource", IamAccountSettingsTemplateArgs.builder()
.accountSettings(IamAccountSettingsTemplateAccountSettingsArgs.builder()
.allowedIpAddresses("string")
.maxSessionsPerIdentity("string")
.mfa("string")
.restrictCreatePlatformApikey("string")
.restrictCreateServiceId("string")
.sessionExpirationInSeconds("string")
.sessionInvalidationInSeconds("string")
.systemAccessTokenExpirationInSeconds("string")
.systemRefreshTokenExpirationInSeconds("string")
.userMfas(IamAccountSettingsTemplateAccountSettingsUserMfaArgs.builder()
.iamId("string")
.mfa("string")
.build())
.build())
.committed(false)
.description("string")
.name("string")
.templateId("string")
.build());
iam_account_settings_template_resource = ibm.IamAccountSettingsTemplate("iamAccountSettingsTemplateResource",
account_settings={
"allowed_ip_addresses": "string",
"max_sessions_per_identity": "string",
"mfa": "string",
"restrict_create_platform_apikey": "string",
"restrict_create_service_id": "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": [{
"iam_id": "string",
"mfa": "string",
}],
},
committed=False,
description="string",
name="string",
template_id="string")
const iamAccountSettingsTemplateResource = new ibm.IamAccountSettingsTemplate("iamAccountSettingsTemplateResource", {
accountSettings: {
allowedIpAddresses: "string",
maxSessionsPerIdentity: "string",
mfa: "string",
restrictCreatePlatformApikey: "string",
restrictCreateServiceId: "string",
sessionExpirationInSeconds: "string",
sessionInvalidationInSeconds: "string",
systemAccessTokenExpirationInSeconds: "string",
systemRefreshTokenExpirationInSeconds: "string",
userMfas: [{
iamId: "string",
mfa: "string",
}],
},
committed: false,
description: "string",
name: "string",
templateId: "string",
});
type: ibm:IamAccountSettingsTemplate
properties:
accountSettings:
allowedIpAddresses: string
maxSessionsPerIdentity: string
mfa: string
restrictCreatePlatformApikey: string
restrictCreateServiceId: string
sessionExpirationInSeconds: string
sessionInvalidationInSeconds: string
systemAccessTokenExpirationInSeconds: string
systemRefreshTokenExpirationInSeconds: string
userMfas:
- iamId: string
mfa: string
committed: false
description: string
name: string
templateId: string
IamAccountSettingsTemplate 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 IamAccountSettingsTemplate resource accepts the following input properties:
- Account
Settings IamAccount Settings Template Account Settings - Committed bool
- Committed flag determines if the template is ready for assignment.
- Description string
- The description of the trusted profile template. Describe the template for enterprise account users.
- Name string
- The name of the trusted profile template. This is visible only in the enterprise account.
- Template
Id string - ID of the the template.
- Account
Settings IamAccount Settings Template Account Settings Args - Committed bool
- Committed flag determines if the template is ready for assignment.
- Description string
- The description of the trusted profile template. Describe the template for enterprise account users.
- Name string
- The name of the trusted profile template. This is visible only in the enterprise account.
- Template
Id string - ID of the the template.
- account
Settings IamAccount Settings Template Account Settings - committed Boolean
- Committed flag determines if the template is ready for assignment.
- description String
- The description of the trusted profile template. Describe the template for enterprise account users.
- name String
- The name of the trusted profile template. This is visible only in the enterprise account.
- template
Id String - ID of the the template.
- account
Settings IamAccount Settings Template Account Settings - committed boolean
- Committed flag determines if the template is ready for assignment.
- description string
- The description of the trusted profile template. Describe the template for enterprise account users.
- name string
- The name of the trusted profile template. This is visible only in the enterprise account.
- template
Id string - ID of the the template.
- account_
settings IamAccount Settings Template Account Settings Args - committed bool
- Committed flag determines if the template is ready for assignment.
- description str
- The description of the trusted profile template. Describe the template for enterprise account users.
- name str
- The name of the trusted profile template. This is visible only in the enterprise account.
- template_
id str - ID of the the template.
- account
Settings Property Map - committed Boolean
- Committed flag determines if the template is ready for assignment.
- description String
- The description of the trusted profile template. Describe the template for enterprise account users.
- name String
- The name of the trusted profile template. This is visible only in the enterprise account.
- template
Id String - ID of the the template.
Outputs
All input properties are implicitly available as output properties. Additionally, the IamAccountSettingsTemplate resource produces the following output properties:
- Account
Id string - ID of the account where the template resides.
- Created
At string - Template Created At.
- Created
By stringId - IAMid of the creator.
- Crn string
- Cloud resource name.
- Entity
Tag string - Entity tag for this templateId-version combination.
- Histories
List<Iam
Account Settings Template History> - History of the Template.
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Modified stringAt - Template last modified at.
- Last
Modified stringBy Id - IAMid of the identity that made the latest modification.
- Version double
- Version of the the template.
- Account
Id string - ID of the account where the template resides.
- Created
At string - Template Created At.
- Created
By stringId - IAMid of the creator.
- Crn string
- Cloud resource name.
- Entity
Tag string - Entity tag for this templateId-version combination.
- Histories
[]Iam
Account Settings Template History - History of the Template.
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Modified stringAt - Template last modified at.
- Last
Modified stringBy Id - IAMid of the identity that made the latest modification.
- Version float64
- Version of the the template.
- account
Id String - ID of the account where the template resides.
- created
At String - Template Created At.
- created
By StringId - IAMid of the creator.
- crn String
- Cloud resource name.
- entity
Tag String - Entity tag for this templateId-version combination.
- histories
List<Iam
Account Settings Template History> - History of the Template.
- id String
- The provider-assigned unique ID for this managed resource.
- last
Modified StringAt - Template last modified at.
- last
Modified StringBy Id - IAMid of the identity that made the latest modification.
- version Double
- Version of the the template.
- account
Id string - ID of the account where the template resides.
- created
At string - Template Created At.
- created
By stringId - IAMid of the creator.
- crn string
- Cloud resource name.
- entity
Tag string - Entity tag for this templateId-version combination.
- histories
Iam
Account Settings Template History[] - History of the Template.
- id string
- The provider-assigned unique ID for this managed resource.
- last
Modified stringAt - Template last modified at.
- last
Modified stringBy Id - IAMid of the identity that made the latest modification.
- version number
- Version of the the template.
- account_
id str - ID of the account where the template resides.
- created_
at str - Template Created At.
- created_
by_ strid - IAMid of the creator.
- crn str
- Cloud resource name.
- entity_
tag str - Entity tag for this templateId-version combination.
- histories
Sequence[Iam
Account Settings Template History] - History of the Template.
- id str
- The provider-assigned unique ID for this managed resource.
- last_
modified_ strat - Template last modified at.
- last_
modified_ strby_ id - IAMid of the identity that made the latest modification.
- version float
- Version of the the template.
- account
Id String - ID of the account where the template resides.
- created
At String - Template Created At.
- created
By StringId - IAMid of the creator.
- crn String
- Cloud resource name.
- entity
Tag String - Entity tag for this templateId-version combination.
- histories List<Property Map>
- History of the Template.
- id String
- The provider-assigned unique ID for this managed resource.
- last
Modified StringAt - Template last modified at.
- last
Modified StringBy Id - IAMid of the identity that made the latest modification.
- version Number
- Version of the the template.
Look up Existing IamAccountSettingsTemplate Resource
Get an existing IamAccountSettingsTemplate 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?: IamAccountSettingsTemplateState, opts?: CustomResourceOptions): IamAccountSettingsTemplate
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
account_id: Optional[str] = None,
account_settings: Optional[IamAccountSettingsTemplateAccountSettingsArgs] = None,
committed: Optional[bool] = None,
created_at: Optional[str] = None,
created_by_id: Optional[str] = None,
crn: Optional[str] = None,
description: Optional[str] = None,
entity_tag: Optional[str] = None,
histories: Optional[Sequence[IamAccountSettingsTemplateHistoryArgs]] = None,
last_modified_at: Optional[str] = None,
last_modified_by_id: Optional[str] = None,
name: Optional[str] = None,
template_id: Optional[str] = None,
version: Optional[float] = None) -> IamAccountSettingsTemplate
func GetIamAccountSettingsTemplate(ctx *Context, name string, id IDInput, state *IamAccountSettingsTemplateState, opts ...ResourceOption) (*IamAccountSettingsTemplate, error)
public static IamAccountSettingsTemplate Get(string name, Input<string> id, IamAccountSettingsTemplateState? state, CustomResourceOptions? opts = null)
public static IamAccountSettingsTemplate get(String name, Output<String> id, IamAccountSettingsTemplateState state, CustomResourceOptions options)
resources: _: type: ibm:IamAccountSettingsTemplate 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.
- Account
Id string - ID of the account where the template resides.
- Account
Settings IamAccount Settings Template Account Settings - Committed bool
- Committed flag determines if the template is ready for assignment.
- Created
At string - Template Created At.
- Created
By stringId - IAMid of the creator.
- Crn string
- Cloud resource name.
- Description string
- The description of the trusted profile template. Describe the template for enterprise account users.
- Entity
Tag string - Entity tag for this templateId-version combination.
- Histories
List<Iam
Account Settings Template History> - History of the Template.
- Last
Modified stringAt - Template last modified at.
- Last
Modified stringBy Id - IAMid of the identity that made the latest modification.
- Name string
- The name of the trusted profile template. This is visible only in the enterprise account.
- Template
Id string - ID of the the template.
- Version double
- Version of the the template.
- Account
Id string - ID of the account where the template resides.
- Account
Settings IamAccount Settings Template Account Settings Args - Committed bool
- Committed flag determines if the template is ready for assignment.
- Created
At string - Template Created At.
- Created
By stringId - IAMid of the creator.
- Crn string
- Cloud resource name.
- Description string
- The description of the trusted profile template. Describe the template for enterprise account users.
- Entity
Tag string - Entity tag for this templateId-version combination.
- Histories
[]Iam
Account Settings Template History Args - History of the Template.
- Last
Modified stringAt - Template last modified at.
- Last
Modified stringBy Id - IAMid of the identity that made the latest modification.
- Name string
- The name of the trusted profile template. This is visible only in the enterprise account.
- Template
Id string - ID of the the template.
- Version float64
- Version of the the template.
- account
Id String - ID of the account where the template resides.
- account
Settings IamAccount Settings Template Account Settings - committed Boolean
- Committed flag determines if the template is ready for assignment.
- created
At String - Template Created At.
- created
By StringId - IAMid of the creator.
- crn String
- Cloud resource name.
- description String
- The description of the trusted profile template. Describe the template for enterprise account users.
- entity
Tag String - Entity tag for this templateId-version combination.
- histories
List<Iam
Account Settings Template History> - History of the Template.
- last
Modified StringAt - Template last modified at.
- last
Modified StringBy Id - IAMid of the identity that made the latest modification.
- name String
- The name of the trusted profile template. This is visible only in the enterprise account.
- template
Id String - ID of the the template.
- version Double
- Version of the the template.
- account
Id string - ID of the account where the template resides.
- account
Settings IamAccount Settings Template Account Settings - committed boolean
- Committed flag determines if the template is ready for assignment.
- created
At string - Template Created At.
- created
By stringId - IAMid of the creator.
- crn string
- Cloud resource name.
- description string
- The description of the trusted profile template. Describe the template for enterprise account users.
- entity
Tag string - Entity tag for this templateId-version combination.
- histories
Iam
Account Settings Template History[] - History of the Template.
- last
Modified stringAt - Template last modified at.
- last
Modified stringBy Id - IAMid of the identity that made the latest modification.
- name string
- The name of the trusted profile template. This is visible only in the enterprise account.
- template
Id string - ID of the the template.
- version number
- Version of the the template.
- account_
id str - ID of the account where the template resides.
- account_
settings IamAccount Settings Template Account Settings Args - committed bool
- Committed flag determines if the template is ready for assignment.
- created_
at str - Template Created At.
- created_
by_ strid - IAMid of the creator.
- crn str
- Cloud resource name.
- description str
- The description of the trusted profile template. Describe the template for enterprise account users.
- entity_
tag str - Entity tag for this templateId-version combination.
- histories
Sequence[Iam
Account Settings Template History Args] - History of the Template.
- last_
modified_ strat - Template last modified at.
- last_
modified_ strby_ id - IAMid of the identity that made the latest modification.
- name str
- The name of the trusted profile template. This is visible only in the enterprise account.
- template_
id str - ID of the the template.
- version float
- Version of the the template.
- account
Id String - ID of the account where the template resides.
- account
Settings Property Map - committed Boolean
- Committed flag determines if the template is ready for assignment.
- created
At String - Template Created At.
- created
By StringId - IAMid of the creator.
- crn String
- Cloud resource name.
- description String
- The description of the trusted profile template. Describe the template for enterprise account users.
- entity
Tag String - Entity tag for this templateId-version combination.
- histories List<Property Map>
- History of the Template.
- last
Modified StringAt - Template last modified at.
- last
Modified StringBy Id - IAMid of the identity that made the latest modification.
- name String
- The name of the trusted profile template. This is visible only in the enterprise account.
- template
Id String - ID of the the template.
- version Number
- Version of the the template.
Supporting Types
IamAccountSettingsTemplateAccountSettings, IamAccountSettingsTemplateAccountSettingsArgs
- Allowed
Ip stringAddresses - Defines the IP addresses and subnets from which IAM tokens can be created for the account.
- Max
Sessions stringPer Identity - 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
- Defines the MFA trait for the account. Valid values: * NONE - No MFA trait set * 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.
- Restrict
Create stringPlatform Apikey - Defines whether or not creating platform API keys is access controlled. Valid values: * RESTRICTED - to apply access control * NOT_RESTRICTED - to remove access control * NOT_SET - to 'unset' a previous set value.
- Restrict
Create stringService Id - Defines whether or not creating a service ID 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.
- Session
Expiration stringIn Seconds - 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.
- Session
Invalidation stringIn Seconds - 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.
- System
Access stringToken Expiration In Seconds - 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.
- System
Refresh stringToken Expiration In Seconds - 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.
- User
Mfas List<IamAccount Settings Template Account Settings User Mfa> - List of users that are exempted from the MFA requirement of the account.
- Allowed
Ip stringAddresses - Defines the IP addresses and subnets from which IAM tokens can be created for the account.
- Max
Sessions stringPer Identity - 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
- Defines the MFA trait for the account. Valid values: * NONE - No MFA trait set * 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.
- Restrict
Create stringPlatform Apikey - Defines whether or not creating platform API keys is access controlled. Valid values: * RESTRICTED - to apply access control * NOT_RESTRICTED - to remove access control * NOT_SET - to 'unset' a previous set value.
- Restrict
Create stringService Id - Defines whether or not creating a service ID 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.
- Session
Expiration stringIn Seconds - 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.
- Session
Invalidation stringIn Seconds - 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.
- System
Access stringToken Expiration In Seconds - 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.
- System
Refresh stringToken Expiration In Seconds - 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.
- User
Mfas []IamAccount Settings Template Account Settings User Mfa - List of users that are exempted from the MFA requirement of the account.
- allowed
Ip StringAddresses - Defines the IP addresses and subnets from which IAM tokens can be created for the account.
- max
Sessions StringPer Identity - 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
- Defines the MFA trait for the account. Valid values: * NONE - No MFA trait set * 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.
- restrict
Create StringPlatform Apikey - Defines whether or not creating platform API keys is access controlled. Valid values: * RESTRICTED - to apply access control * NOT_RESTRICTED - to remove access control * NOT_SET - to 'unset' a previous set value.
- restrict
Create StringService Id - Defines whether or not creating a service ID 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.
- session
Expiration StringIn Seconds - 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.
- session
Invalidation StringIn Seconds - 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.
- system
Access StringToken Expiration In Seconds - 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.
- system
Refresh StringToken Expiration In Seconds - 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.
- user
Mfas List<IamAccount Settings Template Account Settings User Mfa> - List of users that are exempted from the MFA requirement of the account.
- allowed
Ip stringAddresses - Defines the IP addresses and subnets from which IAM tokens can be created for the account.
- max
Sessions stringPer Identity - 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
- Defines the MFA trait for the account. Valid values: * NONE - No MFA trait set * 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.
- restrict
Create stringPlatform Apikey - Defines whether or not creating platform API keys is access controlled. Valid values: * RESTRICTED - to apply access control * NOT_RESTRICTED - to remove access control * NOT_SET - to 'unset' a previous set value.
- restrict
Create stringService Id - Defines whether or not creating a service ID 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.
- session
Expiration stringIn Seconds - 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.
- session
Invalidation stringIn Seconds - 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.
- system
Access stringToken Expiration In Seconds - 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.
- system
Refresh stringToken Expiration In Seconds - 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.
- user
Mfas IamAccount Settings Template Account Settings User Mfa[] - List of users that are exempted from the MFA requirement of the account.
- allowed_
ip_ straddresses - Defines the IP addresses and subnets from which IAM tokens can be created for the account.
- max_
sessions_ strper_ identity - 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
- Defines the MFA trait for the account. Valid values: * NONE - No MFA trait set * 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.
- restrict_
create_ strplatform_ apikey - Defines whether or not creating platform API keys is access controlled. Valid values: * RESTRICTED - to apply access control * NOT_RESTRICTED - to remove access control * NOT_SET - to 'unset' a previous set value.
- restrict_
create_ strservice_ id - Defines whether or not creating a service ID 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.
- session_
expiration_ strin_ seconds - 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.
- session_
invalidation_ strin_ seconds - 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.
- system_
access_ strtoken_ expiration_ in_ seconds - 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.
- system_
refresh_ strtoken_ expiration_ in_ seconds - 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.
- user_
mfas Sequence[IamAccount Settings Template Account Settings User Mfa] - List of users that are exempted from the MFA requirement of the account.
- allowed
Ip StringAddresses - Defines the IP addresses and subnets from which IAM tokens can be created for the account.
- max
Sessions StringPer Identity - 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
- Defines the MFA trait for the account. Valid values: * NONE - No MFA trait set * 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.
- restrict
Create StringPlatform Apikey - Defines whether or not creating platform API keys is access controlled. Valid values: * RESTRICTED - to apply access control * NOT_RESTRICTED - to remove access control * NOT_SET - to 'unset' a previous set value.
- restrict
Create StringService Id - Defines whether or not creating a service ID 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.
- session
Expiration StringIn Seconds - 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.
- session
Invalidation StringIn Seconds - 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.
- system
Access StringToken Expiration In Seconds - 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.
- system
Refresh StringToken Expiration In Seconds - 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.
- user
Mfas List<Property Map> - List of users that are exempted from the MFA requirement of the account.
IamAccountSettingsTemplateAccountSettingsUserMfa, IamAccountSettingsTemplateAccountSettingsUserMfaArgs
- Iam
Id string - The iam_id of the user.
- Mfa string
- Defines the MFA requirement for the user. Valid values: * 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.
- Iam
Id string - The iam_id of the user.
- Mfa string
- Defines the MFA requirement for the user. Valid values: * 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.
- iam
Id String - The iam_id of the user.
- mfa String
- Defines the MFA requirement for the user. Valid values: * 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.
- iam
Id string - The iam_id of the user.
- mfa string
- Defines the MFA requirement for the user. Valid values: * 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.
- iam_
id str - The iam_id of the user.
- mfa str
- Defines the MFA requirement for the user. Valid values: * 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.
- iam
Id String - The iam_id of the user.
- mfa String
- Defines the MFA requirement for the user. Valid values: * 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.
IamAccountSettingsTemplateHistory, IamAccountSettingsTemplateHistoryArgs
Package Details
- Repository
- ibm ibm-cloud/terraform-provider-ibm
- License
- Notes
- This Pulumi package is based on the
ibm
Terraform Provider.