Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[多个阿里云账号共存配置优先级] #77

Open
nogeek-cn opened this issue Apr 13, 2023 · 0 comments
Open

[多个阿里云账号共存配置优先级] #77

nogeek-cn opened this issue Apr 13, 2023 · 0 comments
Labels
Feature The feature request

Comments

@nogeek-cn
Copy link

我们做了一些阿里云的迁移,当不同的阿里云设施迁移的时候,需要用这个东西做无损迁移。那么有一个问题,我的 oss 用(阿里云账
号1) ;我的 sms 用(阿里云账号2)。这种场景就官方的 starter 就不做支持了。

实现目标

alibaba.cloud.access-key=your-ak
alibaba.cloud.secret-key=your-sk

alibaba.cloud.oss.endpoint=***
alibaba.cloud.oss.access-key=your-oss-ak
alibaba.cloud.oss.secret-key=your-oss-sk


alibaba.cloud.sms.access-key=your-ak
alibaba.cloud.sms.secret-key=your-sk

sms 的配置应该实现 alibaba.cloud.sms.access-key 优先于 alibaba.cloud.access-key
oss 的配置应该实现 alibaba.cloud.oss.access-key 优先于 alibaba.cloud.access-key

背景

这个场景是否大家用的多,用的多,我就想 贡献一下。


@nogeek-cn nogeek-cn added the Feature The feature request label Apr 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature The feature request
Projects
None yet
Development

No branches or pull requests

1 participant