package google
import "google.golang.org/grpc/credentials/google"
Package google defines credentials for google cloud services.
Index ¶
- func NewComputeEngineCredentials() credentials.Bundle
- func NewDefaultCredentials() credentials.Bundle
Functions ¶
func NewComputeEngineCredentials ¶
func NewComputeEngineCredentials() credentials.Bundle
NewComputeEngineCredentials returns a credentials bundle that is configured to work with google services. This API must only be used when running on GCE. Authentication configured by this API represents the GCE VM's default service account.
This API is experimental.
func NewDefaultCredentials ¶
func NewDefaultCredentials() credentials.Bundle
NewDefaultCredentials returns a credentials bundle that is configured to work with google services.
This API is experimental.
Source Files ¶
google.go
- Version
- v1.23.0
- Published
- Aug 13, 2019
- Platform
- linux/amd64
- Imports
- 8 packages
- Last checked
- 1 minute ago –
Tools for package owners.