Skip to content

Commit 996497e

Browse files
committed
fix: add codeWhispererNodes error
1 parent 255214c commit 996497e

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
@@ -262,6 +262,10 @@ export class AuthUtil implements IAuthProvider {
262262
return Boolean(this.connection?.startUrl && this.connection?.startUrl !== builderIdStartUrl)
263263
}
264264

265+
isIamConnection() {
266+
return Boolean(this.connection?.accessKey && this.connection?.secretKey)
267+
}
268+
265269
isInternalAmazonUser(): boolean {
266270
return this.isConnected() && this.connection?.startUrl === internalStartUrl
267271
}

0 commit comments

Comments
 (0)