Skip to content

A Go library that provides TLS credentials used for connecting to the xDS management server.

License

Notifications You must be signed in to change notification settings

kauche/grpc-go-xds-tls-credentials

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

grpc-go-xds-tls-credentials

grpc-go-xds-tls-credentials is a Go library that provides a TLS credentials used for making a grpc-go client able to connect to a xDS control plane 🚀

Usage

Just import this package like below:

import _ "github.com/kauche/grpc-go-xds-tls-credentials"

This registers a new type of channel_creds named tls used for connecting to the xDS management server.

Then, make your grpc-go client use this tls channel_creds like below:

$ GRPC_XDS_BOOTSTRAP_CONFIG='{
  "xds_servers": [{
    "server_uri": "...",
    "channel_creds": [{"type": "tls"}],
    "server_features": ["xds_v3"]
  }],
  "node": {"id": "..."}
}' go run ./path/to/your/app

About

A Go library that provides TLS credentials used for connecting to the xDS management server.

Resources

License

Stars

Watchers

Forks

Languages