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

js-sdk可以用临时的AK/SK嘛 #18

Open
gaochao0411 opened this issue Oct 21, 2021 · 5 comments
Open

js-sdk可以用临时的AK/SK嘛 #18

gaochao0411 opened this issue Oct 21, 2021 · 5 comments

Comments

@gaochao0411
Copy link

看api,可以生成临时的AK/SK ,
https://support.huaweicloud.com/api-iam/iam_04_0002.html#iam_04_0002__zh-cn_topic_0222037452_request_Rq113RolePolicy

这个临时的AK/SK,可以用在js-sdk上嘛

@noaccident
Copy link
Collaborator

不好意思,暂时不支持呢。

@wenxiayili
Copy link

不好意思,暂时不支持呢。

那前端传文件,需要用到AK/SK,放前端又不安全,请问有解决方案吗?

@noaccident
Copy link
Collaborator

可以参考 #13

@noaccident noaccident reopened this Nov 7, 2021
@mack136
Copy link

mack136 commented Jul 18, 2022

你们能不能做一个跟阿里云oss一样的,通过后端获取鉴权码,然后前端再上传的机制

@mack136
Copy link

mack136 commented Jul 18, 2022

直接把ak sk放在前端代码里,等于没有安全性可言

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants