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 754f87e commit 6722fb3Copy full SHA for 6722fb3
packages/core/src/codewhisperer/util/authUtil.ts
@@ -259,6 +259,10 @@ export class AuthUtil implements IAuthProvider {
259
return Boolean(this.connection?.startUrl && this.connection?.startUrl !== builderIdStartUrl)
260
}
261
262
+ isIamConnection() {
263
+ return Boolean(this.connection?.accessKey && this.connection?.secretKey)
264
+ }
265
+
266
isInternalAmazonUser(): boolean {
267
return this.isConnected() && this.connection?.startUrl === internalStartUrl
268
0 commit comments