TOTP

Time based one time passwords, TOTP. See RFC 6238

Create a new totp

SecurityaccessToken
Request
query Parameters
validate
string <enumeration>

Validate the request but do not actually perform the requested operation

Value: "true"
Request Body schema:
One of:
digits
integer <uint16>
Default: 6

Number of digits to enter as passcode.

algorithm
string <digest-type>
Default: "sha1"
  • sha1
  • sha224
  • sha256
  • sha384
  • sha512 Digest types, sha1 should be avoided.
key-size
integer <uint16>

Size of secret key. Default depends on algorithm

sha1: 20 sha224: 32 sha256: 32 sha384: 64 sha512: 64

period
string <duration>
Default: "30s"

A duration in years, days, hours, minutes and seconds.

Format is [<digits>y][<digits>d][<digits>m][<digits>s].

Examples: 1y2d5h, 5h or 10m30s

Re-generation period.

issuer
string
Default: "unknown"

The issuer parameter is a string value indicating the provider or service this account is associated with, URL-encoded according to RFC 3986. If the issuer parameter is absent it will default to unknown. The string may not contain colon.

account-name
string
Default: "unknown"

A unique name associated with the account. Typically the users email address is used. The string may not contain colon. The only purpose of this string is to help the end user associate the instance with the usage.

skew
integer <uint16>
Default: 1

Number of periods before and after that are considered valid, ie a skew of 1 allows codes that were valid one period before and are valid one period after to be valid for the current period. This allows for some clock skew.

passcode32
string
name
string <name>
Responses
201

Created

400

Bad Request

401

Unauthorized

403

Forbidden

404

Not Found

409

Conflict (instance exists)

503

Service Unavailable (strongbox sealed)

post/v1/config/strongbox/totp
Request samples
name: admin
digits: 6
algorithm: sha1
key-size: 20
period: 30s
issuer: telco.com
account-name: admin@telco.com
skew: 1
passcode32: 34XVZAVKQ7PRBE3KJQWHYKC3EAT75I2X

Retrieve the configuration of all totps

SecurityaccessToken
Request
query Parameters
fields
string

Retrieve only requested fields from the resource

See section fields

validate
string <enumeration>

Validate the request but do not actually perform the requested operation

Value: "true"
keys
string <enumeration>

Retrieve only the keys for the list

Value: "true"
count
string <enumeration>

Retrieve only the number of elements in the list

Value: "true"
Responses
200

OK

400

Bad Request

401

Unauthorized

403

Forbidden

404

Not Found

412

Precondition Failed

503

Service Unavailable (strongbox sealed)

get/v1/config/strongbox/totp
Response samples
- name: admin
  digits: 6
  algorithm: sha1
  key-size: 20
  period: 30s
  issuer: telco.com
  account-name: admin@telco.com
  skew: 1
  passcode32: 34XVZAVKQ7PRBE3KJQWHYKC3EAT75I2X
  

Update a totp

SecurityaccessToken
Request
path Parameters
totp-name
required
string <name>

name of totp

query Parameters
validate
string <enumeration>

Validate the request but do not actually perform the requested operation

Value: "true"
Request Body schema:
One of:
digits
integer <uint16>
Default: 6

Number of digits to enter as passcode.

algorithm
string <digest-type>
Default: "sha1"
  • sha1
  • sha224
  • sha256
  • sha384
  • sha512 Digest types, sha1 should be avoided.
key-size
integer <uint16>

Size of secret key. Default depends on algorithm

sha1: 20 sha224: 32 sha256: 32 sha384: 64 sha512: 64

period
string <duration>
Default: "30s"

A duration in years, days, hours, minutes and seconds.

Format is [<digits>y][<digits>d][<digits>m][<digits>s].

Examples: 1y2d5h, 5h or 10m30s

Re-generation period.

issuer
string
Default: "unknown"

The issuer parameter is a string value indicating the provider or service this account is associated with, URL-encoded according to RFC 3986. If the issuer parameter is absent it will default to unknown. The string may not contain colon.

account-name
string
Default: "unknown"

A unique name associated with the account. Typically the users email address is used. The string may not contain colon. The only purpose of this string is to help the end user associate the instance with the usage.

skew
integer <uint16>
Default: 1

Number of periods before and after that are considered valid, ie a skew of 1 allows codes that were valid one period before and are valid one period after to be valid for the current period. This allows for some clock skew.

passcode32
string
name
string <name>
Responses
204

No Content

400

Bad Request

401

Unauthorized

403

Forbidden

404

Not Found

412

Precondition Failed

503

Service Unavailable (strongbox sealed)

patch/v1/config/strongbox/totp/{totp-name}
Request samples
name: admin
digits: 6
algorithm: sha1
key-size: 20
period: 30s
issuer: telco.com
account-name: admin@telco.com
skew: 1
passcode32: 34XVZAVKQ7PRBE3KJQWHYKC3EAT75I2X

Delete a totp

SecurityaccessToken
Request
path Parameters
totp-name
required
string <name>

name of totp

query Parameters
validate
string <enumeration>

Validate the request but do not actually perform the requested operation

Value: "true"
Responses
204

No Content

400

Bad Request

401

Unauthorized

403

Forbidden

404

Not Found

412

Precondition Failed

503

Service Unavailable (strongbox sealed)

delete/v1/config/strongbox/totp/{totp-name}

Replace or create a new totp

SecurityaccessToken
Request
path Parameters
totp-name
required
string <name>

name of totp

query Parameters
validate
string <enumeration>

Validate the request but do not actually perform the requested operation

Value: "true"
Request Body schema:
One of:
digits
integer <uint16>
Default: 6

Number of digits to enter as passcode.

algorithm
string <digest-type>
Default: "sha1"
  • sha1
  • sha224
  • sha256
  • sha384
  • sha512 Digest types, sha1 should be avoided.
key-size
integer <uint16>

Size of secret key. Default depends on algorithm

sha1: 20 sha224: 32 sha256: 32 sha384: 64 sha512: 64

period
string <duration>
Default: "30s"

A duration in years, days, hours, minutes and seconds.

Format is [<digits>y][<digits>d][<digits>m][<digits>s].

Examples: 1y2d5h, 5h or 10m30s

Re-generation period.

issuer
string
Default: "unknown"

The issuer parameter is a string value indicating the provider or service this account is associated with, URL-encoded according to RFC 3986. If the issuer parameter is absent it will default to unknown. The string may not contain colon.

account-name
string
Default: "unknown"

A unique name associated with the account. Typically the users email address is used. The string may not contain colon. The only purpose of this string is to help the end user associate the instance with the usage.

skew
integer <uint16>
Default: 1

Number of periods before and after that are considered valid, ie a skew of 1 allows codes that were valid one period before and are valid one period after to be valid for the current period. This allows for some clock skew.

passcode32
string
name
string <name>
Responses
201

Created

204

No Content

400

Bad Request

401

Unauthorized

403

Forbidden

404

Not Found

412

Precondition Failed

503

Service Unavailable (strongbox sealed)

put/v1/config/strongbox/totp/{totp-name}
Request samples
name: admin
digits: 6
algorithm: sha1
key-size: 20
period: 30s
issuer: telco.com
account-name: admin@telco.com
skew: 1
passcode32: 34XVZAVKQ7PRBE3KJQWHYKC3EAT75I2X

Retrieve the configuration of a totp

SecurityaccessToken
Request
path Parameters
totp-name
required
string <name>

name of totp

query Parameters
fields
string

Retrieve only requested fields from the resource

See section fields

validate
string <enumeration>

Validate the request but do not actually perform the requested operation

Value: "true"
Responses
200

OK

400

Bad Request

401

Unauthorized

403

Forbidden

404

Not Found

412

Precondition Failed

503

Service Unavailable (strongbox sealed)

get/v1/config/strongbox/totp/{totp-name}
Response samples
name: admin
digits: 6
algorithm: sha1
key-size: 20
period: 30s
issuer: telco.com
account-name: admin@telco.com
skew: 1
passcode32: 34XVZAVKQ7PRBE3KJQWHYKC3EAT75I2X

Retrieve the state of all totps

SecurityaccessToken
Request
query Parameters
fields
string

Retrieve only requested fields from the resource

See section fields

site
string

Send the request to the specfifed site

content
string <enumeration>

Filter descendant nodes in the response

Enum: "config" "nonconfig"
keys
string <enumeration>

Retrieve only the keys for the list

Value: "true"
count
string <enumeration>

Retrieve only the number of elements in the list

Value: "true"
Responses
200

OK

400

Bad Request

401

Unauthorized

403

Forbidden

404

Not Found

503

Service Unavailable (strongbox sealed)

get/v1/state/strongbox/totp
Response samples
- name: admin
  digits: 6
  algorithm: sha1
  key-size: 20
  period: 30s
  issuer: telco.com
  account-name: admin@telco.com
  skew: 1
  passcode32: 34XVZAVKQ7PRBE3KJQWHYKC3EAT75I2X
  url: otpauth://totp/Sbox:admin@telco.com?secret=34XVZAVKQ7PRBE3KJQWHYKC3EAT75I2X&issuer=telco.com
  creation-time: 2022-01-13T07:48:38.327935Z
  

Retrieve the state of a totp

SecurityaccessToken
Request
path Parameters
totp-name
required
string <name>

name of totp

query Parameters
fields
string

Retrieve only requested fields from the resource

See section fields

site
string

Send the request to the specfifed site

content
string <enumeration>

Filter descendant nodes in the response

Enum: "config" "nonconfig"
Responses
200

OK

400

Bad Request

401

Unauthorized

403

Forbidden

404

Not Found

503

Service Unavailable (strongbox sealed)

get/v1/state/strongbox/totp/{totp-name}
Response samples
name: admin
digits: 6
algorithm: sha1
key-size: 20
period: 30s
issuer: telco.com
account-name: admin@telco.com
skew: 1
passcode32: 34XVZAVKQ7PRBE3KJQWHYKC3EAT75I2X
url: otpauth://totp/Sbox:admin@telco.com?secret=34XVZAVKQ7PRBE3KJQWHYKC3EAT75I2X&issuer=telco.com
creation-time: 2022-01-13T07:48:38.327935Z

Invoke the get-code operation

Generate a valid TOTP code.

SecurityaccessToken
Request
path Parameters
totp-name
required
string <name>

name of totp

Responses
200

OK

400

Bad Request

401

Unauthorized

403

Forbidden

404

Not Found

503

Service Unavailable (strongbox sealed)

post/v1/state/strongbox/totp/{totp-name}/get-code
Response samples
code: "677442"

Invoke the get-qr-code operation

Return base64 encoded QR-code in PNG format.

SecurityaccessToken
Request
path Parameters
totp-name
required
string <name>

name of totp

Responses
200

OK

400

Bad Request

401

Unauthorized

403

Forbidden

404

Not Found

503

Service Unavailable (strongbox sealed)

post/v1/state/strongbox/totp/{totp-name}/get-qr-code
Response samples
qr-code: iVBORw0KGgoAAAANSUhEUgAAAYgAAAGICAIAAADUIeBxAAAc90lEQVR4nO2aQbLr2q4j3/wn/atx3LhREbIEKSGQ3sg2AwCxZLb8v/8rpZRh/C8doJRS/n96mEop4+hhKqWMo4eplDKOHqZSyjh6mEop4+hhKqWMo4eplDKOHqZSyjh6mEop4+hhKqWMo4eplDKOHqZSyjh6mEop4+hhKqWMo4eplDKOHqZSyjh6mEop4+hhKqWMo4eplDKOHqZSyjh6mEop4+hhKqWMo4eplDKOHqZSyjh6mEop4+hhKqWMo4eplDKOHqZSyjh6mEop4+hhKqWMw36Y/reEVA9uHbdvqk8VNT+1LzU/Dc8r/acHu8ESUj24ddy+qT5V1PzUvtT8NDyv9J8e7AZLSPXg1nH7pvpUUfNT+1Lz0/C80n96sBssIdWDW8ftm+pTRc1P7UvNT8PzSv/pwW6whFQPbh23b6pPFTU/tS81Pw3PK/2nB7vBElI9uHXcvqk+VdT81L7U/DQ8r/SfHuwGS0j14NZx+6b6VFHzU/tS89PwvNJ/erAbLCHVg1vH7ZvqU0XNT+1LzU/D80r/6cFuEFrMnUfVoeZTvql5iutNfofypebdpPL0MA394I7mU76peYrrTX6H8qXm3aTy9DAN/eCO5lO+qXmK601+h/Kl5t2k8vQwDf3gjuZTvql5iutNfofypebdpPL0MA394I7mU76peYrrTX6H8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s4Uepps87SWdh9Kflmfavu78qs4Wephu8rSXdB5Kf1qeafu686s6W+hhusnTXtJ5KP1peabt686v6myhh+kmT3tJ56H0p+WZtq87v6qzhXGHKeU77YNz66s6bt9Un27fafu696IY94GmfN3zqo5bX9Vx+6b6dPtO29e9F8W4DzTl655Xddz6qo7bN9Wn23favu69KMZ9oClf97yq49ZXddy+qT7dvtP2de9FMe4DTfm651Udt76q4/ZN9en2nbavey+KcR9oytc9r+q49VUdt2+qT7fvtH3de1GM+0BTvu55Vcetr+q4fVN9un2n7evei2LcB5rydc+rOm59Vcftm+rT7TttX/deFOs/UPVhVLb4UjmPdFSebX8/j3svKo8bNc+bnVyhh+mELb5UziMdlWfb38/j3ovK40bN82YnV+hhOmGLL5XzSEfl2fb387j3ovK4UfO82ckVephO2OJL5TzSUXm2/f087r2oPG7UPG92coUephO2+FI5j3RUnm1/P497LyqPGzXPm51coYfphC2+VM4jHZVn29/P496LyuNGzfNmJ1foYTphiy+V80hH5dn29/O496LyuFHzvNnJFXqYTtjiS+U80lF5tv39PO69qDxu1DxvdnKFcYGmQT389g+L8k31M41nr3G+7xb9Q1+3wXbUh3n6wd7V92zP+6b6mcaz1zjfd4v+oa/bYDvqwzz9YO/qe7bnfVP9TOPZa5zvu0X/0NdtsB31YZ5+sHf1Pdvzvql+pvHsNc733aJ/6Os22I76ME8/2Lv6nu1531Q/03j2Guf7btE/9HUbbEd9mKcf7F19z/a8b6qfaTx7jfN9t+gf+roNtqM+zNMP9q6+Z3veN9XPNJ69xvm+W/QPfd0G21Ef5ukHe1ffsz3vm+pnGs9e43zfLfqHvnaDJbh7oPpJ6bj3dedR+3H7bplP0cP0wd0D1U9Kx72vO4/aj9t3y3yKHqYP7h6oflI67n3dedR+3L5b5lP0MH1w90D1k9Jx7+vOo/bj9t0yn6KH6YO7B6qflI57X3cetR+375b5FD1MH9w9UP2kdNz7uvOo/bh9t8yn6GH64O6B6iel497XnUftx+27ZT5FD9MHdw9UPykd977uPGo/bt8t8yn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UXVUfbcvhftdqH7cfao53fQwfaDyU/2486g6qr7bl8L9LlQ/7j7VnG56mD5Q+al+3HlUHVXf7UvhfheqH3efak43PUwfqPxUP+48qo6q7/alcL8L1Y+7TzWnmx6mD1R+qh93HlVH1Xf7UrjfherH3aea000P0wcqP9WPO4+qo+q7fSnc70L14+5Tzemmh+kDlZ/qx51H1VH13b4U7neh+nH3qeZ008P0gcpP9ePOo+qo+m5fCve7UP24+1RzuhkXqJRSephKKePoYSqljKOHqZQyjh6mUso4ephKKePoYSqljKOHqZQyjh6mUso4ephKKePoYSqljKOHqZQyjh6mUso4ephKKePoYSqljKOHqZQyjh6mUso4ephKKePoYSqljKOHqZQyjh6mUso4ephKKePoYSqljKOHqZQyjh6mUso4ephKKePoYSqljKOHqZQyjh6mUso4ephKKePoYSqljKOHqZQyjv8H01ebrCT9jN0AAAAASUVORK5CYII=
url: otpauth://totp/Sbox:admin@telco.com?secret=34XVZAVKQ7PRBE3KJQWHYKC3EAT75I2X&issuer=telco.com

Invoke the verify-code operation

Verify a code against TOTP specification.

SecurityaccessToken
Request
path Parameters
totp-name
required
string <name>

name of totp

Request Body schema:
code
required
string
Responses
200

OK

400

Bad Request

401

Unauthorized

403

Forbidden

404

Not Found

503

Service Unavailable (strongbox sealed)

post/v1/state/strongbox/totp/{totp-name}/verify-code
Request samples
code: "677442"
Response samples
valid: true