diff --git a/libraries/deno-commons-mod.ts b/libraries/deno-commons-mod.ts index b7cac91..2220a36 100644 --- a/libraries/deno-commons-mod.ts +++ b/libraries/deno-commons-mod.ts @@ -1331,7 +1331,7 @@ export async function getSecretValueViaAlibabaCloudInstanceIdentity( mode?: AlibabaCloudInstanceIdentityMode, ): Promise { 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 { 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( diff --git a/script-meta-v2.json b/script-meta-v2.json index de7faa5..6d838f3 100644 --- a/script-meta-v2.json +++ b/script-meta-v2.json @@ -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", diff --git a/single-scripts/openclaw-secret.ts b/single-scripts/openclaw-secret.ts index 1f511b5..3aa4c6e 100755 --- a/single-scripts/openclaw-secret.ts +++ b/single-scripts/openclaw-secret.ts @@ -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