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

More detailed instructions for configuring AWS CLI #2305

Merged
merged 1 commit into from
Sep 29, 2024
Merged

Conversation

bemoody
Copy link
Collaborator

@bemoody bemoody commented Sep 27, 2024

Add more detailed instructions to the /settings/cloud/ page.

(Remember that the AWS stuff won't appear on that page unless you set AWS_VERIFICATION_BUCKET_NAME in .env.)

It's important to tell people that they need to enable the AmazonS3FullAccess policy. Perhaps that part is obvious to people who use AWS regularly, but to me it is extremely strange and unintuitive that if you create a user with the default settings:

  • That user is allowed to access S3 buckets in its own account, if the bucket's policy says it's okay.
  • That user is not allowed to access S3 buckets in other AWS accounts, regardless of the bucket's policy.

(Pull #2292 addresses another facet of the same issue.)

We need to tell people that they need to be using an IAM user.

We also need to tell them explicitly to enable "S3 full access": if
your user doesn't have an IAM user policy that says they can access
S3, then that user cannot access S3 resources in other AWS accounts,
regardless of those resources' policies.  (This is weird and
surprising, because you can access S3 resources in your own account in
that case; it's also weird and surprising that the default IAM user is
forbidden from doing things that anonymous users are allowed to do.)
@bemoody
Copy link
Collaborator Author

bemoody commented Sep 27, 2024

The lack of documentation is really the only blocking issue for enabling AWS verification on PhysioNet, so I'd like to enable it once we make this change.

@tompollard
Copy link
Member

This looks great, thanks Benjamin.

@tompollard tompollard merged commit 0bf86bf into dev Sep 29, 2024
8 checks passed
@tompollard tompollard deleted the bm/aws-help branch September 29, 2024 12:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants