MCPcopy
hub / github.com/codedogQBY/ReadAny / getSecretKeyForBackend

Function getSecretKeyForBackend

packages/core/src/sync/sync-backend-factory.ts:46–52  ·  view source on GitHub ↗
(type: "webdav" | "s3")

Source from the content-addressed store, hash-verified

44 * Get the secret key for a backend type.
45 */
46export function getSecretKeyForBackend(type: "webdav" | "s3"): string {
47 const keys = {
48 webdav: "sync_webdav_password",
49 s3: "sync_s3_secret_key",
50 };
51 return keys[type];
52}

Callers 1

sync-store.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected