Skip to content

Commit 3c3279e

Browse files
committed
Add Yandex Cloud Service Account authentication provider
- New package @ydbjs/auth-yandex-cloud for Service Account key authentication - Supports JWT creation with PS256 algorithm and IAM token exchange - Automatic token caching and background refresh before expiration - Built-in retry logic with exponential backoff for IAM API calls - Multiple initialization methods: fromFile, fromEnv, or direct JSON object - Add esbuild override to fix security vulnerability in dev dependencies - Update Changesets config to exclude third-parties from fixed versioning - Update AGENTS.md with rules for third-parties packages
1 parent 9fc9b1f commit 3c3279e

File tree

13 files changed

+1318
-1025
lines changed

13 files changed

+1318
-1025
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
"@ydbjs/auth-yandex-cloud": minor
3+
---
4+
5+
Add Yandex Cloud Service Account authentication provider
6+
7+
- New package `@ydbjs/auth-yandex-cloud` for authenticating with Yandex Cloud Service Account authorized keys
8+
- Supports JWT creation with PS256 algorithm
9+
- Automatic IAM token management with caching and background refresh
10+
- Built-in retry logic with exponential backoff for IAM API calls
11+
- Multiple initialization methods: from file, environment variable, or JSON object

.changeset/config.json

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,16 @@
44
"commit": false,
55
"fixed": [
66
[
7-
"@ydbjs/*"
7+
"@ydbjs/abortable",
8+
"@ydbjs/api",
9+
"@ydbjs/auth",
10+
"@ydbjs/core",
11+
"@ydbjs/debug",
12+
"@ydbjs/error",
13+
"@ydbjs/query",
14+
"@ydbjs/retry",
15+
"@ydbjs/topic",
16+
"@ydbjs/value"
817
]
918
],
1019
"linked": [],

AGENTS.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -475,6 +475,12 @@ Select affected packages, choose bump type (major/minor/patch), write user-facin
475475
- **MINOR:** Backwards-compatible features
476476
- **PATCH:** Bug fixes, docs, typings
477477

478+
**Important Rules:**
479+
480+
- **DO NOT create CHANGELOG.md files manually** - Changesets automatically generates them from changeset files in `.changeset/` directory
481+
- **If you create or delete packages in `packages/` directory** - Update the `fixed` array in `.changeset/config.json` to include new packages or remove deleted ones (packages must be listed alphabetically)
482+
- Third-parties packages (`third-parties/`) are NOT included in `fixed` array - they version independently
483+
478484
See `RELEASING.md` and `VERSIONING.md` for full release process
479485

480486
---

0 commit comments

Comments
 (0)