Skip to content

Commit c9c1e3b

Browse files
committed
Add support for Alicloud CloudSSO mode in OSS backend credential handling
1 parent 2bb7472 commit c9c1e3b

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
kind: ENHANCEMENTS
2+
body: add Alicloud CloudSSO mode credential support for oss backend
3+
time: 2026-03-03T13:23:30.643274+08:00
4+
custom:
5+
Issue: "38228"

internal/backend/remote-state/oss/backend.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -618,7 +618,7 @@ func getConfigFromProfile(d *schema.ResourceData, ProfileKey string) (interface{
618618
return "", nil
619619
}
620620
case "sts_token":
621-
if mode != "StsToken" {
621+
if mode != "StsToken" && mode != "CloudSSO" {
622622
return "", nil
623623
}
624624
case "ram_role_arn", "ram_session_name":

0 commit comments

Comments
 (0)