Skip to content

Commit

Permalink
Merge pull request #28 from hitsedesen/patch-1
Browse files Browse the repository at this point in the history
Fix typo in go test app
  • Loading branch information
alexv-smirnov authored May 12, 2022
2 parents bd7ada3 + 6b8fbb3 commit 8fc5537
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ydb/docs/en/core/reference/ydb-sdk/example/go/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
)
Expand Down

0 comments on commit 8fc5537

Please sign in to comment.