Creates a new HOTP secret value.
New-SystoLockHotpSecret [-Count <UInt32>] [[-Size] <UInt32>] [<CommonParameters>]
The New-SystoLockHotpSecret
cmdlet creates a new HOTP secret value.
New-SystoLockHotpSecret
Creates a single secret with a default size of 20 bytes.
New-SystoLockHotpSecret -Size 32
Creates a single secret with a custom size of 32 bytes.
New-SystoLockHotpSecret -Size 64 -Count 10
Creates several secrets with a custom size of 64 bytes.
Specifies number of secrets to create (default: 1).
Type: UInt32
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: 1
Accept pipeline input: False
Accept wildcard characters: False
Specifies secret size in bytes (range: 16 - 64, default: 20).
Type: UInt32
Parameter Sets: (All)
Aliases:
Required: False
Position: 0
Default value: 20
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
This cmdlet does not accept any pipeline input.
Represents the token secret values.
Base32: secret value as base 32 string.
Base64: secret value as base 64 string.
HexDecimal: secret value as hexadecimal string.
Size: value size.
Encoding: value encoding.
Value: the value.