Skip to content

Latest commit

 

History

History
59 lines (42 loc) · 1.16 KB

New-DuoTokenTotpSecret.md

File metadata and controls

59 lines (42 loc) · 1.16 KB
external help file Module Name online version schema
DuoSecurity-help.xml
DuoSecurity
2.0.0

New-DuoTokenTotpSecret

SYNOPSIS

Creates TOTP secret in Duo format

SYNTAX

New-DuoTokenTotpSecret [[-SecretLength] <Int32>] [<CommonParameters>]

DESCRIPTION

Creates both Base32 and Hex formatted secret keys for Duo token and TOTP app

EXAMPLES

EXAMPLE 1

New-DuoTokenTotpSecret

Base32 Hex


EMFJSRYQRRWYXX6ME5T3DYZH 230a9947108c6d8bdfcc2767b1e327

PARAMETERS

-SecretLength

Length of secret

Type: Int32
Parameter Sets: (All)
Aliases:

Required: False
Position: 1
Default value: 15
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

NOTES

RELATED LINKS