@zincapp/znvault-cli 4.24.3 → 4.24.5
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/dist/commands/auth.d.ts.map +1 -1
- package/dist/commands/auth.js +2 -0
- package/dist/commands/auth.js.map +1 -1
- package/dist/commands/completion.js +1 -1
- package/dist/commands/dynamic-secrets/index.d.ts.map +1 -1
- package/dist/commands/dynamic-secrets/index.js +7 -1
- package/dist/commands/dynamic-secrets/index.js.map +1 -1
- package/dist/commands/dynamic-secrets/permit.d.ts +2 -1
- package/dist/commands/dynamic-secrets/permit.d.ts.map +1 -1
- package/dist/commands/dynamic-secrets/permit.js +35 -0
- package/dist/commands/dynamic-secrets/permit.js.map +1 -1
- package/dist/commands/dynamic-secrets/recovery-types.d.ts +10 -0
- package/dist/commands/dynamic-secrets/recovery-types.d.ts.map +1 -1
- package/dist/commands/profile-api-key.d.ts +10 -0
- package/dist/commands/profile-api-key.d.ts.map +1 -0
- package/dist/commands/profile-api-key.js +97 -0
- package/dist/commands/profile-api-key.js.map +1 -0
- package/dist/lib/config/apikey.d.ts.map +1 -1
- package/dist/lib/config/apikey.js +18 -13
- package/dist/lib/config/apikey.js.map +1 -1
- package/dist/lib/config/credentials.d.ts.map +1 -1
- package/dist/lib/config/credentials.js +12 -7
- package/dist/lib/config/credentials.js.map +1 -1
- package/dist/lib/config/index.d.ts +1 -1
- package/dist/lib/config/index.d.ts.map +1 -1
- package/dist/lib/config/index.js +1 -1
- package/dist/lib/config/index.js.map +1 -1
- package/dist/lib/config/migration.d.ts.map +1 -1
- package/dist/lib/config/migration.js +24 -22
- package/dist/lib/config/migration.js.map +1 -1
- package/dist/lib/config/plugins.d.ts.map +1 -1
- package/dist/lib/config/plugins.js +35 -29
- package/dist/lib/config/plugins.js.map +1 -1
- package/dist/lib/config/profile-lock.d.ts +7 -0
- package/dist/lib/config/profile-lock.d.ts.map +1 -0
- package/dist/lib/config/profile-lock.js +65 -0
- package/dist/lib/config/profile-lock.js.map +1 -0
- package/dist/lib/config/profile.d.ts +5 -0
- package/dist/lib/config/profile.d.ts.map +1 -1
- package/dist/lib/config/profile.js +122 -64
- package/dist/lib/config/profile.js.map +1 -1
- package/dist/lib/config/store.d.ts +6 -0
- package/dist/lib/config/store.d.ts.map +1 -1
- package/dist/lib/config/store.js +49 -16
- package/dist/lib/config/store.js.map +1 -1
- package/dist/lib/config.d.ts +1 -1
- package/dist/lib/config.d.ts.map +1 -1
- package/dist/lib/config.js +1 -1
- package/dist/lib/config.js.map +1 -1
- package/package.json +2 -2
package/dist/lib/config/store.js
CHANGED
|
@@ -10,32 +10,58 @@
|
|
|
10
10
|
*/
|
|
11
11
|
import Conf from 'conf';
|
|
12
12
|
import { DEFAULT_PROFILE } from './types.js';
|
|
13
|
+
import { withProfileMutationLock } from './profile-lock.js';
|
|
13
14
|
// Lazy-initialized store instance
|
|
14
15
|
let _store = null;
|
|
16
|
+
function storeOptions(includeDefaults) {
|
|
17
|
+
const configDir = process.env.ZNVAULT_CONFIG_DIR;
|
|
18
|
+
return {
|
|
19
|
+
projectName: 'znvault',
|
|
20
|
+
configFileMode: 0o600,
|
|
21
|
+
...(configDir ? { cwd: configDir } : {}),
|
|
22
|
+
...(includeDefaults
|
|
23
|
+
? {
|
|
24
|
+
defaults: {
|
|
25
|
+
activeProfile: DEFAULT_PROFILE,
|
|
26
|
+
profiles: {},
|
|
27
|
+
plugins: [],
|
|
28
|
+
},
|
|
29
|
+
}
|
|
30
|
+
: {}),
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
function resolveConfigPath() {
|
|
34
|
+
// A Conf instance without defaults only resolves/reads the path; it cannot
|
|
35
|
+
// create or rewrite the JSON file during construction.
|
|
36
|
+
return new Conf(storeOptions(false)).path;
|
|
37
|
+
}
|
|
15
38
|
/**
|
|
16
39
|
* Get the config store instance (lazy initialization).
|
|
17
40
|
* This allows mocks to be set up before the store is created.
|
|
18
41
|
*/
|
|
19
42
|
function getStoreInstance() {
|
|
20
43
|
if (!_store) {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
_store = new Conf({
|
|
24
|
-
projectName: 'znvault',
|
|
25
|
-
// Profiles contain rotating access/refresh tokens. Preserve 0600 on
|
|
26
|
-
// every atomic rewrite instead of inheriting a permissive process umask.
|
|
27
|
-
configFileMode: 0o600,
|
|
28
|
-
// Use custom config directory if specified (for test isolation)
|
|
29
|
-
...(configDir ? { cwd: configDir } : {}),
|
|
30
|
-
defaults: {
|
|
31
|
-
activeProfile: DEFAULT_PROFILE,
|
|
32
|
-
profiles: {},
|
|
33
|
-
plugins: [],
|
|
34
|
-
},
|
|
35
|
-
});
|
|
44
|
+
const configPath = resolveConfigPath();
|
|
45
|
+
_store = withProfileMutationLock(configPath, () => new Conf(storeOptions(true)));
|
|
36
46
|
}
|
|
37
47
|
return _store;
|
|
38
48
|
}
|
|
49
|
+
/**
|
|
50
|
+
* Run a complete read-modify-write transaction against the shared config
|
|
51
|
+
* file. Every mutation must use this authority so another CLI process cannot
|
|
52
|
+
* rewrite a stale whole-file snapshot over profile authentication.
|
|
53
|
+
*/
|
|
54
|
+
export function withStoreMutation(operation) {
|
|
55
|
+
const instance = getStoreInstance();
|
|
56
|
+
return withProfileMutationLock(instance.path, operation);
|
|
57
|
+
}
|
|
58
|
+
const MUTATING_STORE_METHODS = new Set([
|
|
59
|
+
'set',
|
|
60
|
+
'delete',
|
|
61
|
+
'clear',
|
|
62
|
+
'reset',
|
|
63
|
+
'appendToArray',
|
|
64
|
+
]);
|
|
39
65
|
/**
|
|
40
66
|
* Store proxy that lazily initializes the underlying Conf instance.
|
|
41
67
|
* This ensures mocks are applied before the real Conf is created.
|
|
@@ -46,11 +72,18 @@ export const store = new Proxy({}, {
|
|
|
46
72
|
// eslint-disable-next-line @typescript-eslint/unbound-method -- the very next lines bind any function to `instance` before returning it; that binding is this proxy's purpose
|
|
47
73
|
const value = instance[prop];
|
|
48
74
|
if (typeof value === 'function') {
|
|
49
|
-
|
|
75
|
+
const bound = value.bind(instance);
|
|
76
|
+
if (MUTATING_STORE_METHODS.has(prop)) {
|
|
77
|
+
return (...args) => withStoreMutation(() => bound(...args));
|
|
78
|
+
}
|
|
79
|
+
return bound;
|
|
50
80
|
}
|
|
51
81
|
return value;
|
|
52
82
|
},
|
|
53
83
|
set(_target, prop, value) {
|
|
84
|
+
if (prop === 'store') {
|
|
85
|
+
throw new Error('Direct CLI config store replacement is forbidden');
|
|
86
|
+
}
|
|
54
87
|
const instance = getStoreInstance();
|
|
55
88
|
instance[prop] = value;
|
|
56
89
|
return true;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"store.js","sourceRoot":"","sources":["../../../src/lib/config/store.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAEhC;;;;;;;;GAQG;AAEH,OAAO,IAAI,MAAM,MAAM,CAAC;AAExB,OAAO,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"store.js","sourceRoot":"","sources":["../../../src/lib/config/store.ts"],"names":[],"mappings":"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"}
|
package/dist/lib/config.d.ts
CHANGED
|
@@ -4,5 +4,5 @@
|
|
|
4
4
|
* This file maintains backward compatibility by re-exporting from the
|
|
5
5
|
* modularized config/ directory structure.
|
|
6
6
|
*/
|
|
7
|
-
export { type Profile, type ConfigStore, type ProfileInfo, type ApiKeyInfo, CONFIG_DEFAULTS, DEFAULT_PROFILE, store, setRuntimeProfile, resetConfig, getConfigPath, ensureMigrated, resetMigrationState, invalidateProfileCache, invalidateAllProfileCaches, invalidateConfigCache, invalidateAllCaches, getCacheStats, getActiveProfileName, getCurrentProfile, saveProfile, listProfiles, listProfileNames, profileExists, createProfile, deleteProfile, switchProfile, getProfile, renameProfile, storeCredentials, clearCredentials, getCredentials, isTokenExpired, hasEnvCredentials, getEnvCredentials, decodeRefreshJti, writePendingRefreshMarker, decidePendingRefresh, logPendingRefreshRecovery, type MarkerDecision, hasApiKey, getApiKey, storeApiKey, getStoredApiKeyInfo, clearApiKey, getStoredApiKey, getPlugins, addPlugin, removePlugin, setPluginEnabled, clearPlugins, getConfig, getConfigValue, setConfigValue, getEffectiveUrl, getAllConfig, validateEnvironment, assertValidEnvironment, getValidatedEnvCredentials, getValidatedApiKey, getValidatedUrl, type ValidationResult, storeAutoUnsealSecret, getAutoUnsealSecret, hasAutoUnsealSecret, clearAutoUnsealSecret, generateTOTPCode, parseOTPAuthURI, } from './config/index.js';
|
|
7
|
+
export { type Profile, type ConfigStore, type ProfileInfo, type ApiKeyInfo, CONFIG_DEFAULTS, DEFAULT_PROFILE, store, setRuntimeProfile, resetConfig, getConfigPath, ensureMigrated, resetMigrationState, invalidateProfileCache, invalidateAllProfileCaches, invalidateConfigCache, invalidateAllCaches, getCacheStats, getActiveProfileName, getCurrentProfile, saveProfile, listProfiles, listProfileNames, profileExists, createProfile, deleteProfile, switchProfile, getProfile, renameProfile, mutateProfileAuthentication, storeCredentials, clearCredentials, getCredentials, isTokenExpired, hasEnvCredentials, getEnvCredentials, decodeRefreshJti, writePendingRefreshMarker, decidePendingRefresh, logPendingRefreshRecovery, type MarkerDecision, hasApiKey, getApiKey, storeApiKey, getStoredApiKeyInfo, clearApiKey, getStoredApiKey, getPlugins, addPlugin, removePlugin, setPluginEnabled, clearPlugins, getConfig, getConfigValue, setConfigValue, getEffectiveUrl, getAllConfig, validateEnvironment, assertValidEnvironment, getValidatedEnvCredentials, getValidatedApiKey, getValidatedUrl, type ValidationResult, storeAutoUnsealSecret, getAutoUnsealSecret, hasAutoUnsealSecret, clearAutoUnsealSecret, generateTOTPCode, parseOTPAuthURI, } from './config/index.js';
|
|
8
8
|
//# sourceMappingURL=config.d.ts.map
|
package/dist/lib/config.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../src/lib/config.ts"],"names":[],"mappings":"AAEA;;;;;GAKG;AAEH,OAAO,EAEL,KAAK,OAAO,EACZ,KAAK,WAAW,EAChB,KAAK,WAAW,EAChB,KAAK,UAAU,EACf,eAAe,EACf,eAAe,EAGf,KAAK,EACL,iBAAiB,EACjB,WAAW,EACX,aAAa,EAGb,cAAc,EACd,mBAAmB,EAGnB,sBAAsB,EACtB,0BAA0B,EAC1B,qBAAqB,EACrB,mBAAmB,EACnB,aAAa,EAGb,oBAAoB,EACpB,iBAAiB,EACjB,WAAW,EACX,YAAY,EACZ,gBAAgB,EAChB,aAAa,EACb,aAAa,EACb,aAAa,EACb,aAAa,EACb,UAAU,EACV,aAAa,
|
|
1
|
+
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../src/lib/config.ts"],"names":[],"mappings":"AAEA;;;;;GAKG;AAEH,OAAO,EAEL,KAAK,OAAO,EACZ,KAAK,WAAW,EAChB,KAAK,WAAW,EAChB,KAAK,UAAU,EACf,eAAe,EACf,eAAe,EAGf,KAAK,EACL,iBAAiB,EACjB,WAAW,EACX,aAAa,EAGb,cAAc,EACd,mBAAmB,EAGnB,sBAAsB,EACtB,0BAA0B,EAC1B,qBAAqB,EACrB,mBAAmB,EACnB,aAAa,EAGb,oBAAoB,EACpB,iBAAiB,EACjB,WAAW,EACX,YAAY,EACZ,gBAAgB,EAChB,aAAa,EACb,aAAa,EACb,aAAa,EACb,aAAa,EACb,UAAU,EACV,aAAa,EACb,2BAA2B,EAG3B,gBAAgB,EAChB,gBAAgB,EAChB,cAAc,EACd,cAAc,EACd,iBAAiB,EACjB,iBAAiB,EACjB,gBAAgB,EAChB,yBAAyB,EACzB,oBAAoB,EACpB,yBAAyB,EACzB,KAAK,cAAc,EAGnB,SAAS,EACT,SAAS,EACT,WAAW,EACX,mBAAmB,EACnB,WAAW,EACX,eAAe,EAGf,UAAU,EACV,SAAS,EACT,YAAY,EACZ,gBAAgB,EAChB,YAAY,EAGZ,SAAS,EACT,cAAc,EACd,cAAc,EACd,eAAe,EACf,YAAY,EAGZ,mBAAmB,EACnB,sBAAsB,EACtB,0BAA0B,EAC1B,kBAAkB,EAClB,eAAe,EACf,KAAK,gBAAgB,EAGrB,qBAAqB,EACrB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACrB,gBAAgB,EAChB,eAAe,GAChB,MAAM,mBAAmB,CAAC"}
|
package/dist/lib/config.js
CHANGED
|
@@ -13,7 +13,7 @@ ensureMigrated, resetMigrationState,
|
|
|
13
13
|
// Cache
|
|
14
14
|
invalidateProfileCache, invalidateAllProfileCaches, invalidateConfigCache, invalidateAllCaches, getCacheStats,
|
|
15
15
|
// Profile management
|
|
16
|
-
getActiveProfileName, getCurrentProfile, saveProfile, listProfiles, listProfileNames, profileExists, createProfile, deleteProfile, switchProfile, getProfile, renameProfile,
|
|
16
|
+
getActiveProfileName, getCurrentProfile, saveProfile, listProfiles, listProfileNames, profileExists, createProfile, deleteProfile, switchProfile, getProfile, renameProfile, mutateProfileAuthentication,
|
|
17
17
|
// Credentials
|
|
18
18
|
storeCredentials, clearCredentials, getCredentials, isTokenExpired, hasEnvCredentials, getEnvCredentials, decodeRefreshJti, writePendingRefreshMarker, decidePendingRefresh, logPendingRefreshRecovery,
|
|
19
19
|
// API key
|
package/dist/lib/config.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.js","sourceRoot":"","sources":["../../src/lib/config.ts"],"names":[],"mappings":"AAAA,0BAA0B;AAE1B;;;;;GAKG;AAEH,OAAO,EAML,eAAe,EACf,eAAe;AAEf,QAAQ;AACR,KAAK,EACL,iBAAiB,EACjB,WAAW,EACX,aAAa;AAEb,YAAY;AACZ,cAAc,EACd,mBAAmB;AAEnB,QAAQ;AACR,sBAAsB,EACtB,0BAA0B,EAC1B,qBAAqB,EACrB,mBAAmB,EACnB,aAAa;AAEb,qBAAqB;AACrB,oBAAoB,EACpB,iBAAiB,EACjB,WAAW,EACX,YAAY,EACZ,gBAAgB,EAChB,aAAa,EACb,aAAa,EACb,aAAa,EACb,aAAa,EACb,UAAU,EACV,aAAa;
|
|
1
|
+
{"version":3,"file":"config.js","sourceRoot":"","sources":["../../src/lib/config.ts"],"names":[],"mappings":"AAAA,0BAA0B;AAE1B;;;;;GAKG;AAEH,OAAO,EAML,eAAe,EACf,eAAe;AAEf,QAAQ;AACR,KAAK,EACL,iBAAiB,EACjB,WAAW,EACX,aAAa;AAEb,YAAY;AACZ,cAAc,EACd,mBAAmB;AAEnB,QAAQ;AACR,sBAAsB,EACtB,0BAA0B,EAC1B,qBAAqB,EACrB,mBAAmB,EACnB,aAAa;AAEb,qBAAqB;AACrB,oBAAoB,EACpB,iBAAiB,EACjB,WAAW,EACX,YAAY,EACZ,gBAAgB,EAChB,aAAa,EACb,aAAa,EACb,aAAa,EACb,aAAa,EACb,UAAU,EACV,aAAa,EACb,2BAA2B;AAE3B,cAAc;AACd,gBAAgB,EAChB,gBAAgB,EAChB,cAAc,EACd,cAAc,EACd,iBAAiB,EACjB,iBAAiB,EACjB,gBAAgB,EAChB,yBAAyB,EACzB,oBAAoB,EACpB,yBAAyB;AAGzB,UAAU;AACV,SAAS,EACT,SAAS,EACT,WAAW,EACX,mBAAmB,EACnB,WAAW,EACX,eAAe;AAEf,UAAU;AACV,UAAU,EACV,SAAS,EACT,YAAY,EACZ,gBAAgB,EAChB,YAAY;AAEZ,yBAAyB;AACzB,SAAS,EACT,cAAc,EACd,cAAc,EACd,eAAe,EACf,YAAY;AAEZ,aAAa;AACb,mBAAmB,EACnB,sBAAsB,EACtB,0BAA0B,EAC1B,kBAAkB,EAClB,eAAe;AAGf,cAAc;AACd,qBAAqB,EACrB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACrB,gBAAgB,EAChB,eAAe,GAChB,MAAM,mBAAmB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zincapp/znvault-cli",
|
|
3
|
-
"version": "4.24.
|
|
3
|
+
"version": "4.24.5",
|
|
4
4
|
"description": "Official CLI for ZnVault administration",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"pretest": "npm run build",
|
|
19
19
|
"test": "npm run test:unit",
|
|
20
20
|
"test:all": "vitest run --config vitest.integration.config.ts",
|
|
21
|
-
"test:unit": "vitest run",
|
|
21
|
+
"test:unit": "vitest run --pool=threads --maxWorkers=1 --fileParallelism=false",
|
|
22
22
|
"test:unit:watch": "vitest",
|
|
23
23
|
"test:integration": "ZNVAULT_INTEGRATION=true vitest run --config vitest.integration.config.ts",
|
|
24
24
|
"test:mysql-client-security": "ZNVAULT_REAL_MYSQL_CLIENT_SECURITY_TEST=1 vitest run --config vitest.integration.config.ts test/integration/mysql-binary-mode.integration.test.ts",
|