69c6020214
2.增加阿里(rali) 验签请求加密方式
14 lines
397 B
Go
14 lines
397 B
Go
package credentials
|
|
|
|
type AliAppcodeCredential struct {
|
|
AccessKeyId string `json:"access_key_id" yaml:"access_key_id"`
|
|
AccessKeySecret string `json:"access_key_secret" yaml:"access_key_secret"`
|
|
}
|
|
|
|
func NewAliAppcodeCredential(accessKeyId, accessKeySecret string) *AliAppcodeCredential {
|
|
return &AliAppcodeCredential{
|
|
AccessKeyId: accessKeyId,
|
|
AccessKeySecret: accessKeySecret,
|
|
}
|
|
}
|