Annotations
Was this helpful?
Was this helpful?
Retrieves detailed information about a specific annotation
Unique attestation value identifier
GET /v1/auth/ratls/annotations/{key} HTTP/1.1
Host: localhost:8200
Accept: */*
{
"auth": {},
"data": {
"created": 1,
"key": "text",
"value": "text"
}
}
Removes a specific annotation from the system
Unique attestation value identifier
DELETE /v1/auth/ratls/annotations/{key} HTTP/1.1
Host: localhost:8200
Accept: */*
Annotation deleted successfully
{
"request_id": "text",
"lease_id": "text",
"renewable": true,
"lease_duration": 1,
"data": {},
"wrap_info": null,
"warnings": null,
"auth": null
}
Retrieves a list of all available annotations in the system
Must be set to 'true' to retrieve the list
GET /v1/auth/ratls/annotations/ HTTP/1.1
Host: localhost:8200
Accept: */*
List of annotations retrieved successfully
{
"request_id": "text",
"lease_id": "text",
"renewable": true,
"lease_duration": 1,
"data": {
"keys": [
"text"
]
},
"wrap_info": null,
"warnings": null,
"auth": null
}
Creates a new annotation for an attestation value with a human-readable description
Creation timestamp, set by the plugin
Attestation value to annotate
Human-readable description for the attestation value
PUT /v1/auth/ratls/annotations HTTP/1.1
Host: localhost:8200
Content-Type: application/json
Accept: */*
Content-Length: 41
{
"created": 1,
"key": "text",
"value": "text"
}
{
"auth": {},
"data": {
"created": 1,
"key": "text",
"value": "text"
}
}