Skip to content

Commit 9a84077

Browse files
authored
feat(option): officially deprecate ImpersonateCredentials (#1683)
This option has been soft deprecated for a long time now. Lets make it official to help more users migrate.
1 parent 219f166 commit 9a84077

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

option/option.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -308,9 +308,9 @@ func (w withClientCertSource) Apply(o *internal.DialSettings) {
308308
//
309309
// This is an EXPERIMENTAL API and may be changed or removed in the future.
310310
//
311-
// This option has been replaced by `impersonate` package:
311+
// Deprecated: This option has been replaced by `impersonate` package:
312312
// `google.golang.org/api/impersonate`. Please use the `impersonate` package
313-
// instead.
313+
// instead with the WithTokenSource option.
314314
func ImpersonateCredentials(target string, delegates ...string) ClientOption {
315315
return impersonateServiceAccount{
316316
target: target,

0 commit comments

Comments
 (0)