Remove legacy key/password aliases and clean up workspace
Drop the Hose key/password compatibility path from the config schema, credential reads, CLI messages, tests, and docs; appKey/appSecurity are now the only accepted fields. Isolate seal-renew tests from the real enterprises directory so renewals never write local config. Remove the tracked pkg/ report spec and local artifacts, and rewrite .gitignore with complete sections.
This commit is contained in:
1 parent
8d6b65d3d5
commit
35f761e8a0
18 files changed
+106
-940
No files matched your search
@@ -20,14 +20,14 @@ export function resolveCorpSealUrl(corp: CorpConfig): string | undefined {
|
||||
|
||||
export function formatSafeSourceDetail(source: SealSource) {
|
||||
if (source.type === "hose") {
|
||||
const key = source.appKey ?? source.key;
|
||||
const key = source.appKey;
|
||||
return {
|
||||
type: "hose",
|
||||
domain: source.domain,
|
||||
corpId: source.corpId,
|
||||
staffId: source.staffId,
|
||||
appKey: maskSecret(key),
|
||||
hasAppSecurity: Boolean(source.appSecurity ?? source.password),
|
||||
hasAppSecurity: Boolean(source.appSecurity),
|
||||
hasCloseToken: Boolean(source.closeToken),
|
||||
closeTokenExpiresIn: source.closeToken ? source.expiresIn : undefined,
|
||||
closeTokenExpiresAt: source.closeToken ? source.expiresAt : undefined,
|
||||
|
||||
Reference in new issue
Block a user