1. Packages
  2. Authentik Provider
  3. API Docs
  4. PolicyUniquePassword
authentik 2025.4.0 published on Friday, May 2, 2025 by goauthentik

authentik.PolicyUniquePassword

Explore with Pulumi AI

authentik logo
authentik 2025.4.0 published on Friday, May 2, 2025 by goauthentik

    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:

    ExecutionLogging bool
    Defaults to false.
    Name string
    NumHistoricalPasswords double
    Defaults to 1.
    PasswordField string
    Defaults to password.
    PolicyUniquePasswordId string
    The ID of this resource.
    ExecutionLogging bool
    Defaults to false.
    Name string
    NumHistoricalPasswords float64
    Defaults to 1.
    PasswordField string
    Defaults to password.
    PolicyUniquePasswordId string
    The ID of this resource.
    executionLogging Boolean
    Defaults to false.
    name String
    numHistoricalPasswords Double
    Defaults to 1.
    passwordField String
    Defaults to password.
    policyUniquePasswordId String
    The ID of this resource.
    executionLogging boolean
    Defaults to false.
    name string
    numHistoricalPasswords number
    Defaults to 1.
    passwordField string
    Defaults to password.
    policyUniquePasswordId string
    The ID of this resource.
    execution_logging bool
    Defaults to false.
    name str
    num_historical_passwords float
    Defaults to 1.
    password_field str
    Defaults to password.
    policy_unique_password_id str
    The ID of this resource.
    executionLogging Boolean
    Defaults to false.
    name String
    numHistoricalPasswords Number
    Defaults to 1.
    passwordField String
    Defaults to password.
    policyUniquePasswordId String
    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.
    The following state arguments are supported:
    ExecutionLogging bool
    Defaults to false.
    Name string
    NumHistoricalPasswords double
    Defaults to 1.
    PasswordField string
    Defaults to password.
    PolicyUniquePasswordId string
    The ID of this resource.
    ExecutionLogging bool
    Defaults to false.
    Name string
    NumHistoricalPasswords float64
    Defaults to 1.
    PasswordField string
    Defaults to password.
    PolicyUniquePasswordId string
    The ID of this resource.
    executionLogging Boolean
    Defaults to false.
    name String
    numHistoricalPasswords Double
    Defaults to 1.
    passwordField String
    Defaults to password.
    policyUniquePasswordId String
    The ID of this resource.
    executionLogging boolean
    Defaults to false.
    name string
    numHistoricalPasswords number
    Defaults to 1.
    passwordField string
    Defaults to password.
    policyUniquePasswordId string
    The ID of this resource.
    execution_logging bool
    Defaults to false.
    name str
    num_historical_passwords float
    Defaults to 1.
    password_field str
    Defaults to password.
    policy_unique_password_id str
    The ID of this resource.
    executionLogging Boolean
    Defaults to false.
    name String
    numHistoricalPasswords Number
    Defaults to 1.
    passwordField String
    Defaults to password.
    policyUniquePasswordId String
    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.
    authentik logo
    authentik 2025.4.0 published on Friday, May 2, 2025 by goauthentik