Documentation
¶
Overview ¶
Package ateletauth authenticates RPCs that arrive from an atelet, for the ateapi services served only to atelet.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Caller ¶
Caller is the verified identity of an atelet.
func Authenticate ¶
Authenticate verifies that the RPC arrived over mTLS from an atelet presenting ateletSPIFFEID, and returns the identity that atelet's certificate asserts.
The certificate chain is already verified by the TLS layer against the pod-identity CA (see buildServerCreds in cmd/ateapi/main.go), so the extensions read here are trustworthy: only the pod-identity signer can mint a certificate carrying a given pod's node name.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package ateletauthtest builds the peer contexts that the ateapi services served only to atelet authenticate against.
|
Package ateletauthtest builds the peer contexts that the ateapi services served only to atelet authenticate against. |
Click to show internal directories.
Click to hide internal directories.