aliyun / alibaba-cloud-sdk-go

Alibaba Cloud SDK for Go
Apache License 2.0
1.15k stars 269 forks source link

Does SDK support to pick credentials from `~/.aliyun/config.json` file Where credentials store for Aliyun CLI? #629

Open ParthaI opened 1 month ago

ParthaI commented 1 month ago

Dere team,

Is there a way for the Alibaba Cloud SDK to authenticate by providing the profile name, so it picks the credentials from ~/.aliyun/config.json?

An early suggestion would be greatly appreciated.

Thanks!

ParthaI commented 1 month ago

Dear Team,

Is there any update regarding the above message?

JacksonTian commented 1 month ago

Currently, the SDK's credentials not fit the CLI's profile well. We are planning to improve it in short term.

ParthaI commented 1 month ago

Thanks for the information. Is there any ETA to add the support for CLI's profile?

JacksonTian commented 1 month ago

Before 7.1.