> For the complete documentation index, see [llms.txt](https://newdocs.keeper.io/en/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://newdocs.keeper.io/en/release-notes/enterprise/keeper-secrets-manager/2026/javascript-sdk-17.5.0.md).

# JavaScript SDK 17.5.0

* **KSM-901:** Added custom server public key support for isolated deployments. Supply the key in any of three ways: the `serverPublicKey` / `serverPublicKeyId` options on `SecretManagerOptions` (the options object passed to `getSecrets`), the matching `serverPublicKey` / `serverPublicKeyId` config fields, or an extended one-time token in the 4-segment format. When a custom key is configured, server-side key rotation hints are suppressed so the SDK stays pinned to the configured key.
* **KSM-880:** Added automatic throttle retry with exponential backoff. HTTP 403 `{"error":"throttled"}` responses are retried up to 5 times (11s, 22s, 44s, 88s, 176s ±25% jitter), honoring `retry_after` when present. A typed `KeeperThrottleError` is thrown once retries are exhausted. No caller changes required.
* **KSM-887:** Added `secureStorage(dbName)` browser storage backend — generates a non-extractable AES-256-GCM `CryptoKey` stored natively in IndexedDB so KSM credentials are never held in extractable form in browser storage.
* **KSM-1010:** Added `KeeperRecordLink` typed accessor class and `getLinks()` function: exposes permission booleans (`isAdminUser`, `allowsRotation`, `allowsConnections`, etc. with `allowedSettings` fallback), data accessors (`getDecodedData`, `getDecryptedData`, `getLinkData`), and settings accessors (`getAiSettingsData`, `getJitSettingsData`, `getMetaData`, `getSettingsForPath`). All accessors are non-throwing. TypeScript port of Python KSM-992.
* **KSM-1025:** Exported `KeeperError` base class from `keeper.ts`. `KeeperThrottleError` now extends `KeeperError` (which extends `Error`); null/undefined config-value guards throw `KeeperError` instead of plain `Error`. Existing `instanceof Error` handling is unaffected. Migration of remaining throw sites to the typed hierarchy is tracked under the KSM-1024 epic.
* **KSM-1029:** Fixed error propagation for stale pinned server key rejections — the diagnostic message now reaches the caller instead of being swallowed by a bare catch block.
* **KSM-984:** Fixed `webSafe64ToBytes` and `base64ToBytes` (Node and browser) — null/undefined input now throws a typed `KeeperError` naming the affected field instead of a cryptic native `TypeError`. Parity with Python KSM-808 and Java KSM-985.
* **KSM-758:** Replaced deprecated `rollup-plugin-sourcemaps@0.6.3` with `rollup-plugin-sourcemaps2@0.5.6`, resolving peer dependency warnings with Rollup 4.x and a transitive `picomatch` HIGH vulnerability (dev dependency only; no production impact).
* **Security:** Bumped `rollup` dev dependency to `^4.60.1` — fixes HIGH-severity arbitrary file write via path traversal affecting 4.0.0–4.58.0 (dev dependency only; no impact on SDK consumers).

**Links:**

* [npm package](https://www.npmjs.com/package/@keeper-security/secrets-manager-core/v/17.5.0)
* See [JavaScript/TypeScript SDK Documentation](/en/keeperpam/secrets-manager/developer-sdk-library/javascript-sdk.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://newdocs.keeper.io/en/release-notes/enterprise/keeper-secrets-manager/2026/javascript-sdk-17.5.0.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
