对象存储服务 OBS-更新配置文件:运行示例

时间:2025-02-12 15:12:10

运行示例

  • 以Windows操作系统为例,运行obsutil config -interactive,更新默认配置文件的访问密钥和OBS服务地址。
    obsutil config -interactivePlease input your ak:xxxxxxxxxxxxxxxxxxxxxxxxxPlease input your sk:xxxxxxxxxxxxxxxxxxxxxxxxxPlease input your endpoint:xxxxxxxxxxxxxxxxxxxxxxxxxPlease input your token:xxxxxxxxxxxxxxxxxxxxxxxxxConfig file url:  C:\Users\tools\.obsutilconfigUpdate config file successfully!
  • 以Linux操作系统为例,运行./obsutil config -interactive,更新默认配置文件的访问密钥和OBS服务地址。
    ./obsutil config -interactivePlease input your ak:xxxxxxxxxxxxxxxxxxxxxxxxxPlease input your sk:xxxxxxxxxxxxxxxxxxxxxxxxxPlease input your endpoint:xxxxxxxxxxxxxxxxxxxxxxxxxPlease input your token:xxxxxxxxxxxxxxxxxxxxxxxxxConfig file url:  /root/.obsutilconfigUpdate config file successfully!
support.huaweicloud.com/utiltg-obs/obs_11_0023.html
提示

您即将访问非华为云网站,请注意账号财产安全