1. Packages
  2. Authentik Provider
  3. API Docs
  4. StagePassword
authentik 2025.2.0 published on Monday, Mar 24, 2025 by goauthentik

authentik.StagePassword

Explore with Pulumi AI

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as authentik from "@pulumi/authentik";

const test = new authentik.StagePassword("test", {backends: ["authentik.core.auth.InbuiltBackend"]});
Copy
import pulumi
import pulumi_authentik as authentik

test = authentik.StagePassword("test", backends=["authentik.core.auth.InbuiltBackend"])
Copy
package main

import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/authentik/v2025/authentik"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := authentik.NewStagePassword(ctx, "test", &authentik.StagePasswordArgs{
			Backends: pulumi.StringArray{
				pulumi.String("authentik.core.auth.InbuiltBackend"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Authentik = Pulumi.Authentik;

return await Deployment.RunAsync(() => 
{
    var test = new Authentik.StagePassword("test", new()
    {
        Backends = new[]
        {
            "authentik.core.auth.InbuiltBackend",
        },
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.authentik.StagePassword;
import com.pulumi.authentik.StagePasswordArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var test = new StagePassword("test", StagePasswordArgs.builder()
            .backends("authentik.core.auth.InbuiltBackend")
            .build());

    }
}
Copy
resources:
  test:
    type: authentik:StagePassword
    properties:
      backends:
        - authentik.core.auth.InbuiltBackend
Copy

Create StagePassword Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new StagePassword(name: string, args: StagePasswordArgs, opts?: CustomResourceOptions);
@overload
def StagePassword(resource_name: str,
                  args: StagePasswordArgs,
                  opts: Optional[ResourceOptions] = None)

@overload
def StagePassword(resource_name: str,
                  opts: Optional[ResourceOptions] = None,
                  backends: Optional[Sequence[str]] = None,
                  allow_show_password: Optional[bool] = None,
                  configure_flow: Optional[str] = None,
                  failed_attempts_before_cancel: Optional[float] = None,
                  name: Optional[str] = None,
                  stage_password_id: Optional[str] = None)
func NewStagePassword(ctx *Context, name string, args StagePasswordArgs, opts ...ResourceOption) (*StagePassword, error)
public StagePassword(string name, StagePasswordArgs args, CustomResourceOptions? opts = null)
public StagePassword(String name, StagePasswordArgs args)
public StagePassword(String name, StagePasswordArgs args, CustomResourceOptions options)
type: authentik:StagePassword
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. StagePasswordArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. StagePasswordArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. StagePasswordArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. StagePasswordArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. StagePasswordArgs
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 stagePasswordResource = new Authentik.StagePassword("stagePasswordResource", new()
{
    Backends = new[]
    {
        "string",
    },
    AllowShowPassword = false,
    ConfigureFlow = "string",
    FailedAttemptsBeforeCancel = 0,
    Name = "string",
    StagePasswordId = "string",
});
Copy
example, err := authentik.NewStagePassword(ctx, "stagePasswordResource", &authentik.StagePasswordArgs{
	Backends: pulumi.StringArray{
		pulumi.String("string"),
	},
	AllowShowPassword:          pulumi.Bool(false),
	ConfigureFlow:              pulumi.String("string"),
	FailedAttemptsBeforeCancel: pulumi.Float64(0),
	Name:                       pulumi.String("string"),
	StagePasswordId:            pulumi.String("string"),
})
Copy
var stagePasswordResource = new StagePassword("stagePasswordResource", StagePasswordArgs.builder()
    .backends("string")
    .allowShowPassword(false)
    .configureFlow("string")
    .failedAttemptsBeforeCancel(0)
    .name("string")
    .stagePasswordId("string")
    .build());
Copy
stage_password_resource = authentik.StagePassword("stagePasswordResource",
    backends=["string"],
    allow_show_password=False,
    configure_flow="string",
    failed_attempts_before_cancel=0,
    name="string",
    stage_password_id="string")
Copy
const stagePasswordResource = new authentik.StagePassword("stagePasswordResource", {
    backends: ["string"],
    allowShowPassword: false,
    configureFlow: "string",
    failedAttemptsBeforeCancel: 0,
    name: "string",
    stagePasswordId: "string",
});
Copy
type: authentik:StagePassword
properties:
    allowShowPassword: false
    backends:
        - string
    configureFlow: string
    failedAttemptsBeforeCancel: 0
    name: string
    stagePasswordId: string
Copy

StagePassword 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 StagePassword resource accepts the following input properties:

Backends This property is required. List<string>
AllowShowPassword bool
Defaults to false.
ConfigureFlow string
FailedAttemptsBeforeCancel double
Defaults to 5.
Name string
StagePasswordId string
The ID of this resource.
Backends This property is required. []string
AllowShowPassword bool
Defaults to false.
ConfigureFlow string
FailedAttemptsBeforeCancel float64
Defaults to 5.
Name string
StagePasswordId string
The ID of this resource.
backends This property is required. List<String>
allowShowPassword Boolean
Defaults to false.
configureFlow String
failedAttemptsBeforeCancel Double
Defaults to 5.
name String
stagePasswordId String
The ID of this resource.
backends This property is required. string[]
allowShowPassword boolean
Defaults to false.
configureFlow string
failedAttemptsBeforeCancel number
Defaults to 5.
name string
stagePasswordId string
The ID of this resource.
backends This property is required. Sequence[str]
allow_show_password bool
Defaults to false.
configure_flow str
failed_attempts_before_cancel float
Defaults to 5.
name str
stage_password_id str
The ID of this resource.
backends This property is required. List<String>
allowShowPassword Boolean
Defaults to false.
configureFlow String
failedAttemptsBeforeCancel Number
Defaults to 5.
name String
stagePasswordId String
The ID of this resource.

Outputs

All input properties are implicitly available as output properties. Additionally, the StagePassword 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 StagePassword Resource

Get an existing StagePassword 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?: StagePasswordState, opts?: CustomResourceOptions): StagePassword
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        allow_show_password: Optional[bool] = None,
        backends: Optional[Sequence[str]] = None,
        configure_flow: Optional[str] = None,
        failed_attempts_before_cancel: Optional[float] = None,
        name: Optional[str] = None,
        stage_password_id: Optional[str] = None) -> StagePassword
func GetStagePassword(ctx *Context, name string, id IDInput, state *StagePasswordState, opts ...ResourceOption) (*StagePassword, error)
public static StagePassword Get(string name, Input<string> id, StagePasswordState? state, CustomResourceOptions? opts = null)
public static StagePassword get(String name, Output<String> id, StagePasswordState state, CustomResourceOptions options)
resources:  _:    type: authentik:StagePassword    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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:
AllowShowPassword bool
Defaults to false.
Backends List<string>
ConfigureFlow string
FailedAttemptsBeforeCancel double
Defaults to 5.
Name string
StagePasswordId string
The ID of this resource.
AllowShowPassword bool
Defaults to false.
Backends []string
ConfigureFlow string
FailedAttemptsBeforeCancel float64
Defaults to 5.
Name string
StagePasswordId string
The ID of this resource.
allowShowPassword Boolean
Defaults to false.
backends List<String>
configureFlow String
failedAttemptsBeforeCancel Double
Defaults to 5.
name String
stagePasswordId String
The ID of this resource.
allowShowPassword boolean
Defaults to false.
backends string[]
configureFlow string
failedAttemptsBeforeCancel number
Defaults to 5.
name string
stagePasswordId string
The ID of this resource.
allow_show_password bool
Defaults to false.
backends Sequence[str]
configure_flow str
failed_attempts_before_cancel float
Defaults to 5.
name str
stage_password_id str
The ID of this resource.
allowShowPassword Boolean
Defaults to false.
backends List<String>
configureFlow String
failedAttemptsBeforeCancel Number
Defaults to 5.
name String
stagePasswordId 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.