Calls SPIRE server `spire-server entry create`
Changed onCreate registration entries
post/api/v1/spire/entries
Request
- The document declares no server URL.
- Authnone declared
Request body
Example request
{
"entries": [
{
"id": "858da-34-50-b7-cacd98",
"spiffe_id": {
"path": "/ns/default",
"trust_domain": "example.org"
},
"parent_id": {
"path": "/ns/default",
"trust_domain": "example.org"
},
"selectors": [
{
"type": "k8s_psat",
"value": "agent_ns:spire"
}
],
"x509_svid_ttl": 12345,
"created_at": 1725556278,
"dns_names": [
"example1.org"
],
"expires_at": 12345,
"federates_with": [
"example1.org"
]
}
]
}Response
OK
Example response
{
"results": [
{
"status": {
"message": "OK"
},
"entry": {
"id": "858da-34-50-b7-cacd98",
"spiffe_id": {
"path": "/ns/default",
"trust_domain": "example.org"
},
"parent_id": {
"path": "/ns/default",
"trust_domain": "example.org"
},
"selectors": [
{
"type": "k8s_psat",
"value": "agent_ns:spire"
}
],
"x509_svid_ttl": 12345,
"created_at": 1725556278,
"dns_names": [
"example1.org"
],
"expires_at": 12345,
"federates_with": [
"example1.org"
]
}
}
]
}Changes
- breaking
the request's body type changed from no type to
object - warning
removed
subschema #2from the request bodyallOflist - warning
removed the optional property
//from the response with the status - warning
removed the optional property
//from the response with the status - info
added the new optional request property
- info
added
subschema #2to the/response propertyallOflist for the response status
- breaking
- breaking
added
subschema #2to the request bodyallOflist - breaking
the request's body type changed from
objectto no type - warning
removed the request property
- info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
removed
subschema #2from the/response propertyallOflist for the response status
- breaking