انتقل إلى المحتوى الرئيسي

Variable: SETUP_SECRET_REF_PATTERN

const SETUP_SECRET_REF_PATTERN: "^secret://(?!.*\.\.)[a-z0-9](?:[a-z0-9._-]{0,126}[a-z0-9])?(?:/[a-z0-9](?:[a-z0-9._-]{0,126}[a-z0-9])?){1,3}$" = '^secret://(?!.*\.\.)[a-z0-9](?:[a-z0-9._-]{0,126}[a-z0-9])?(?:/[a-z0-9](?:[a-z0-9._-]{0,126}[a-z0-9])?){1,3}$'

Defined in: packages/contracts/src/setup-answers.ts:52

The shape of a secret://<namespace>/<name>[/<name>...] reference, two to four segments. The same string as SECRET_REF_PATTERN in @oktoid/secrets, repeated here because this package is imported by the browser and must not pull in the secret store's drivers. @oktoid/bootstrap refuses to load if the two ever differ.