Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No exception when getting objects with invalid credentials #1020

Open
csireszabolcs opened this issue Feb 23, 2024 · 2 comments
Open

No exception when getting objects with invalid credentials #1020

csireszabolcs opened this issue Feb 23, 2024 · 2 comments
Assignees

Comments

@csireszabolcs
Copy link

Steps To Reproduce

Add and configure MinIo client with invalid credentials (AccessKey or SecretKey)

Call GetObjectAsync:
await minioClient.GetObjectAsync(args);

No exception throws, returns ObjectStat with empty values

Expected behavior

Return AccessDeniedException
Working properly with version 6.0.1

Version

Minio 6.0.2

@ebozduman
Copy link
Collaborator

Hi @csireszabolcs,

You are right. It needs to be fixed.

@holterbades
Copy link
Contributor

It's the same issue described in #1041 with an active PullRequest #1057.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants