@dotenvage/node 0.3.2 → 0.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9 -1
- package/dotenvage-napi.darwin-arm64.node +0 -0
- package/dotenvage-napi.darwin-x64.node +0 -0
- package/dotenvage-napi.linux-arm64-gnu.node +0 -0
- package/dotenvage-napi.linux-x64-gnu.node +0 -0
- package/dotenvage-napi.win32-arm64-msvc.node +0 -0
- package/dotenvage-napi.win32-x64-msvc.node +0 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -152,7 +152,15 @@ Creates a SecretManager by loading the key from standard locations:
|
|
|
152
152
|
1. `DOTENVAGE_AGE_KEY` environment variable
|
|
153
153
|
2. `AGE_KEY` environment variable
|
|
154
154
|
3. `EKG_AGE_KEY` environment variable
|
|
155
|
-
4.
|
|
155
|
+
4. OS keychain entry (service: `dotenvage` or `DOTENVAGE_KEYCHAIN_SERVICE`;
|
|
156
|
+
account: `AGE_KEY_NAME` or `{CARGO_PKG_NAME}/dotenvage`)
|
|
157
|
+
5. Key file at `~/.local/state/dotenvage/dotenvage.key`
|
|
158
|
+
|
|
159
|
+
OS keychain lookup currently uses:
|
|
160
|
+
- macOS: Keychain via `security`
|
|
161
|
+
- Linux/Unix: Secret Service via `secret-tool`
|
|
162
|
+
- Windows: lookup falls back to file/env sources (no keychain lookup yet);
|
|
163
|
+
`keygen --store os|both` stores using `cmdkey`
|
|
156
164
|
|
|
157
165
|
```typescript
|
|
158
166
|
const manager = dotenvage.JsSecretManagerNew();
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|