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

Fix/aws credentials #18812

Merged
merged 1 commit into from
Nov 17, 2023
Merged

Fix/aws credentials #18812

merged 1 commit into from
Nov 17, 2023

Conversation

christiancp100
Copy link
Contributor

What does it do?

It makes the accessKeyId and secretKeyId optional in the AWS S3 provider because these credentials can be omitted when strapi is deployed on and EC2 instance or on another AWS service that supports IAM Profiles instead of accessKeyId and secretAccessKey.

Why is it needed?

To support other types of authentication in the AWS provider

How to test it?

Check that if you don't pass the credentials and have an EC2 instance with another type of authentication configured, the provider works as expected

Related issue(s)/PR(s)

Closes #18718
Merged on main: #18733
Let us know if this is related to any issue/pull request

What does it do?

Describe the technical changes you did.

Why is it needed?

Describe the issue you are solving.

How to test it?

Provide information about the environment and the path to verify the behaviour.

Related issue(s)/PR(s)

#18800

@christiancp100 christiancp100 changed the base branch from develop to releases/4.15.5 November 16, 2023 09:43
@christiancp100 christiancp100 self-assigned this Nov 16, 2023
@christiancp100 christiancp100 added pr: fix This PR is fixing a bug source: providers Source is a provider package labels Nov 16, 2023
Copy link
Contributor

Size Change: +643 B (0%)

Total Size: 645 kB

Filename Size Change
examples/getstarted/build/main.********.js 638 kB +643 B (0%)
ℹ️ View Unchanged
Filename Size Change
examples/getstarted/build/bb4d0d527bdfb161bc5a.svg 2.33 kB 0 B
examples/getstarted/build/index.html 610 B +3 B (0%)
examples/getstarted/build/runtime~main.********.js 4.26 kB -3 B (0%)

compressed-size-action

@joshuaellis joshuaellis merged commit b77b41c into releases/4.15.5 Nov 17, 2023
35 of 42 checks passed
@joshuaellis joshuaellis deleted the fix/aws-credentials branch November 17, 2023 11:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr: fix This PR is fixing a bug source: providers Source is a provider package
Projects
Status: To be reviewed (Open)
Development

Successfully merging this pull request may close these issues.

"Couldn't find AWS credentials." when using EC2 Instance Profile
3 participants