Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var UserAgent = "step-attestation-http-client/1.0"
UserAgent is the value of the User-Agent HTTP header that will be set in HTTP requests to the attestation CA.
Functions ¶
func NewRequestIDContext ¶ added in v0.45.1
NewRequestIDContext returns a new context with the given request ID added to the context.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
type Option ¶
func WithInsecure ¶
func WithInsecure() Option
WithInsecure disables TLS server certificate chain checking. In general this shouldn't be used, but it can be of use in during development and testing.
func WithRootsFile ¶
WithRootsFile can be used to set the trusted roots when setting up a TLS connection. An empty filename will be ignored.
Click to show internal directories.
Click to hide internal directories.