Skip to content

Commit 69915c1

Browse files
committed
fix: add codeWhispererNodes error
1 parent c0c4764 commit 69915c1

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

258+
isIamConnection() {
259+
return Boolean(this.connection?.accessKey && this.connection?.secretKey)
260+
}
261+
258262
isInternalAmazonUser(): boolean {
259263
return this.isConnected() && this.connection?.startUrl === internalStartUrl
260264
}

0 commit comments

Comments
 (0)