Improve auth explain diagnostics
This commit is contained in:
parent
6f2fb53132
commit
ee80ff780c
7 changed files with 516 additions and 46 deletions
|
|
@ -314,6 +314,13 @@ use `ssh_cert.request`, `ssh_cert.read`, `ssh_cert.approve`, and
|
|||
use `ssh_revocation.publish`, `ssh_revocation.read`, and
|
||||
`ssh_revocation.import` on `resource:ssh:revocations`.
|
||||
|
||||
`geth auth explain <subject> <resource> <capability>` is the operator-facing
|
||||
debug path for those decisions. Human output includes the allow/deny result,
|
||||
the reason, evaluated auth-op count, and compact diagnostics. JSON output
|
||||
includes the same diagnostics so scripts can distinguish discovered-only peers,
|
||||
unknown subjects, missing or matched endpoint bindings, missing grants, revoked
|
||||
grants, and bearer-secret access without scraping prose.
|
||||
|
||||
## Local State
|
||||
|
||||
If `GETH_HOME` is set, geth uses it. Otherwise it uses an OS-specific data
|
||||
|
|
|
|||
Loading…
Reference in a new issue