Documentation ¶
Overview ¶
Package joinserver contains the implementation of the JoinService gRPC server which runs on both Auth and Proxy.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JoinServiceGRPCServer ¶
type JoinServiceGRPCServer struct {
// contains filtered or unexported fields
}
JoinServiceGRPCServer implements proto.JoinServiceServer and is designed to run on both the Teleport Proxy and Auth servers.
func NewJoinServiceGRPCServer ¶
func NewJoinServiceGRPCServer(joinServiceClient joinServiceClient) *JoinServiceGRPCServer
NewJoinGRPCServer returns a new JoinServiceGRPCServer.
func (*JoinServiceGRPCServer) RegisterUsingIAMMethod ¶
func (s *JoinServiceGRPCServer) RegisterUsingIAMMethod(srv proto.JoinService_RegisterUsingIAMMethodServer) error
RegisterUsingIAMMethod allows nodes and proxies to join the cluster using the IAM join method.
The server will generate a base64-encoded crypto-random challenge and send it on the server stream. The caller is expected to respond on the client stream with a RegisterUsingTokenRequest including a signed sts:GetCallerIdentity request with the challenge string. Finally, the signed cluster certs are sent on the server stream.