clowder icon indicating copy to clipboard operation
clowder copied to clipboard

Search for exact match on object store bucket name

Open bsquizz opened this issue 1 year ago • 1 comments

We ran into an issue where an app team had two bucket configurations for s3 object storage, similar to this:

my-secret-temp my-secret

The requested bucket name was my-secret, but they were provided the credentials of my-secret-temp.

I'm not aware of a need to use strings.Prefix when searching for the bucket name, so we can instead just do a simple == comparison.

bsquizz avatar Apr 08 '25 17:04 bsquizz

This is good, but can potentially break every/any service that relies on partial match

gburges avatar Apr 10 '25 12:04 gburges