zed icon indicating copy to clipboard operation
zed copied to clipboard

Agent Panel: It is impossible to reset an Amazon bedrock key pair once they have been set.

Open gillespied opened this issue 8 months ago • 2 comments

Summary

It is impossible to reset an Amazon bedrock key pair once they have been set.

Description

From a fresh install input some dummy keys for an Amazon Bedrock Assistant. You now cannot modify them as the reset key button is inactive and displays a message.

Steps to trigger the problem:

  1. Enter an bedrock key and secret
  2. Try to press the reset key
  3. You cannot and a message "You cannot reset credentials as they're being derived, check Zed settings to understand how" is displayed in a pop up.
Image

Checking zed settings, there is nothing about a bedrock key pair to change.

Image

I have no ZED_AWS_* envs present

Image

Actual Behavior: I am unable to change a bedrock key pair Expected Behavior: I am able to change a bedrock key pair

Zed Version and System Specs

Zed: v0.181.6 (Zed) OS: macOS 15.4.0 Memory: 16 GiB Architecture: aarch64

gillespied avatar Apr 14 '25 16:04 gillespied

I can reproduce. There is currently no validation of keys and if you enter invalid ones there is no way to reset the authentication flow in-app and try again.

As a workaround you can manually delete the "https://amazonaws.com" entry in Keychain Access and restart Zed.

CC: @5herlocked

notpeter avatar Apr 17 '25 00:04 notpeter

  • https://github.com/zed-industries/zed/pull/28350

5herlocked avatar Apr 17 '25 02:04 5herlocked

Closed given fixed

morgankrey avatar Nov 10 '25 21:11 morgankrey