Skip to content

fix: use secure protocol when endpoint is unspecified#33

Open
pilaoda wants to merge 2 commits into
devsapp:masterfrom
pilaoda:master
Open

fix: use secure protocol when endpoint is unspecified#33
pilaoda wants to merge 2 commits into
devsapp:masterfrom
pilaoda:master

Conversation

@pilaoda
Copy link
Copy Markdown

@pilaoda pilaoda commented Apr 29, 2023

return new FC(credentials.AccountID, {
accessKeyID: credentials.AccessKeyID,
accessKeySecret: credentials.AccessKeySecret,
securityToken: credentials.SecurityToken,
region,
timeout,
endpoint,
});

使用serverless-dev的s deploy时,这里的endpoint固定是http,无法配置,更新函数会泄漏环境变量

image

pilaoda added 2 commits April 29, 2023 23:26
Signed-off-by: pilaoda <793493083@qq.com>
Signed-off-by: pilaoda <793493083@qq.com>
@pilaoda
Copy link
Copy Markdown
Author

pilaoda commented May 10, 2023

@wss-git @heimanba 有大佬在维护吗?这个没修用着没安全感

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

Successfully merging this pull request may close these issues.

1 participant