Variable namedTruststoresAction
namedTruststoresAction: (
body: AdminActionBody<"/admin-api/truststores">,
context: any,
) => Promise<any> = ...
Type Declaration
-
- (body: AdminActionBody<"/admin-api/truststores">, context: any): Promise<any>
-
Parameters
- body: AdminActionBody<"/admin-api/truststores">
- context: any
Returns Promise<any>
a promise of the answer
Answers
/admin-api/truststores/:action(#2118 phase 4): named truststores and the use cases assigned them, on Protocols → PKI trust's Truststores and Use cases tabs. Every refusal carries the engine's own STS-PKI-03xx code (common/truststores.ts), recorded and never sent: the answer is{ ok: false, errors }. Every write is an audit row naming truststores, use cases and fingerprints, never certificate text.A SERVICE-WIDE USE CASE IS ASSIGNED FROM THE DEFAULT REALM ONLY. The engine writes such an assignment in the default realm whichever realm is ambient, because a handshake or an outbound dial has no realm in hand (D2); a realm's own administrator is confined to the realm (#32), so this layer refuses the write rather than let one realm change what every other realm's dials trust.