Skip to content

Commit 6722fb3

Browse files
committed
fix: add codeWhispererNodes error
1 parent 754f87e commit 6722fb3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

packages/core/src/codewhisperer/util/authUtil.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,10 @@ export class AuthUtil implements IAuthProvider {
259259
return Boolean(this.connection?.startUrl && this.connection?.startUrl !== builderIdStartUrl)
260260
}
261261

262+
isIamConnection() {
263+
return Boolean(this.connection?.accessKey && this.connection?.secretKey)
264+
}
265+
262266
isInternalAmazonUser(): boolean {
263267
return this.isConnected() && this.connection?.startUrl === internalStartUrl
264268
}

0 commit comments

Comments
 (0)