layero 0.11.14 → 0.11.15
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.
|
@@ -179,6 +179,9 @@ export async function dataKeysIssueCmd(opts) {
|
|
|
179
179
|
prefix: issued.prefix,
|
|
180
180
|
key: issued.key,
|
|
181
181
|
expires_at: issued.expires_at ?? null,
|
|
182
|
+
// Что маскировать (T-20261026-6), как у database_created: секретный ключ
|
|
183
|
+
// платформа не хранит и больше не покажет — в журнал агента он попасть не должен.
|
|
184
|
+
secrets: kind === "secret" ? ["key"] : [],
|
|
182
185
|
});
|
|
183
186
|
return;
|
|
184
187
|
}
|
|
@@ -494,6 +497,8 @@ export async function dataEnableCmd(opts) {
|
|
|
494
497
|
slug: res.slug,
|
|
495
498
|
public_key: publicKey,
|
|
496
499
|
secret_key: secretKey,
|
|
500
|
+
// Что маскировать (T-20261026-6): секретный ключ показывается один раз.
|
|
501
|
+
secrets: secretKey ? ["secret_key"] : [],
|
|
497
502
|
reapplied,
|
|
498
503
|
// Итог включения словами: какие таблицы открыты, какие без RLS закрыты.
|
|
499
504
|
warnings: res.warnings ?? [],
|
package/package.json
CHANGED