mirror of https://github.com/goharbor/harbor.git
Support_tencent_cam_international_station
It needs to be compatible with Tencent CAM International Station. The SecretID starts with IK. Signed-off-by: ericyyyang2 <ericyyyang@tencent.com>
This commit is contained in:
parent
950fc06a87
commit
8459175954
|
@ -96,5 +96,6 @@ func (q *qcloudAuthCredential) getTempInstanceToken() (err error) {
|
|||
}
|
||||
|
||||
func isSecretID(key string) (ok bool) {
|
||||
return strings.Index(key, "AKID") == 0
|
||||
return strings.Index(key, "AKID") == 0 || strings.Index(key, "IK") == 0
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue