Huawei Cloud Toolkit Platform 是一款华为云提供的 VS Code 插件。
致力于为华为云在 VSCode 平台的各类云服务插件提供公共能力。
在本插件中,我们提供了如下功能:
- 为所有 Huawei Cloud Toolkit 插件提供单点登录
- 为所有 Huawei Cloud Toolkit 插件提供能访问华为云服务的 API
- 为所有 Huawei Cloud Toolkit 插件提供 UI 集成能力
更多功能正在开发中,敬请期待。
版本要求
VS Code Version 1.60+ (including)
安装插件
1. 打开 VS Code 并进入插件市场。
2. 在插件市场中搜索 "Huawei Cloud Toolkit Platform", 查看详情并安装。
3. 重启 VS Code, Huawei Cloud Toolkit Platform 插件会出现在已安装的插件列表中。
操作指南
1. 点击 VS Code 左下角管理
-> 命令面板
,展开命令面板。
2. 搜索Huawei Cloud Toolkit: Login
,点击之后右侧会出现登录页面。
您可以使用华为帐号、华为云AK/SK或其他帐号(如CSDN帐号)登录。
点击华为云AK/SK登录
按钮,进入 AK/SK 登录页面,可以输入 AK/SK 并进行登录操作。如果没有 AK/SK,可按照面板下方提示如何获取AK/SK?
前往获取。
3. 搜索Huawei Cloud Toolkit: Login Overview
,可以查看当前登录状态,没有登录会显示登录页面。
插件初始化后,会自动尝试登录上次未注销的账号。
4. 搜索Huawei Cloud Toolkit: Logout
,点击之后会退出登录。
5. 登录之后可以通过 VsCode 左下角账户
-> 华为云Toolkit认证授权管理
-> 管理受信任的扩展
,管理您允许使用华为云账户的插件。
点击注销
会退出登录。
使用到的公网地址
- 注册华为账号:https://reg.huaweicloud.com/registerui/cn/register.html#/register
- 获取华为云账号 AK/SK:https://console.huaweicloud.com/iam/?region=cn-north-4#/mine/accessKey
- 访问华为云统一身份认证服务文档:https://support.huaweicloud.com/qs-iam/iam_01_0034.html
- 华为云隐私政策声明:https://www.huaweicloud.com/declaration/sa_prp.html
- 华为云 CodeArts 服务网址:https://devcloud.cn-north-4.huaweicloud.com
- 华为云统一身份认证服务公网接口域名:https://iam.myhuaweicloud.com
- 华为云 CodeArts IDE Online 公网接口域名:https://cloudide.cn-north-4.myhuaweicloud.com
- Devpress 官方社区网址:https://devpress.csdn.net
- 华为云 APIExplorer 服务公网接口域名:https://apiexplorer.cn-north-4.myhuaweicloud.com
注: 插件当前仅支持华为云中国站配套的云服务,国际站或中国站用户如果购买了配套的中国站云服务,您的数据将储存在中国大陆;具体详见《隐私政策声明》
Huawei Cloud Toolkit Platform is a VS Code extension provided by HUAWEI CLOUD.
It provides public capabilities for various service extensions of HUAWEI CLOUD.
In this extension, we provide the following functions:
- Provide SSO capability for all HUAWEI CLOUD Toolkit extensions
- Provide APIs for all HUAWEI CLOUD Toolkit extensions to access HUAWEI CLOUD services
- Provide UI integration capability for all HUAWEI CLOUD Toolkit extensions
More features are under development, please stay tuned.
Version Requirements
VS Code Version 1.60+ (including)
Install extension
1. Open VS Code and enter the extension marketplace.
2. Search for "Huawei Cloud Toolkit Platform" in the extension marketplace, check the details and install it.
3. Restart VS Code, and Huawei Cloud Toolkit Platform extension will be displayed in the list of installed extensions.
Instructions
1. Click Manage
-> Command Palette
in the lower left corner of VS Code to expand the Command Palette.
2. Search for Huawei Cloud Toolkit: Login
, after clicking, the login page will appear on the right.
You can use your Huawei ID, HUAWEI CLOUD AK/SK, or another account (such as a CSDN account) to log in.
Click HUAWEI CLOUD AK/SK Login
. The AK/SK login page is displayed. You can enter AK/SK and log in. If you don't have AK/SK, you can follow the prompt at the bottom of the panel How to get AK/SK?
to get it.
3. Search for Huawei Cloud Toolkit: Login Overview
, you can view the current login status. If you have not logged in, the login page is displayed.
After the extension is initialized, it will automatically attempt to log in to the account that was not logged out last time.
4. Search for Huawei Cloud Toolkit: Logout
, click to log out.
5. After logging in, you can use Account
-> HUAWEI CLOUD Toolkit Authentication and Authorization Management
-> Manage Trusted Extensions
in the lower left corner of VsCode to manage the extensions that you are allowed to use with your HUAWEI CLOUD account.
Clicking Sign Out
will log out your Huawei Cloud Account.
Public Network Addresses we used
Note: Currently, this extension supports only the cloud services of HUAWEI CLOUD China site. If you have purchased the cloud services of HUAWEI CLOUD China site or China site, your data will be stored in Chinese Mainland. For details, see the Privacy Policy Statement.