diff --git a/ydb/docs/en/core/reference/ydb-sdk/example/go/index.md b/ydb/docs/en/core/reference/ydb-sdk/example/go/index.md index 36a4d43e3912..247fd044ac41 100644 --- a/ydb/docs/en/core/reference/ydb-sdk/example/go/index.md +++ b/ydb/docs/en/core/reference/ydb-sdk/example/go/index.md @@ -51,8 +51,8 @@ db, err := ydb.Open( dsn, // yc.WithInternalCA(), // using Yandex.Cloud certificates ydb.WithAccessTokenCredentials(token), // token-based authentication -// ydb.WithAnonimousCredentials(token), // anonymous authentication (for example, in docker ydb) -// yc.WithMetadataCredentials(token), // authentication from inside a VM in Yandex.Cloud or a function in Yandex Functions +// ydb.WithAnonymousCredentials(), // anonymous authentication (for example, in docker ydb) +// yc.WithMetadataCredentials(ctx), // authentication from inside a VM in Yandex.Cloud or a function in Yandex Functions // yc.WithServiceAccountKeyFileCredentials("~/.ydb/sa.json"), // authentication in Yandex.Cloud using a service account file // environ.WithEnvironCredentials(ctx), // authentication using environment variables )