Nitride
HomeDocumentationTutorials
  • Nitride
  • Documentation
    • What is Nitride?
    • Use Cases
    • Setup
      • Install Nitride
      • Configure
    • Get Started
      • Attesting a MariaDB database with Cloud-Init
    • Concepts
      • Attestation
        • AMD SEV PKI
        • Intel TDX PKI
      • enclaivelet
    • Supported Technologies
  • Tutorials
    • Create identities and policies
    • Attesting a buckypaper VM
  • Developers
    • API
      • Overview
      • Identities
      • Policies
      • Totp
      • Attestations
      • Logs
      • Config
      • Annotations
  • CLI
    • Enable Auth
    • Register Identities
    • Create Policy
    • Create Attestation
    • Enable Namespacing
  • Resources
    • Blog
    • GitHub
    • Youtube
    • CCx101
Powered by GitBook
On this page

Was this helpful?

  1. Developers
  2. API

Totp

Last updated 7 months ago

Was this helpful?

  • PUTCreate totp
  • DELETEDelete totp

Delete totp

delete
Path parameters
uuidstringRequired

Identifier for the totp and the token itself, generated by the plugin

Responses
200
OK
delete
DELETE /v1/auth/ratls/totp/{uuid} HTTP/1.1
Host: 
Accept: */*
200

OK

No content

Create totp

put
Body
createdinteger · int64Required

Creation timestamp, set by the plugin

expirationinteger · int64Required

Expiration timestamp

policystringRequired

Name of the policy to allow updates for

uuidstringRequired

Identifier for the totp and the token itself, generated by the plugin

Responses
200
OK
application/json
put
PUT /v1/auth/ratls/totp HTTP/1.1
Host: 
Content-Type: application/json
Accept: */*
Content-Length: 58

{
  "created": 1,
  "expiration": 1,
  "policy": "text",
  "uuid": "text"
}
200

OK

{
  "auth": {},
  "data": {
    "created": 1,
    "expiration": 1,
    "policy": "text",
    "uuid": "text"
  }
}