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

authentik.StageAuthenticatorTotp

Explore with Pulumi AI

Example Usage

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

const name = new authentik.StageAuthenticatorTotp("name", {});
Copy
import pulumi
import pulumi_authentik as authentik

name = authentik.StageAuthenticatorTotp("name")
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.NewStageAuthenticatorTotp(ctx, "name", nil)
		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 name = new Authentik.StageAuthenticatorTotp("name");

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.authentik.StageAuthenticatorTotp;
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 name = new StageAuthenticatorTotp("name");

    }
}
Copy
resources:
  name:
    type: authentik:StageAuthenticatorTotp
Copy

Create StageAuthenticatorTotp Resource

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

Constructor syntax

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

@overload
def StageAuthenticatorTotp(resource_name: str,
                           opts: Optional[ResourceOptions] = None,
                           configure_flow: Optional[str] = None,
                           digits: Optional[str] = None,
                           friendly_name: Optional[str] = None,
                           name: Optional[str] = None,
                           stage_authenticator_totp_id: Optional[str] = None)
func NewStageAuthenticatorTotp(ctx *Context, name string, args *StageAuthenticatorTotpArgs, opts ...ResourceOption) (*StageAuthenticatorTotp, error)
public StageAuthenticatorTotp(string name, StageAuthenticatorTotpArgs? args = null, CustomResourceOptions? opts = null)
public StageAuthenticatorTotp(String name, StageAuthenticatorTotpArgs args)
public StageAuthenticatorTotp(String name, StageAuthenticatorTotpArgs args, CustomResourceOptions options)
type: authentik:StageAuthenticatorTotp
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 StageAuthenticatorTotpArgs
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 StageAuthenticatorTotpArgs
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 StageAuthenticatorTotpArgs
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 StageAuthenticatorTotpArgs
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. StageAuthenticatorTotpArgs
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 stageAuthenticatorTotpResource = new Authentik.StageAuthenticatorTotp("stageAuthenticatorTotpResource", new()
{
    ConfigureFlow = "string",
    Digits = "string",
    FriendlyName = "string",
    Name = "string",
    StageAuthenticatorTotpId = "string",
});
Copy
example, err := authentik.NewStageAuthenticatorTotp(ctx, "stageAuthenticatorTotpResource", &authentik.StageAuthenticatorTotpArgs{
	ConfigureFlow:            pulumi.String("string"),
	Digits:                   pulumi.String("string"),
	FriendlyName:             pulumi.String("string"),
	Name:                     pulumi.String("string"),
	StageAuthenticatorTotpId: pulumi.String("string"),
})
Copy
var stageAuthenticatorTotpResource = new StageAuthenticatorTotp("stageAuthenticatorTotpResource", StageAuthenticatorTotpArgs.builder()
    .configureFlow("string")
    .digits("string")
    .friendlyName("string")
    .name("string")
    .stageAuthenticatorTotpId("string")
    .build());
Copy
stage_authenticator_totp_resource = authentik.StageAuthenticatorTotp("stageAuthenticatorTotpResource",
    configure_flow="string",
    digits="string",
    friendly_name="string",
    name="string",
    stage_authenticator_totp_id="string")
Copy
const stageAuthenticatorTotpResource = new authentik.StageAuthenticatorTotp("stageAuthenticatorTotpResource", {
    configureFlow: "string",
    digits: "string",
    friendlyName: "string",
    name: "string",
    stageAuthenticatorTotpId: "string",
});
Copy
type: authentik:StageAuthenticatorTotp
properties:
    configureFlow: string
    digits: string
    friendlyName: string
    name: string
    stageAuthenticatorTotpId: string
Copy

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

ConfigureFlow string
Digits string
Allowed values: - 6 - 8 Defaults to 6.
FriendlyName string
Name string
StageAuthenticatorTotpId string
ConfigureFlow string
Digits string
Allowed values: - 6 - 8 Defaults to 6.
FriendlyName string
Name string
StageAuthenticatorTotpId string
configureFlow String
digits String
Allowed values: - 6 - 8 Defaults to 6.
friendlyName String
name String
stageAuthenticatorTotpId String
configureFlow string
digits string
Allowed values: - 6 - 8 Defaults to 6.
friendlyName string
name string
stageAuthenticatorTotpId string
configure_flow str
digits str
Allowed values: - 6 - 8 Defaults to 6.
friendly_name str
name str
stage_authenticator_totp_id str
configureFlow String
digits String
Allowed values: - 6 - 8 Defaults to 6.
friendlyName String
name String
stageAuthenticatorTotpId String

Outputs

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

Get an existing StageAuthenticatorTotp 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?: StageAuthenticatorTotpState, opts?: CustomResourceOptions): StageAuthenticatorTotp
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        configure_flow: Optional[str] = None,
        digits: Optional[str] = None,
        friendly_name: Optional[str] = None,
        name: Optional[str] = None,
        stage_authenticator_totp_id: Optional[str] = None) -> StageAuthenticatorTotp
func GetStageAuthenticatorTotp(ctx *Context, name string, id IDInput, state *StageAuthenticatorTotpState, opts ...ResourceOption) (*StageAuthenticatorTotp, error)
public static StageAuthenticatorTotp Get(string name, Input<string> id, StageAuthenticatorTotpState? state, CustomResourceOptions? opts = null)
public static StageAuthenticatorTotp get(String name, Output<String> id, StageAuthenticatorTotpState state, CustomResourceOptions options)
resources:  _:    type: authentik:StageAuthenticatorTotp    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:
ConfigureFlow string
Digits string
Allowed values: - 6 - 8 Defaults to 6.
FriendlyName string
Name string
StageAuthenticatorTotpId string
ConfigureFlow string
Digits string
Allowed values: - 6 - 8 Defaults to 6.
FriendlyName string
Name string
StageAuthenticatorTotpId string
configureFlow String
digits String
Allowed values: - 6 - 8 Defaults to 6.
friendlyName String
name String
stageAuthenticatorTotpId String
configureFlow string
digits string
Allowed values: - 6 - 8 Defaults to 6.
friendlyName string
name string
stageAuthenticatorTotpId string
configure_flow str
digits str
Allowed values: - 6 - 8 Defaults to 6.
friendly_name str
name str
stage_authenticator_totp_id str
configureFlow String
digits String
Allowed values: - 6 - 8 Defaults to 6.
friendlyName String
name String
stageAuthenticatorTotpId String

Package Details

Repository
authentik goauthentik/terraform-provider-authentik
License
Notes
This Pulumi package is based on the authentik Terraform Provider.