published on Thursday, Nov 5, 2026 by Aten Security
Thothpublished on Thursday, Nov 5, 2026 by Aten Security
Create OrgSecuritySettings Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new OrgSecuritySettings(name: string, args?: OrgSecuritySettingsArgs, opts?: CustomResourceOptions);@overload
def OrgSecuritySettings(resource_name: str,
args: Optional[OrgSecuritySettingsArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def OrgSecuritySettings(resource_name: str,
opts: Optional[ResourceOptions] = None,
ip_allowlists: Optional[Sequence[str]] = None,
require_mfa: Optional[bool] = None,
session_timeout_minutes: Optional[int] = None)func NewOrgSecuritySettings(ctx *Context, name string, args *OrgSecuritySettingsArgs, opts ...ResourceOption) (*OrgSecuritySettings, error)public OrgSecuritySettings(string name, OrgSecuritySettingsArgs? args = null, CustomResourceOptions? opts = null)
public OrgSecuritySettings(String name, OrgSecuritySettingsArgs args)
public OrgSecuritySettings(String name, OrgSecuritySettingsArgs args, CustomResourceOptions options)
type: thoth:governance:OrgSecuritySettings
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "thoth_governance_org_security_settings" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args OrgSecuritySettingsArgs
- 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 OrgSecuritySettingsArgs
- 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 OrgSecuritySettingsArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args OrgSecuritySettingsArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args OrgSecuritySettingsArgs
- 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 orgSecuritySettingsResource = new Thoth.Governance.OrgSecuritySettings("orgSecuritySettingsResource", new()
{
IpAllowlists = new[]
{
"string",
},
RequireMfa = false,
SessionTimeoutMinutes = 0,
});
example, err := governance.NewOrgSecuritySettings(ctx, "orgSecuritySettingsResource", &governance.OrgSecuritySettingsArgs{
IpAllowlists: pulumi.StringArray{
pulumi.String("string"),
},
RequireMfa: pulumi.Bool(false),
SessionTimeoutMinutes: pulumi.Int(0),
})
resource "thoth_governance_org_security_settings" "orgSecuritySettingsResource" {
lifecycle {
create_before_destroy = true
}
ip_allowlists = ["string"]
require_mfa = false
session_timeout_minutes = 0
}
var orgSecuritySettingsResource = new OrgSecuritySettings("orgSecuritySettingsResource", OrgSecuritySettingsArgs.builder()
.ipAllowlists("string")
.requireMfa(false)
.sessionTimeoutMinutes(0)
.build());
org_security_settings_resource = thoth.governance.OrgSecuritySettings("orgSecuritySettingsResource",
ip_allowlists=["string"],
require_mfa=False,
session_timeout_minutes=0)
const orgSecuritySettingsResource = new thoth.governance.OrgSecuritySettings("orgSecuritySettingsResource", {
ipAllowlists: ["string"],
requireMfa: false,
sessionTimeoutMinutes: 0,
});
type: thoth:governance:OrgSecuritySettings
properties:
ipAllowlists:
- string
requireMfa: false
sessionTimeoutMinutes: 0
OrgSecuritySettings 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 OrgSecuritySettings resource accepts the following input properties:
- Ip
Allowlists List<string> - CIDR ranges people and API keys may connect from, at most 100. Empty allows any network. Write each range in canonical form, such as
203.0.113.7/32or198.51.100.0/24. The list must include the address this Terraform run connects from, or GovAPI refuses it. - Require
Mfa bool - Require a second factor on every sign-in session (dashboard, thothctl and MCP). Sessions without one are asked to verify; API keys are not affected. Default
false. - Session
Timeout intMinutes - How long a sign-in lasts before people must sign in again, from 15 to 43200 (30 days). It is an absolute lifetime, not an idle timeout. Default 720 (12 hours).
- Ip
Allowlists []string - CIDR ranges people and API keys may connect from, at most 100. Empty allows any network. Write each range in canonical form, such as
203.0.113.7/32or198.51.100.0/24. The list must include the address this Terraform run connects from, or GovAPI refuses it. - Require
Mfa bool - Require a second factor on every sign-in session (dashboard, thothctl and MCP). Sessions without one are asked to verify; API keys are not affected. Default
false. - Session
Timeout intMinutes - How long a sign-in lasts before people must sign in again, from 15 to 43200 (30 days). It is an absolute lifetime, not an idle timeout. Default 720 (12 hours).
- ip_
allowlists list(string) - CIDR ranges people and API keys may connect from, at most 100. Empty allows any network. Write each range in canonical form, such as
203.0.113.7/32or198.51.100.0/24. The list must include the address this Terraform run connects from, or GovAPI refuses it. - require_
mfa bool - Require a second factor on every sign-in session (dashboard, thothctl and MCP). Sessions without one are asked to verify; API keys are not affected. Default
false. - session_
timeout_ numberminutes - How long a sign-in lasts before people must sign in again, from 15 to 43200 (30 days). It is an absolute lifetime, not an idle timeout. Default 720 (12 hours).
- ip
Allowlists List<String> - CIDR ranges people and API keys may connect from, at most 100. Empty allows any network. Write each range in canonical form, such as
203.0.113.7/32or198.51.100.0/24. The list must include the address this Terraform run connects from, or GovAPI refuses it. - require
Mfa Boolean - Require a second factor on every sign-in session (dashboard, thothctl and MCP). Sessions without one are asked to verify; API keys are not affected. Default
false. - session
Timeout IntegerMinutes - How long a sign-in lasts before people must sign in again, from 15 to 43200 (30 days). It is an absolute lifetime, not an idle timeout. Default 720 (12 hours).
- ip
Allowlists string[] - CIDR ranges people and API keys may connect from, at most 100. Empty allows any network. Write each range in canonical form, such as
203.0.113.7/32or198.51.100.0/24. The list must include the address this Terraform run connects from, or GovAPI refuses it. - require
Mfa boolean - Require a second factor on every sign-in session (dashboard, thothctl and MCP). Sessions without one are asked to verify; API keys are not affected. Default
false. - session
Timeout numberMinutes - How long a sign-in lasts before people must sign in again, from 15 to 43200 (30 days). It is an absolute lifetime, not an idle timeout. Default 720 (12 hours).
- ip_
allowlists Sequence[str] - CIDR ranges people and API keys may connect from, at most 100. Empty allows any network. Write each range in canonical form, such as
203.0.113.7/32or198.51.100.0/24. The list must include the address this Terraform run connects from, or GovAPI refuses it. - require_
mfa bool - Require a second factor on every sign-in session (dashboard, thothctl and MCP). Sessions without one are asked to verify; API keys are not affected. Default
false. - session_
timeout_ intminutes - How long a sign-in lasts before people must sign in again, from 15 to 43200 (30 days). It is an absolute lifetime, not an idle timeout. Default 720 (12 hours).
- ip
Allowlists List<String> - CIDR ranges people and API keys may connect from, at most 100. Empty allows any network. Write each range in canonical form, such as
203.0.113.7/32or198.51.100.0/24. The list must include the address this Terraform run connects from, or GovAPI refuses it. - require
Mfa Boolean - Require a second factor on every sign-in session (dashboard, thothctl and MCP). Sessions without one are asked to verify; API keys are not affected. Default
false. - session
Timeout NumberMinutes - How long a sign-in lasts before people must sign in again, from 15 to 43200 (30 days). It is an absolute lifetime, not an idle timeout. Default 720 (12 hours).
Outputs
All input properties are implicitly available as output properties. Additionally, the OrgSecuritySettings resource produces the following output properties:
- id string
- The provider-assigned unique ID for this managed resource.
- tenant_
id string - Tenant ID resolved from provider configuration.
- updated_
at string - Last update timestamp returned by GovAPI.
- updated_
by string - Who last saved the policy, as GovAPI recorded it.
- id str
- The provider-assigned unique ID for this managed resource.
- tenant_
id str - Tenant ID resolved from provider configuration.
- updated_
at str - Last update timestamp returned by GovAPI.
- updated_
by str - Who last saved the policy, as GovAPI recorded it.
Look up Existing OrgSecuritySettings Resource
Get an existing OrgSecuritySettings 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?: OrgSecuritySettingsState, opts?: CustomResourceOptions): OrgSecuritySettings@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
ip_allowlists: Optional[Sequence[str]] = None,
require_mfa: Optional[bool] = None,
session_timeout_minutes: Optional[int] = None,
tenant_id: Optional[str] = None,
updated_at: Optional[str] = None,
updated_by: Optional[str] = None) -> OrgSecuritySettingsfunc GetOrgSecuritySettings(ctx *Context, name string, id IDInput, state *OrgSecuritySettingsState, opts ...ResourceOption) (*OrgSecuritySettings, error)public static OrgSecuritySettings Get(string name, Input<string> id, OrgSecuritySettingsState? state, CustomResourceOptions? opts = null)public static OrgSecuritySettings get(String name, Output<String> id, OrgSecuritySettingsState state, CustomResourceOptions options)resources: _: type: thoth:governance:OrgSecuritySettings get: id: ${id}import {
to = thoth_governance_org_security_settings.example
id = "${id}"
}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Ip
Allowlists List<string> - CIDR ranges people and API keys may connect from, at most 100. Empty allows any network. Write each range in canonical form, such as
203.0.113.7/32or198.51.100.0/24. The list must include the address this Terraform run connects from, or GovAPI refuses it. - Require
Mfa bool - Require a second factor on every sign-in session (dashboard, thothctl and MCP). Sessions without one are asked to verify; API keys are not affected. Default
false. - Session
Timeout intMinutes - How long a sign-in lasts before people must sign in again, from 15 to 43200 (30 days). It is an absolute lifetime, not an idle timeout. Default 720 (12 hours).
- Tenant
Id string - Tenant ID resolved from provider configuration.
- Updated
At string - Last update timestamp returned by GovAPI.
- Updated
By string - Who last saved the policy, as GovAPI recorded it.
- Ip
Allowlists []string - CIDR ranges people and API keys may connect from, at most 100. Empty allows any network. Write each range in canonical form, such as
203.0.113.7/32or198.51.100.0/24. The list must include the address this Terraform run connects from, or GovAPI refuses it. - Require
Mfa bool - Require a second factor on every sign-in session (dashboard, thothctl and MCP). Sessions without one are asked to verify; API keys are not affected. Default
false. - Session
Timeout intMinutes - How long a sign-in lasts before people must sign in again, from 15 to 43200 (30 days). It is an absolute lifetime, not an idle timeout. Default 720 (12 hours).
- Tenant
Id string - Tenant ID resolved from provider configuration.
- Updated
At string - Last update timestamp returned by GovAPI.
- Updated
By string - Who last saved the policy, as GovAPI recorded it.
- ip_
allowlists list(string) - CIDR ranges people and API keys may connect from, at most 100. Empty allows any network. Write each range in canonical form, such as
203.0.113.7/32or198.51.100.0/24. The list must include the address this Terraform run connects from, or GovAPI refuses it. - require_
mfa bool - Require a second factor on every sign-in session (dashboard, thothctl and MCP). Sessions without one are asked to verify; API keys are not affected. Default
false. - session_
timeout_ numberminutes - How long a sign-in lasts before people must sign in again, from 15 to 43200 (30 days). It is an absolute lifetime, not an idle timeout. Default 720 (12 hours).
- tenant_
id string - Tenant ID resolved from provider configuration.
- updated_
at string - Last update timestamp returned by GovAPI.
- updated_
by string - Who last saved the policy, as GovAPI recorded it.
- ip
Allowlists List<String> - CIDR ranges people and API keys may connect from, at most 100. Empty allows any network. Write each range in canonical form, such as
203.0.113.7/32or198.51.100.0/24. The list must include the address this Terraform run connects from, or GovAPI refuses it. - require
Mfa Boolean - Require a second factor on every sign-in session (dashboard, thothctl and MCP). Sessions without one are asked to verify; API keys are not affected. Default
false. - session
Timeout IntegerMinutes - How long a sign-in lasts before people must sign in again, from 15 to 43200 (30 days). It is an absolute lifetime, not an idle timeout. Default 720 (12 hours).
- tenant
Id String - Tenant ID resolved from provider configuration.
- updated
At String - Last update timestamp returned by GovAPI.
- updated
By String - Who last saved the policy, as GovAPI recorded it.
- ip
Allowlists string[] - CIDR ranges people and API keys may connect from, at most 100. Empty allows any network. Write each range in canonical form, such as
203.0.113.7/32or198.51.100.0/24. The list must include the address this Terraform run connects from, or GovAPI refuses it. - require
Mfa boolean - Require a second factor on every sign-in session (dashboard, thothctl and MCP). Sessions without one are asked to verify; API keys are not affected. Default
false. - session
Timeout numberMinutes - How long a sign-in lasts before people must sign in again, from 15 to 43200 (30 days). It is an absolute lifetime, not an idle timeout. Default 720 (12 hours).
- tenant
Id string - Tenant ID resolved from provider configuration.
- updated
At string - Last update timestamp returned by GovAPI.
- updated
By string - Who last saved the policy, as GovAPI recorded it.
- ip_
allowlists Sequence[str] - CIDR ranges people and API keys may connect from, at most 100. Empty allows any network. Write each range in canonical form, such as
203.0.113.7/32or198.51.100.0/24. The list must include the address this Terraform run connects from, or GovAPI refuses it. - require_
mfa bool - Require a second factor on every sign-in session (dashboard, thothctl and MCP). Sessions without one are asked to verify; API keys are not affected. Default
false. - session_
timeout_ intminutes - How long a sign-in lasts before people must sign in again, from 15 to 43200 (30 days). It is an absolute lifetime, not an idle timeout. Default 720 (12 hours).
- tenant_
id str - Tenant ID resolved from provider configuration.
- updated_
at str - Last update timestamp returned by GovAPI.
- updated_
by str - Who last saved the policy, as GovAPI recorded it.
- ip
Allowlists List<String> - CIDR ranges people and API keys may connect from, at most 100. Empty allows any network. Write each range in canonical form, such as
203.0.113.7/32or198.51.100.0/24. The list must include the address this Terraform run connects from, or GovAPI refuses it. - require
Mfa Boolean - Require a second factor on every sign-in session (dashboard, thothctl and MCP). Sessions without one are asked to verify; API keys are not affected. Default
false. - session
Timeout NumberMinutes - How long a sign-in lasts before people must sign in again, from 15 to 43200 (30 days). It is an absolute lifetime, not an idle timeout. Default 720 (12 hours).
- tenant
Id String - Tenant ID resolved from provider configuration.
- updated
At String - Last update timestamp returned by GovAPI.
- updated
By String - Who last saved the policy, as GovAPI recorded it.
Package Details
- Repository
- thoth atensecurity/pulumi-thoth
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
thothTerraform Provider.
Thothpublished on Thursday, Nov 5, 2026 by Aten Security