This commit is contained in:
2026-03-14 22:41:08 +08:00
parent 51a909f648
commit 5117221bbf
3 changed files with 5 additions and 5 deletions

View File

@@ -1331,7 +1331,7 @@ export async function getSecretValueViaAlibabaCloudInstanceIdentity(
mode?: AlibabaCloudInstanceIdentityMode,
): Promise<string> {
const pkcs7 = await fetchAlibabaCloudInstanceIdentityV1(
"hatter.ink",
"hatter.ink:/secret/get.json",
mode,
);
const httpSecretResponse = await fetchDataWithTimeout(
@@ -1409,7 +1409,7 @@ export async function assumeRoleByKeyViaAlibabaCloudInstanceIdentity(
mode?: AlibabaCloudInstanceIdentityMode,
): Promise<StsToken> {
const pkcs7 = await fetchAlibabaCloudInstanceIdentityV1(
"/cloud/alibaba_cloud/assume_role_by_key.json",
"hatter.ink:/cloud/alibaba_cloud/assume_role_by_key.json",
mode,
);
const httpAssumeRoleResponse = await fetchDataWithTimeout(

View File

@@ -163,11 +163,11 @@
"openclaw-secret.ts": {
"script_name": "openclaw-secret.ts",
"script_length": 2750,
"script_sha256": "c43de9ceccac25bf3dbdb2a9e88dadeb3b0d1ea2ff5d365183041338ec9cebde",
"script_sha256": "3c78adfd56c5121106b28c2a7f013415ad59e44423bbc1a55f5e6b4277272b3a",
"script_full_url": "https://git.hatter.ink/hatter/ts-scripts/raw/branch/main/single-scripts/openclaw-secret.ts",
"single_script_file": true,
"publish_time": 1772860170553,
"update_time": 1773496786102
"update_time": 1773499265096
},
"post-note.ts": {
"script_name": "post-note.ts",

View File

@@ -7,7 +7,7 @@ import {
getSecretValue,
log,
stdinToArrayBuffer,
} from "https://script.hatter.ink/@55/deno-commons-mod.ts";
} from "https://script.hatter.ink/@59/deno-commons-mod.ts";
import {parseArgs} from "jsr:@std/cli/parse-args";
// specification: https://docs.openclaw.ai/gateway/secrets