@@ -5,7 +5,7 @@ online version:
55schema : 2.0.0
66---
77
8- # Set-YubikeyOTP
8+ # Set-YubiKeyOTP
99
1010## SYNOPSIS
1111Configure OTP slots
@@ -14,28 +14,34 @@ Configure OTP slots
1414
1515### Yubico OTP
1616```
17- Set-YubikeyOTP -Slot <Slot> [-YubicoOTP] [-PublicID <Byte[]>] [-PrivateID <Byte[]>] [-SecretKey <Byte[]>]
17+ Set-YubiKeyOTP -Slot <Slot> [-YubicoOTP] [-PublicID <Byte[]>] [-PrivateID <Byte[]>] [-SecretKey <Byte[]>]
1818 [-Upload] [-WhatIf] [-Confirm] [<CommonParameters>]
1919```
2020
2121### Static Password
2222```
23- Set-YubikeyOTP -Slot <Slot> [-StaticPassword] -Password <SecureString> [-KeyboardLayout <KeyboardLayout>]
23+ Set-YubiKeyOTP -Slot <Slot> [-StaticPassword] -Password <SecureString> [-KeyboardLayout <KeyboardLayout>]
2424 [-AppendCarriageReturn] [-WhatIf] [-Confirm] [<CommonParameters>]
2525```
2626
2727### Static Generated Password
2828```
29- Set-YubikeyOTP -Slot <Slot> [-StaticGeneratedPassword] -PasswordLength <Int32>
29+ Set-YubiKeyOTP -Slot <Slot> [-StaticGeneratedPassword] -PasswordLength <Int32>
3030 [-KeyboardLayout <KeyboardLayout>] [-AppendCarriageReturn] [-WhatIf] [-Confirm] [<CommonParameters>]
3131```
3232
3333### ChallengeResponse
3434```
35- Set-YubikeyOTP -Slot <Slot> [-ChallengeResponse] [-SecretKey <Byte[]>]
35+ Set-YubiKeyOTP -Slot <Slot> [-ChallengeResponse] [-SecretKey <Byte[]>]
3636 [-Algorithm <ChallengeResponseAlgorithm>] [-RequireTouch] [-WhatIf] [-Confirm] [<CommonParameters>]
3737```
3838
39+ ### HOTP
40+ ```
41+ Set-YubiKeyOTP -Slot <Slot> [-SecretKey <Byte[]>] [-AppendCarriageReturn] [-HOTP] [-Base32Secret <String>]
42+ [-WhatIf] [-Confirm] [<CommonParameters>]
43+ ```
44+
3945## DESCRIPTION
4046Allows the configuration of the YubiKey OTP slots (2). The YubiKey OTP slots can be configured with:
4147
@@ -105,7 +111,22 @@ field and "pressing Enter" on behalf of the user.
105111
106112` ` ` yaml
107113Type : SwitchParameter
108- Parameter Sets : Static Password, Static Generated Password
114+ Parameter Sets : Static Password, Static Generated Password, HOTP
115+ Aliases :
116+
117+ Required : False
118+ Position : Named
119+ Default value : None
120+ Accept pipeline input : False
121+ Accept wildcard characters : False
122+ ` ` `
123+
124+ ### -Base32Secret
125+ Base32 encoded secret key for HOTP
126+
127+ ` ` ` yaml
128+ Type : String
129+ Parameter Sets : HOTP
109130Aliases :
110131
111132Required : False
@@ -130,6 +151,21 @@ Accept pipeline input: False
130151Accept wildcard characters : False
131152` ` `
132153
154+ ### -HOTP
155+ Allows configuration of HOTP mode
156+
157+ ` ` ` yaml
158+ Type : SwitchParameter
159+ Parameter Sets : HOTP
160+ Aliases :
161+
162+ Required : False
163+ Position : Named
164+ Default value : None
165+ Accept pipeline input : False
166+ Accept wildcard characters : False
167+ ` ` `
168+
133169### -KeyboardLayout
134170Keyboard layout to be used.
135171
@@ -226,7 +262,7 @@ Sets the Secret Key, defaults to random 16 bytes.
226262
227263` ` ` yaml
228264Type : Byte[]
229- Parameter Sets : Yubico OTP, ChallengeResponse
265+ Parameter Sets : Yubico OTP, ChallengeResponse, HOTP
230266Aliases :
231267
232268Required : False
0 commit comments