MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / vaultV1ObjectName

Function vaultV1ObjectName

packages/core/sdk/src/migration-spec.ts:81–82  ·  view source on GitHub ↗
(prefix: string, scopeId: string, secretId: string)

Source from the content-addressed store, hash-verified

79const enc = encodeURIComponent;
80
81export const vaultV1ObjectName = (prefix: string, scopeId: string, secretId: string): string =>
82 `${prefix}/${enc(scopeId)}/secrets/${enc(secretId)}`;
83
84/** The legacy un-url-encoded variant v1 falls back to on a 404. */
85export const vaultV1LegacyObjectName = (

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected