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
| Property | Modifier | Type | Description | Overrides | Defined in |
|---|---|---|---|---|---|
authority? | readonly | string | Optional authority component (e.g. host[:port]). | SecretRef.authority | packages/security/src/secrets/secret-ref.ts:59 |
fragment? | readonly | string | Optional fragment (e.g. JSON-Pointer for nested fields). | SecretRef.fragment | packages/security/src/secrets/secret-ref.ts:62 |
path | readonly | string | Path component (without the leading slash for opaque schemes). | SecretRef.path | packages/security/src/secrets/secret-ref.ts:60 |
query | readonly | Readonly<Record<string, string>> | Parsed query parameters (already percent-decoded). | SecretRef.query | packages/security/src/secrets/secret-ref.ts:61 |
raw | readonly | string | Original URI string as supplied by the caller. | SecretRef.raw | packages/security/src/secrets/secret-ref.ts:57 |
scheme | readonly | string | Lowercased scheme ('env', 'keyring', 'file', …). | SecretRef.scheme | packages/security/src/secrets/secret-ref.ts:58 |