proto
proto
proto
The QuotaProvider gRPC contract, plus Secret/redact credential-safety types.
A hashicorp/go-plugin service (Describe + FetchQuota) with AutoMTLS so a credential never crosses the loopback socket in the clear, plus secret.Secret (a value that can’t accidentally print via %v, a wrapped error, or JSON) and shape-based redact text scrubbing as a second line of defense over raw text that isn’t already wrapped.
Highlights
quotapb.QuotaProviderServer:Describe(identity + login URL) andFetchQuota.- A credential is
map<string,string>(a whole cookie jar), not one opaque string. secret.Secret— the only way to read it back isSecret.Reveal(func(string)).redact— shape-based scrubbing for text that isn’t alreadySecret-wrapped.AutoMTLSon every plugin connection — nothing crosses the loopback socket in the clear.
Install
go get github.com/go-aiquota/protoRequires Go 1.26.4 or newer.
Links
- Source — https://github.com/go-aiquota/proto
- API reference — https://pkg.go.dev/github.com/go-aiquota/proto