keychainAdmin
The keychainAdmin router: 13 methods of the keychain-admin capability, with tier, scope, input and output.
Capability keychain-admin · scope system · mode singleton · source packages/types/src/capabilities/keychain-admin.cap.ts:158.
Every method is called at /trpc/keychainAdmin.<method> — queries with GET, mutations with POST. See How to call and Authorization.
| Method | Kind | Tier | Token scope | Viewer |
|---|---|---|---|---|
status | query | admin | admin only | no |
listSecrets | query | admin | admin only | no |
listAudit | query | admin | admin only | no |
reveal | mutation | admin | admin only | no |
setSystemSecret | mutation | admin | admin only | no |
importSecret | mutation | admin | admin only | no |
deleteOrphans | mutation | admin | admin only | no |
rotateMasterKey | mutation | admin | admin only | no |
purgeRetiredKeys | mutation | admin | admin only | no |
downloadRecoveryKey | mutation | admin | admin only | no |
resetKeychain | mutation | admin | admin only | no |
resetReport | query | admin | admin only | no |
acknowledgeReset | mutation | admin | admin only | no |
keychainAdmin.status
- Kind: query —
GET /trpc/keychainAdmin.status - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=keychainAdmin.statuson your hub
Input
{}Output
KeychainStatusSchemaShapes: KeychainStatusSchema
keychainAdmin.listSecrets
- Kind: query —
GET /trpc/keychainAdmin.listSecrets - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=keychainAdmin.listSecretson your hub
Input
{}Output
KeychainAdminSecretSchema[]Shapes: KeychainAdminSecretSchema
keychainAdmin.listAudit
- Kind: query —
GET /trpc/keychainAdmin.listAudit - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=keychainAdmin.listAuditon your hub
Input
{ limit?: number }Output
KeychainAuditEntrySchema[]Shapes: KeychainAuditEntrySchema
keychainAdmin.reveal
- Kind: mutation —
POST /trpc/keychainAdmin.reveal - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=keychainAdmin.revealon your hub
Input
{ ref: string }Output
{ value: string; version: number }keychainAdmin.setSystemSecret
- Kind: mutation —
POST /trpc/keychainAdmin.setSystemSecret - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=keychainAdmin.setSystemSecreton your hub
Input
{ name: SystemHeldSecretNameSchema; value: string }Output
{ ref: string; version: number }Shapes: SystemHeldSecretNameSchema
keychainAdmin.importSecret
- Kind: mutation —
POST /trpc/keychainAdmin.importSecret - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=keychainAdmin.importSecreton your hub
Input
{ ref: string; value: string }Output
{ ref: string; version: number }keychainAdmin.deleteOrphans
- Kind: mutation —
POST /trpc/keychainAdmin.deleteOrphans - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=keychainAdmin.deleteOrphanson your hub
Input
{ refs: string[] }Output
{ deleted: string[]; kept: ({ ref: string; usage: KeychainSecretUsageSchema })[] }Shapes: KeychainSecretUsageSchema
keychainAdmin.rotateMasterKey
- Kind: mutation —
POST /trpc/keychainAdmin.rotateMasterKey - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=keychainAdmin.rotateMasterKeyon your hub
Input
{}Output
{ fingerprint: string; keySource: KeychainKeySourceSchema }Shapes: KeychainKeySourceSchema
keychainAdmin.purgeRetiredKeys
- Kind: mutation —
POST /trpc/keychainAdmin.purgeRetiredKeys - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=keychainAdmin.purgeRetiredKeyson your hub
Input
{}Output
{ purged: number }keychainAdmin.downloadRecoveryKey
- Kind: mutation —
POST /trpc/keychainAdmin.downloadRecoveryKey - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=keychainAdmin.downloadRecoveryKeyon your hub
Input
{}Output
{ key: string; fingerprint: string; keySource: KeychainKeySourceSchema }Shapes: KeychainKeySourceSchema
keychainAdmin.resetKeychain
- Kind: mutation —
POST /trpc/keychainAdmin.resetKeychain - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=keychainAdmin.resetKeychainon your hub
Input
{ confirm: "RESET KEYCHAIN" }Output
{ archivedCollection: string | null; archived: number }keychainAdmin.resetReport
- Kind: query —
GET /trpc/keychainAdmin.resetReport - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=keychainAdmin.resetReporton your hub
Input
{}Output
{ reset: KeychainResetRecordSchema | null; pendingReentry: KeychainSecretMetaSchema[] }Shapes: KeychainResetRecordSchema · KeychainSecretMetaSchema
keychainAdmin.acknowledgeReset
- Kind: mutation —
POST /trpc/keychainAdmin.acknowledgeReset - Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
- Token scope: none — the admin tier needs an administrator (a
*token or an admin session) - Viewer: no
- Try it: open
/system/api-explorer?method=keychainAdmin.acknowledgeReseton your hub
Input
{}Output
{ acknowledged: boolean }