joinserver

package
v0.0.0-...-5c79d48 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 15, 2024 License: AGPL-3.0 Imports: 13 Imported by: 0

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

NewJoinServiceGRPCServer returns a new JoinServiceGRPCServer.

func (*JoinServiceGRPCServer) RegisterUsingAzureMethod

RegisterUsingAzureMethod allows nodes and proxies to join the cluster using the Azure 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 attested data document with the challenge string. Finally, the signed cluster certs are sent on the server stream.

func (*JoinServiceGRPCServer) RegisterUsingIAMMethod

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL