authentik.PolicyUniquePassword
Explore with Pulumi AI
Create PolicyUniquePassword Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new PolicyUniquePassword(name: string, args?: PolicyUniquePasswordArgs, opts?: CustomResourceOptions);
@overload
def PolicyUniquePassword(resource_name: str,
args: Optional[PolicyUniquePasswordArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def PolicyUniquePassword(resource_name: str,
opts: Optional[ResourceOptions] = None,
execution_logging: Optional[bool] = None,
name: Optional[str] = None,
num_historical_passwords: Optional[float] = None,
password_field: Optional[str] = None,
policy_unique_password_id: Optional[str] = None)
func NewPolicyUniquePassword(ctx *Context, name string, args *PolicyUniquePasswordArgs, opts ...ResourceOption) (*PolicyUniquePassword, error)
public PolicyUniquePassword(string name, PolicyUniquePasswordArgs? args = null, CustomResourceOptions? opts = null)
public PolicyUniquePassword(String name, PolicyUniquePasswordArgs args)
public PolicyUniquePassword(String name, PolicyUniquePasswordArgs args, CustomResourceOptions options)
type: authentik:PolicyUniquePassword
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 PolicyUniquePasswordArgs
- 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 PolicyUniquePasswordArgs
- 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 PolicyUniquePasswordArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args PolicyUniquePasswordArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args PolicyUniquePasswordArgs
- 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 policyUniquePasswordResource = new Authentik.PolicyUniquePassword("policyUniquePasswordResource", new()
{
ExecutionLogging = false,
Name = "string",
NumHistoricalPasswords = 0,
PasswordField = "string",
PolicyUniquePasswordId = "string",
});
example, err := authentik.NewPolicyUniquePassword(ctx, "policyUniquePasswordResource", &authentik.PolicyUniquePasswordArgs{
ExecutionLogging: pulumi.Bool(false),
Name: pulumi.String("string"),
NumHistoricalPasswords: pulumi.Float64(0),
PasswordField: pulumi.String("string"),
PolicyUniquePasswordId: pulumi.String("string"),
})
var policyUniquePasswordResource = new PolicyUniquePassword("policyUniquePasswordResource", PolicyUniquePasswordArgs.builder()
.executionLogging(false)
.name("string")
.numHistoricalPasswords(0.0)
.passwordField("string")
.policyUniquePasswordId("string")
.build());
policy_unique_password_resource = authentik.PolicyUniquePassword("policyUniquePasswordResource",
execution_logging=False,
name="string",
num_historical_passwords=0,
password_field="string",
policy_unique_password_id="string")
const policyUniquePasswordResource = new authentik.PolicyUniquePassword("policyUniquePasswordResource", {
executionLogging: false,
name: "string",
numHistoricalPasswords: 0,
passwordField: "string",
policyUniquePasswordId: "string",
});
type: authentik:PolicyUniquePassword
properties:
executionLogging: false
name: string
numHistoricalPasswords: 0
passwordField: string
policyUniquePasswordId: string
PolicyUniquePassword 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 PolicyUniquePassword resource accepts the following input properties:
- Execution
Logging bool - Defaults to
false
. - Name string
- Num
Historical doublePasswords - Defaults to
1
. - Password
Field string - Defaults to
password
. - Policy
Unique stringPassword Id - The ID of this resource.
- Execution
Logging bool - Defaults to
false
. - Name string
- Num
Historical float64Passwords - Defaults to
1
. - Password
Field string - Defaults to
password
. - Policy
Unique stringPassword Id - The ID of this resource.
- execution
Logging Boolean - Defaults to
false
. - name String
- num
Historical DoublePasswords - Defaults to
1
. - password
Field String - Defaults to
password
. - policy
Unique StringPassword Id - The ID of this resource.
- execution
Logging boolean - Defaults to
false
. - name string
- num
Historical numberPasswords - Defaults to
1
. - password
Field string - Defaults to
password
. - policy
Unique stringPassword Id - The ID of this resource.
- execution_
logging bool - Defaults to
false
. - name str
- num_
historical_ floatpasswords - Defaults to
1
. - password_
field str - Defaults to
password
. - policy_
unique_ strpassword_ id - The ID of this resource.
- execution
Logging Boolean - Defaults to
false
. - name String
- num
Historical NumberPasswords - Defaults to
1
. - password
Field String - Defaults to
password
. - policy
Unique StringPassword Id - The ID of this resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the PolicyUniquePassword 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 string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing PolicyUniquePassword Resource
Get an existing PolicyUniquePassword 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?: PolicyUniquePasswordState, opts?: CustomResourceOptions): PolicyUniquePassword
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
execution_logging: Optional[bool] = None,
name: Optional[str] = None,
num_historical_passwords: Optional[float] = None,
password_field: Optional[str] = None,
policy_unique_password_id: Optional[str] = None) -> PolicyUniquePassword
func GetPolicyUniquePassword(ctx *Context, name string, id IDInput, state *PolicyUniquePasswordState, opts ...ResourceOption) (*PolicyUniquePassword, error)
public static PolicyUniquePassword Get(string name, Input<string> id, PolicyUniquePasswordState? state, CustomResourceOptions? opts = null)
public static PolicyUniquePassword get(String name, Output<String> id, PolicyUniquePasswordState state, CustomResourceOptions options)
resources: _: type: authentik:PolicyUniquePassword 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.
- Execution
Logging bool - Defaults to
false
. - Name string
- Num
Historical doublePasswords - Defaults to
1
. - Password
Field string - Defaults to
password
. - Policy
Unique stringPassword Id - The ID of this resource.
- Execution
Logging bool - Defaults to
false
. - Name string
- Num
Historical float64Passwords - Defaults to
1
. - Password
Field string - Defaults to
password
. - Policy
Unique stringPassword Id - The ID of this resource.
- execution
Logging Boolean - Defaults to
false
. - name String
- num
Historical DoublePasswords - Defaults to
1
. - password
Field String - Defaults to
password
. - policy
Unique StringPassword Id - The ID of this resource.
- execution
Logging boolean - Defaults to
false
. - name string
- num
Historical numberPasswords - Defaults to
1
. - password
Field string - Defaults to
password
. - policy
Unique stringPassword Id - The ID of this resource.
- execution_
logging bool - Defaults to
false
. - name str
- num_
historical_ floatpasswords - Defaults to
1
. - password_
field str - Defaults to
password
. - policy_
unique_ strpassword_ id - The ID of this resource.
- execution
Logging Boolean - Defaults to
false
. - name String
- num
Historical NumberPasswords - Defaults to
1
. - password
Field String - Defaults to
password
. - policy
Unique StringPassword Id - The ID of this resource.
Package Details
- Repository
- authentik goauthentik/terraform-provider-authentik
- License
- Notes
- This Pulumi package is based on the
authentik
Terraform Provider.