We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 255214c commit 996497eCopy full SHA for 996497e
packages/core/src/codewhisperer/util/authUtil.ts
@@ -262,6 +262,10 @@ export class AuthUtil implements IAuthProvider {
262
return Boolean(this.connection?.startUrl && this.connection?.startUrl !== builderIdStartUrl)
263
}
264
265
+ isIamConnection() {
266
+ return Boolean(this.connection?.accessKey && this.connection?.secretKey)
267
+ }
268
+
269
isInternalAmazonUser(): boolean {
270
return this.isConnected() && this.connection?.startUrl === internalStartUrl
271
0 commit comments