Skip to content

Graphorin API reference v0.1.0


Graphorin API reference / @graphorin/security / / ParsedSecretRef

Interface: ParsedSecretRef

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

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