This commit is contained in:
ericyyyang 2024-04-23 00:38:08 +03:30 committed by GitHub
commit 926860e955
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 1 deletions

View File

@ -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
}