Identities
Was this helpful?
Was this helpful?
Retrieves a list of identities filtered by type
Identity type (platform, firmware, workload, metadata)
Must be set to 'true' to retrieve the list
GET /v1/auth/ratls/identities/{type}/ HTTP/1.1
Host: localhost:8200
Accept: */*
Identity list retrieved successfully
{
"request_id": "text",
"lease_id": "text",
"renewable": true,
"lease_duration": 1,
"data": {
"keys": [
"text"
]
},
"wrap_info": null,
"warnings": null,
"auth": null
}
Retrieves a list of identities filtered by type and name
Identity type (platform, firmware, workload, metadata)
Identity name
Must be set to 'true' to retrieve the list
GET /v1/auth/ratls/identities/{type}/{name}/ HTTP/1.1
Host: localhost:8200
Accept: */*
Identity list retrieved successfully
{
"request_id": "text",
"lease_id": "text",
"renewable": true,
"lease_duration": 1,
"data": {
"keys": [
"text"
]
},
"wrap_info": null,
"warnings": null,
"auth": null
}
Retrieves detailed information about a specific identity
Identity type (platform, firmware, workload, metadata)
Identity name
Creation timestamp
GET /v1/auth/ratls/identities/{type}/{name}/{created} HTTP/1.1
Host: localhost:8200
Accept: */*
{
"auth": {},
"data": {
"created": 1,
"name": "text",
"type": "text",
"values": {}
}
}
Removes a specific identity record
Identity type (platform, firmware, workload, metadata)
Identity name
Creation timestamp
DELETE /v1/auth/ratls/identities/{type}/{name}/{created} HTTP/1.1
Host: localhost:8200
Accept: */*
No content
Retrieves a list of all identity records
Must be set to 'true' to retrieve the list
GET /v1/auth/ratls/identities/ HTTP/1.1
Host: localhost:8200
Accept: */*
Identity list 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 identity record
Creation timestamp, set by the plugin
Name of the identity
Type of the identity, available: platform, firmware, workload, metadata
Values for the identity
{}
PUT /v1/auth/ratls/identities HTTP/1.1
Host: localhost:8200
Content-Type: application/json
Accept: */*
Content-Length: 53
{
"created": 1,
"name": "text",
"type": "text",
"values": {}
}
{
"auth": {},
"data": {
"created": 1,
"name": "text",
"type": "text",
"values": {}
}
}