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 c0c4764 commit 69915c1Copy full SHA for 69915c1
packages/core/src/codewhisperer/util/authUtil.ts
@@ -255,6 +255,10 @@ export class AuthUtil implements IAuthProvider {
255
return Boolean(this.connection?.startUrl && this.connection?.startUrl !== builderIdStartUrl)
256
}
257
258
+ isIamConnection() {
259
+ return Boolean(this.connection?.accessKey && this.connection?.secretKey)
260
+ }
261
+
262
isInternalAmazonUser(): boolean {
263
return this.isConnected() && this.connection?.startUrl === internalStartUrl
264
0 commit comments