Skip to content

Graphorin API reference v0.7.0


Graphorin API reference / @graphorin/security / / ParsedSecretRef

Interface: ParsedSecretRef

Defined in: packages/security/src/secrets/secret-ref.ts:57

Internal parsed shape for a single SecretRef URI. Conforms to the cross-package SecretRef contract declared in @graphorin/core and adds nothing on top of it - richer access (split authority, per-key multi-value query) is exposed through dedicated helpers below.

Stable

Extends

Properties

PropertyModifierTypeDescriptionOverridesDefined in
authority?readonlystringOptional authority component (e.g. host[:port]).SecretRef.authoritypackages/security/src/secrets/secret-ref.ts:60
fragment?readonlystringOptional fragment (e.g. JSON-Pointer for nested fields).SecretRef.fragmentpackages/security/src/secrets/secret-ref.ts:63
pathreadonlystringPath component (without the leading slash for opaque schemes).SecretRef.pathpackages/security/src/secrets/secret-ref.ts:61
queryreadonlyReadonly<Record&lt;string, string&gt;>Parsed query parameters (already percent-decoded).SecretRef.querypackages/security/src/secrets/secret-ref.ts:62
rawreadonlystringOriginal URI string as supplied by the caller.SecretRef.rawpackages/security/src/secrets/secret-ref.ts:58
schemereadonlystringLowercased scheme ('env', 'keyring', 'file', …).SecretRef.schemepackages/security/src/secrets/secret-ref.ts:59