credentials

package module
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2024 License: MIT Imports: 1 Imported by: 0

README

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

Documentation

Overview

`grpc-go-xds-tls-credentials` is a Go library that provides a TLS credentials used for connecting to the xDS management server.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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