Function: parseSecretRef()
parseSecretRef(
text):SecretRef
Defined in: packages/secrets/src/reference.ts:45
Parses a reference.
Parameters
text
string
Returns
Throws
malformed_reference when the text has fewer than two or
more than four segments under secret://, or a segment contains anything but
lowercase letters, digits, ., _, - (so no traversal, no encoding, and no
empty segment).