/golang-mutual-cf

This library provides a http-Client, which uses the Cloudfoundry Instance Identity Credentials for mutual TLS.

Primary LanguageGoMIT LicenseMIT

Golang Mutual CloudFoundry

Actions Status

This library provides a http-Client, which uses the Cloudfoundry Instance Identity Credentials for mutual TLS.

Usage

Like every other http.Client

client, err := mutual.GetClient()
if err != nil {
	t.Error(err)
}

res, err := client.Get(ts.URL)