MCPcopy
hub / github.com/grpc/grpc-go / NewDefaultCredentials

Function NewDefaultCredentials

credentials/google/google.go:79–81  ·  view source on GitHub ↗

NewDefaultCredentials returns a credentials bundle that is configured to work with google services. This API is experimental.

()

Source from the content-addressed store, hash-verified

77//
78// This API is experimental.
79func NewDefaultCredentials() credentials.Bundle {
80 return NewDefaultCredentialsWithOptions(DefaultCredentialsOptions{})
81}
82
83// NewComputeEngineCredentials returns a credentials bundle that is configured to work
84// with google services. This API must only be used when running on GCE. Authentication configured

Callers 5

mainFunction · 0.92
newConnFunction · 0.92
createTestConnFunction · 0.92
BuildMethod · 0.92

Calls 1

Tested by 1