@dragonmastery/tamer 0.43.1 → 0.43.2
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/tamer.mjs +2 -0
- package/dist/tamer.mjs.map +1 -1
- package/package.json +1 -1
package/dist/tamer.mjs
CHANGED
|
@@ -7986,8 +7986,10 @@ async function runSecretsSet(options) {
|
|
|
7986
7986
|
configPath: options.configPath
|
|
7987
7987
|
});
|
|
7988
7988
|
const plaintext = options.readValue ? await options.readValue() : await readSecretValueFromStdin();
|
|
7989
|
+
console.log(`secrets set: encrypting ${name}…`);
|
|
7989
7990
|
const encrypted = await encryptSecretValue(plaintext, ctx.masterKey);
|
|
7990
7991
|
const valueHash = await secretValueFingerprint(plaintext);
|
|
7992
|
+
console.log(`secrets set: storing ${name} (${valueHash}) in ${ctx.env} vault…`);
|
|
7991
7993
|
await ctx.vault.upsert(name, encrypted, valueHash, { updatedBy: cliUpdatedBy() });
|
|
7992
7994
|
console.log(`secrets: stored ${name} (${valueHash}) in ${ctx.env} vault`);
|
|
7993
7995
|
}
|