Proxy key database
The pxAuth service is the proxy key authority: the record of which keys may do what on whose behalf. Connect with jnu.connect('pxAuth', keystore). One table is exposed.
proxyAuth
One row per granted operation. A key with several permissions has several rows, and nothing requires every row for a proxyAddress to point at the same authAddress. Readable by the owner, who can also delete rows; deleting the rows revokes the key.
Column |
Type |
Meaning |
|---|---|---|
|
|
The key itself, the address that signs requests. |
|
|
The identity the key acts for. This is the address the scheduler records as a job’s |
|
|
The user who granted the permission. |
|
|
The operation granted, for example |
|
|
Optional restriction. |
|
|
When the row stops working. |
|
|
Decrements per use; the row dies at zero. |
|
|
For bank operations, DCC the key may still spend. |
|
various |
Informational grouping and provenance, no authority. |
|
|
Captured when the row was created. |
The companion proxyAuthLog table, which keeps the signed messages that created these rows, isn’t exposed.
Note
Reading this table with a proxy key requires pxAuth.jnu.proxyAuth.query. The Portal’s standard key purposes don’t include it, so in practice this table is read from a Portal login session, not from an API key.