Skip to content
This repository has been archived by the owner on Nov 17, 2021. It is now read-only.

配置文件管理

木休大人 edited this page Feb 15, 2017 · 7 revisions

🚀 目录位置

  • OSX: ~/.bce/config.json
  • Win32: %HOMEPATH%/.bce/config.json

🚀 配置结构

{
	"endpoint": {
		"bj": "http://bj.xxx.xxx",
		"gz": "http://gz.xxx.xxx"
	},
	"credentials": {
		"ak": "123123",
		"sk": "123123"
	}
}

明文保存AK/SK是一种不安全的行为,所以默认配置中不包含credentials,如果需要请自行添加配置。

Clone this wiki locally