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(