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
Add support for ALIBABA_CLOUD_CREDENTIALS_FILE #557
Comments
|
to reuse |
|
@mowangdk The code that we would like to use is this code here: Support for reading the INI file format already exists in the code above. An example of using this code is here:
I don't believe it would take a lot of code changes since the function above is relatively small (64 lines of code). The other issue I see that would make the code easier to consume is to have a way to read the credentials from a file without setting the environment variable. If Alibaba could add an additional function or refactor the code to have an additional parameter that does not require the environment variable the consumer of these functions could pass a file object to a function which would avoid doing any environment variable setting or locking. @gujingit @menglingwei @Lyt99 @DahuK @bd233 WDYT? |
what you says did make sense, but the point does not lie in the reading of ini files. We are not use the |
|
The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
|
I think this has been fixed by #572 |
|
@jsafrane: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
It would be nice if the CSI drivers support
ALIBABA_CLOUD_CREDENTIALS_FILEenv. variable, pointing to a file with this formatThere are some traces of using such env. var + file format in vendor/github.com/aliyun/alibaba-cloud-sdk-go/sdk/auth/credentials/provider, maybe it can be reused.
The text was updated successfully, but these errors were encountered: