NewDefaultCredentials returns a credentials bundle that is configured to work with google services. This API is experimental.
()
| 77 | // |
| 78 | // This API is experimental. |
| 79 | func 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 |