Add support for Alicloud CloudSSO mode in OSS backend credential handling

This commit is contained in:
Peili Qian 2026-03-03 16:21:34 +08:00
parent 2bb747222b
commit 22cf883b5c
2 changed files with 6 additions and 1 deletions

View file

@ -0,0 +1,5 @@
kind: ENHANCEMENTS
body: add Alicloud CloudSSO mode credential support for oss backend
time: 2026-03-03T13:23:30.643274+08:00
custom:
Issue: "38228"

View file

@ -618,7 +618,7 @@ func getConfigFromProfile(d *schema.ResourceData, ProfileKey string) (interface{
return "", nil
}
case "sts_token":
if mode != "StsToken" {
if mode != "StsToken" && mode != "CloudSSO" {
return "", nil
}
case "ram_role_arn", "ram_session_name":