-
-
Notifications
You must be signed in to change notification settings - Fork 480
Make accessKey and secretKey optional and add support to use IRSA Iam role #1716
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
base: main
Are you sure you want to change the base?
Changes from 1 commit
0a9223b
0733671
2c72299
bf8b27d
ae6b38b
331781d
8d10813
157f687
5161271
94c9c8a
54b36f8
600374a
350e181
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
@@ -1,6 +1,7 @@ | ||||||
import {wrapWithKeyMappedStorage} from 'app/server/lib/ExternalStorage'; | ||||||
import {appSettings} from 'app/server/lib/AppSettings'; | ||||||
import {MinIOExternalStorage} from 'app/server/lib/MinIOExternalStorage'; | ||||||
import {IamAwsProvider} from 'minio/dist/main/IamAwsProvider.js'; | ||||||
|
import {IamAwsProvider} from 'minio/dist/main/IamAwsProvider.js'; | |
import {IamAwsProvider} from 'minio/dist/main/IamAwsProvider'; |
Copilot
AI
Sep 5, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since accessKey and secretKey are now optional, there should be validation logic to ensure that when authAutoDetect is false, both accessKey and secretKey are provided. Currently, the function could return undefined values for these required credentials.
Copilot uses AI. Check for mistakes.
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What happens if we want to use accessKey + secretKey and not IRSA?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you type this property?
Import
IamAwsProvider
like inapp/server/lib/configureMinIOExternalStorage.ts
and then: