RulePassword

Creates a Password Policy Rule.

This resource allows you to create and configure a Password Policy Rule.

Create a RulePassword Resource

def RulePassword(resource_name, opts=None, name=None, network_connection=None, network_excludes=None, network_includes=None, password_change=None, password_reset=None, password_unlock=None, policyid=None, priority=None, status=None, users_excludeds=None, __props__=None);
func NewRulePassword(ctx *Context, name string, args RulePasswordArgs, opts ...ResourceOption) (*RulePassword, error)
name string
The unique name of the resource.
args RulePasswordArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
opts ResourceOptions
A bag of options that control this resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args RulePasswordArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args RulePasswordArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

RulePassword Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.

Inputs

The RulePassword resource accepts the following input properties:

Policyid string

Policy ID.

Name string

Policy Rule Name.

NetworkConnection string

Network selection mode: "ANYWHERE", "ZONE", "ON_NETWORK", or "OFF_NETWORK".

NetworkExcludes List<string>

The network zones to exclude. Conflicts with network_includes.

NetworkIncludes List<string>

The network zones to include. Conflicts with network_excludes.

PasswordChange string

Allow or deny a user to change their password: "ALLOW" or "DENY". By default it is "ALLOW".

PasswordReset string

Allow or deny a user to reset their password: "ALLOW" or "DENY". By default it is "ALLOW".

PasswordUnlock string

Allow or deny a user to unlock: "ALLOW" or "DENY". By default it is "DENY",

Priority int

Policy Rule Priority, this attribute can be set to a valid priority. To avoid endless diff situation we error if an invalid priority is provided. API defaults it to the last/lowest if not there.

Status string

Policy Rule Status: "ACTIVE" or "INACTIVE".

UsersExcludeds List<string>

Set of User IDs to Exclude

Policyid string

Policy ID.

Name string

Policy Rule Name.

NetworkConnection string

Network selection mode: "ANYWHERE", "ZONE", "ON_NETWORK", or "OFF_NETWORK".

NetworkExcludes []string

The network zones to exclude. Conflicts with network_includes.

NetworkIncludes []string

The network zones to include. Conflicts with network_excludes.

PasswordChange string

Allow or deny a user to change their password: "ALLOW" or "DENY". By default it is "ALLOW".

PasswordReset string

Allow or deny a user to reset their password: "ALLOW" or "DENY". By default it is "ALLOW".

PasswordUnlock string

Allow or deny a user to unlock: "ALLOW" or "DENY". By default it is "DENY",

Priority int

Policy Rule Priority, this attribute can be set to a valid priority. To avoid endless diff situation we error if an invalid priority is provided. API defaults it to the last/lowest if not there.

Status string

Policy Rule Status: "ACTIVE" or "INACTIVE".

UsersExcludeds []string

Set of User IDs to Exclude

policyid string

Policy ID.

name string

Policy Rule Name.

networkConnection string

Network selection mode: "ANYWHERE", "ZONE", "ON_NETWORK", or "OFF_NETWORK".

networkExcludes string[]

The network zones to exclude. Conflicts with network_includes.

networkIncludes string[]

The network zones to include. Conflicts with network_excludes.

passwordChange string

Allow or deny a user to change their password: "ALLOW" or "DENY". By default it is "ALLOW".

passwordReset string

Allow or deny a user to reset their password: "ALLOW" or "DENY". By default it is "ALLOW".

passwordUnlock string

Allow or deny a user to unlock: "ALLOW" or "DENY". By default it is "DENY",

priority number

Policy Rule Priority, this attribute can be set to a valid priority. To avoid endless diff situation we error if an invalid priority is provided. API defaults it to the last/lowest if not there.

status string

Policy Rule Status: "ACTIVE" or "INACTIVE".

usersExcludeds string[]

Set of User IDs to Exclude

policyid str

Policy ID.

name str

Policy Rule Name.

network_connection str

Network selection mode: "ANYWHERE", "ZONE", "ON_NETWORK", or "OFF_NETWORK".

network_excludes List[str]

The network zones to exclude. Conflicts with network_includes.

network_includes List[str]

The network zones to include. Conflicts with network_excludes.

password_change str

Allow or deny a user to change their password: "ALLOW" or "DENY". By default it is "ALLOW".

password_reset str

Allow or deny a user to reset their password: "ALLOW" or "DENY". By default it is "ALLOW".

password_unlock str

Allow or deny a user to unlock: "ALLOW" or "DENY". By default it is "DENY",

priority float

Policy Rule Priority, this attribute can be set to a valid priority. To avoid endless diff situation we error if an invalid priority is provided. API defaults it to the last/lowest if not there.

status str

Policy Rule Status: "ACTIVE" or "INACTIVE".

users_excludeds List[str]

Set of User IDs to Exclude

Outputs

All input properties are implicitly available as output properties. Additionally, the RulePassword resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.

Look up an Existing RulePassword Resource

Get an existing RulePassword 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?: RulePasswordState, opts?: CustomResourceOptions): RulePassword
static get(resource_name, id, opts=None, name=None, network_connection=None, network_excludes=None, network_includes=None, password_change=None, password_reset=None, password_unlock=None, policyid=None, priority=None, status=None, users_excludeds=None, __props__=None);
func GetRulePassword(ctx *Context, name string, id IDInput, state *RulePasswordState, opts ...ResourceOption) (*RulePassword, error)
public static RulePassword Get(string name, Input<string> id, RulePasswordState? state, CustomResourceOptions? opts = null)
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.

The following state arguments are supported:

Name string

Policy Rule Name.

NetworkConnection string

Network selection mode: "ANYWHERE", "ZONE", "ON_NETWORK", or "OFF_NETWORK".

NetworkExcludes List<string>

The network zones to exclude. Conflicts with network_includes.

NetworkIncludes List<string>

The network zones to include. Conflicts with network_excludes.

PasswordChange string

Allow or deny a user to change their password: "ALLOW" or "DENY". By default it is "ALLOW".

PasswordReset string

Allow or deny a user to reset their password: "ALLOW" or "DENY". By default it is "ALLOW".

PasswordUnlock string

Allow or deny a user to unlock: "ALLOW" or "DENY". By default it is "DENY",

Policyid string

Policy ID.

Priority int

Policy Rule Priority, this attribute can be set to a valid priority. To avoid endless diff situation we error if an invalid priority is provided. API defaults it to the last/lowest if not there.

Status string

Policy Rule Status: "ACTIVE" or "INACTIVE".

UsersExcludeds List<string>

Set of User IDs to Exclude

Name string

Policy Rule Name.

NetworkConnection string

Network selection mode: "ANYWHERE", "ZONE", "ON_NETWORK", or "OFF_NETWORK".

NetworkExcludes []string

The network zones to exclude. Conflicts with network_includes.

NetworkIncludes []string

The network zones to include. Conflicts with network_excludes.

PasswordChange string

Allow or deny a user to change their password: "ALLOW" or "DENY". By default it is "ALLOW".

PasswordReset string

Allow or deny a user to reset their password: "ALLOW" or "DENY". By default it is "ALLOW".

PasswordUnlock string

Allow or deny a user to unlock: "ALLOW" or "DENY". By default it is "DENY",

Policyid string

Policy ID.

Priority int

Policy Rule Priority, this attribute can be set to a valid priority. To avoid endless diff situation we error if an invalid priority is provided. API defaults it to the last/lowest if not there.

Status string

Policy Rule Status: "ACTIVE" or "INACTIVE".

UsersExcludeds []string

Set of User IDs to Exclude

name string

Policy Rule Name.

networkConnection string

Network selection mode: "ANYWHERE", "ZONE", "ON_NETWORK", or "OFF_NETWORK".

networkExcludes string[]

The network zones to exclude. Conflicts with network_includes.

networkIncludes string[]

The network zones to include. Conflicts with network_excludes.

passwordChange string

Allow or deny a user to change their password: "ALLOW" or "DENY". By default it is "ALLOW".

passwordReset string

Allow or deny a user to reset their password: "ALLOW" or "DENY". By default it is "ALLOW".

passwordUnlock string

Allow or deny a user to unlock: "ALLOW" or "DENY". By default it is "DENY",

policyid string

Policy ID.

priority number

Policy Rule Priority, this attribute can be set to a valid priority. To avoid endless diff situation we error if an invalid priority is provided. API defaults it to the last/lowest if not there.

status string

Policy Rule Status: "ACTIVE" or "INACTIVE".

usersExcludeds string[]

Set of User IDs to Exclude

name str

Policy Rule Name.

network_connection str

Network selection mode: "ANYWHERE", "ZONE", "ON_NETWORK", or "OFF_NETWORK".

network_excludes List[str]

The network zones to exclude. Conflicts with network_includes.

network_includes List[str]

The network zones to include. Conflicts with network_excludes.

password_change str

Allow or deny a user to change their password: "ALLOW" or "DENY". By default it is "ALLOW".

password_reset str

Allow or deny a user to reset their password: "ALLOW" or "DENY". By default it is "ALLOW".

password_unlock str

Allow or deny a user to unlock: "ALLOW" or "DENY". By default it is "DENY",

policyid str

Policy ID.

priority float

Policy Rule Priority, this attribute can be set to a valid priority. To avoid endless diff situation we error if an invalid priority is provided. API defaults it to the last/lowest if not there.

status str

Policy Rule Status: "ACTIVE" or "INACTIVE".

users_excludeds List[str]

Set of User IDs to Exclude

Package Details

Repository
https://github.com/pulumi/pulumi-okta
License
Apache-2.0
Notes
This Pulumi package is based on the okta Terraform Provider.