diff --git a/src/pkg/reg/adapter/tencentcr/auth.go b/src/pkg/reg/adapter/tencentcr/auth.go index b905628c6..9a7d64771 100644 --- a/src/pkg/reg/adapter/tencentcr/auth.go +++ b/src/pkg/reg/adapter/tencentcr/auth.go @@ -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 + }