{"id":49844075,"url":"https://github.com/ydb-platform/ydb-go-yc","last_synced_at":"2026-05-14T08:45:10.603Z","repository":{"id":53259611,"uuid":"401288067","full_name":"ydb-platform/ydb-go-yc","owner":"ydb-platform","description":null,"archived":false,"fork":false,"pushed_at":"2024-08-21T10:22:40.000Z","size":262,"stargazers_count":5,"open_issues_count":9,"forks_count":2,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-08-21T11:51:49.693Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ydb-platform.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":"AUTHORS","dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-08-30T09:31:56.000Z","updated_at":"2024-08-21T10:22:07.000Z","dependencies_parsed_at":"2024-06-20T05:40:05.252Z","dependency_job_id":"504b4075-dfe3-4b50-947d-4cfec80d8aba","html_url":"https://github.com/ydb-platform/ydb-go-yc","commit_stats":null,"previous_names":["ydb-platform/ydb-go-sdk-auth-iam"],"tags_count":34,"template":false,"template_full_name":null,"purl":"pkg:github/ydb-platform/ydb-go-yc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ydb-platform%2Fydb-go-yc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ydb-platform%2Fydb-go-yc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ydb-platform%2Fydb-go-yc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ydb-platform%2Fydb-go-yc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ydb-platform","download_url":"https://codeload.github.com/ydb-platform/ydb-go-yc/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ydb-platform%2Fydb-go-yc/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33017711,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-13T13:14:54.681Z","status":"online","status_checked_at":"2026-05-14T02:00:06.663Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-05-14T08:45:09.686Z","updated_at":"2026-05-14T08:45:10.598Z","avatar_url":"https://github.com/ydb-platform.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ydb-go-yc\n\n[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://github.com/ydb-platform/ydb/blob/main/LICENSE)\n[![PkgGoDev](https://pkg.go.dev/badge/github.com/ydb-platform/ydb-go-yc)](https://pkg.go.dev/github.com/ydb-platform/ydb-go-yc)\n![tests](https://github.com/ydb-platform/ydb-go-yc/workflows/tests/badge.svg?branch=master)\n![lint](https://github.com/ydb-platform/ydb-go-yc/workflows/lint/badge.svg?branch=master)\n[![Go Report Card](https://goreportcard.com/badge/github.com/ydb-platform/ydb-go-yc)](https://goreportcard.com/report/github.com/ydb-platform/ydb-go-yc)\n[![codecov](https://codecov.io/gh/ydb-platform/ydb-go-yc/badge.svg?precision=2)](https://app.codecov.io/gh/ydb-platform/ydb-go-yc)\n![Code lines](https://sloc.xyz/github/ydb-platform/ydb-go-yc/?category=code)\n[![WebSite](https://img.shields.io/badge/website-ydb.tech-blue.svg)](https://ydb.tech)\n\nHelpers to connect to YDB inside yandex-cloud.\n\n## Table of contents\n1. [Overview](#Overview)\n2. [About semantic versioning](#SemVer)\n3. [Prerequisites](#Prerequisites)\n4. [Installation](#Install)\n5. [Usage](#Usage)\n\n## Overview \u003ca name=\"Overview\"\u003e\u003c/a\u003e\n\nCurrently package provides helpers to connect to YDB inside yandex-cloud.\n\n## About semantic versioning \u003ca name=\"SemVer\"\u003e\u003c/a\u003e\n\nWe follow the **[SemVer 2.0.0](https://semver.org)**. In particular, we provide backward compatibility in the `MAJOR` releases. New features without loss of backward compatibility appear on the `MINOR` release. In the minor version, the patch number starts from `0`. Bug fixes and internal changes are released with the third digit (`PATCH`) in the version.\n\nThere are, however, some changes with the loss of backward compatibility that we consider to be `MINOR`:\n* extension or modification of internal `ydb-go-yc` interfaces. We understand that this will break the compatibility of custom implementations of the `ydb-go-yc` internal interfaces. But we believe that the internal interfaces of `ydb-go-yc` are implemented well enough that they do not require custom implementation. We are working to ensure that all internal interfaces have limited access only inside `ydb-go-yc`.\n* major changes to (including removal of) the public interfaces and types that have been previously exported by `ydb-go-yc`. We understand that these changes will break the backward compatibility of early adopters of these interfaces. However, these changes are generally coordinated with early adopters and have the concise interfacing with `ydb-go-yc` as a goal.\n\nInternal interfaces outside from `internal` directory are marked with comment such as\n```\n// Warning: only for internal usage inside ydb-go-yc\n```\n\nWe publish the planned breaking `MAJOR` changes:\n* via the comment `Deprecated` in the code indicating what should be used instead\n* through the file [`NEXT_MAJOR_RELEASE.md`](#NEXT_MAJOR_RELEASE.md)\n\n## Prerequisites \u003ca name=\"Prerequisites\"\u003e\u003c/a\u003e\n\nRequires Go 1.13 or later.\n\n## Installation \u003ca name=\"Installation\"\u003e\u003c/a\u003e\n\n```bash\ngo get -u github.com/ydb-platform/ydb-go-yc\n```\n\n## Usage \u003ca name=\"Usage\"\u003e\u003c/a\u003e\n\n```go\nimport (\n    yc \"github.com/ydb-platform/ydb-go-yc\"\n)\n...\n    db, err := ydb.Open(ctx, os.Getenv(\"YDB_CONNECTION_STRING\"),\n        yc.WithInternalCA(),\n        yc.WithServiceAccountKeyFileCredentials(\"~/.ydb/sa.json\"), // auth from service account key file\n        // yc.WithMetadataCredentials(), // auth inside cloud (virual machine or yandex function)\n    )\n    \n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fydb-platform%2Fydb-go-yc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fydb-platform%2Fydb-go-yc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fydb-platform%2Fydb-go-yc/lists"}