Skip to content

Q IntelliJ plugin does not work if ~/.aws/config is not writable #2408

Description

@SimSaladin

When using home-manager options to setup ~/.aws/config, the file is made immutable. This breaks (at least) the SSO login in IntelliJ, although the necessary config options are all already in place in the file.

To reproduce

  1. Ensure ~/.aws/config is properly configured for Q
  2. chmod a-w ~/.aws/config
  3. Open Q in IntelliJ and attempt to login (with SSO)
  4. See that the plugin throws an error about not being able to write AWS config
  5. Close the error; plugin returns back to the beginning login screen

Expected behavior

Login succeeds and opens the Q chat.

Your Environment

  • IntelliJ 2025.2
  • Amazon Q 3.94.252
  • OS: NixOS 25.11

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions