otptoken_add#
Add a new OTP token.
Arguments#
Name |
Type |
Required |
---|---|---|
ipatokenuniqueid |
False |
Options#
no_qrcode : Flag (Required)
Default: False
all : Flag (Required)
Default: False
raw : Flag (Required)
Default: False
no_members : Flag (Required)
Default: False
type : StrEnum
Default: totp
Values: (‘totp’, ‘hotp’, ‘TOTP’, ‘HOTP’)
description : Str
ipatokenowner : Str
ipatokendisabled : Bool
ipatokennotbefore : DateTime
ipatokennotafter : DateTime
ipatokenvendor : Str
ipatokenmodel : Str
ipatokenserial : Str
ipatokenotpkey : OTPTokenKey
ipatokenotpalgorithm : StrEnum
Default: sha1
Values: (‘sha1’, ‘sha256’, ‘sha384’, ‘sha512’)
ipatokenotpdigits : IntEnum
Default: 6
Values: (6, 8)
ipatokentotpclockoffset : Int
Default: 0
ipatokentotptimestep : Int
Default: 30
ipatokenhotpcounter : Int
Default: 0
setattr : Str
addattr : Str
qrcode : Flag
Default: False
version : Str
Output#
Name |
Type |
---|---|
result |
Entry |
summary |
Output |
value |
PrimaryKey |