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

Annotations

Last updated 3 months ago

Was this helpful?

Read annotation

get
Path parameters
keystringRequired

Attestation value to annotate

Responses
200
OK
application/json
get
GET /v1/auth/ratls/annotations/{key} HTTP/1.1
Host: 
Accept: */*
200

OK

{
  "auth": {},
  "data": {
    "created": 1,
    "key": "text",
    "value": "text"
  }
}

Delete annotation

delete
Path parameters
keystringRequired

Attestation value to annotate

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

OK

No content

  • GETList annotations
  • PUTCreate annotation
  • GETRead annotation
  • DELETEDelete annotation

List annotations

get
Query parameters
liststring · enumRequired

Must be set to true

Possible values:
Responses
200
OK
application/json
get
GET /v1/auth/ratls/annotations/?list=true HTTP/1.1
Host: 
Accept: */*
200

OK

{
  "auth": {},
  "data": {
    "keys": [
      {}
    ]
  }
}

Create annotation

put
Body
createdinteger · int64Required

Creation timestamp, set by the plugin

keystringRequired

Attestation value to annotate

valuestringRequired

Human-readable description for the attestation value

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

{
  "created": 1,
  "key": "text",
  "value": "text"
}
200

OK

{
  "auth": {},
  "data": {
    "created": 1,
    "key": "text",
    "value": "text"
  }
}