Skip to main content

Function: normalizeCloudObjectKey()

function normalizeCloudObjectKey(
rawKey: string,
options?: NormalizeCloudKeyOptions
): string;

Defined in: shared/utils/cloudKeyNormalization.ts:160

Normalizes provider object keys into a canonical POSIX-ish representation.

Parametersโ€‹

rawKeyโ€‹

string

options?โ€‹

NormalizeCloudKeyOptions = {}

Returnsโ€‹

string

Remarksโ€‹

This helper is intentionally normalization only. It does not enforce provider-specific sandbox rules (e.g. maximum byte length, required prefixes, etc). Those should be enforced by the caller.