Clarify bucket environment variables
This commit is contained in:
parent
02eeac15df
commit
f93e7d156d
@ -90,8 +90,8 @@ Installation
|
|||||||
}]
|
}]
|
||||||
```
|
```
|
||||||
- Store configuration
|
- Store configuration
|
||||||
- `NEXT_PUBLIC_S3_BUCKET`
|
- Bucket name: `NEXT_PUBLIC_S3_BUCKET`
|
||||||
- `NEXT_PUBLIC_S3_REGION`
|
- Bucket region: `NEXT_PUBLIC_S3_REGION`
|
||||||
2. [Create IAM policy](https://console.aws.amazon.com/iam/home#/policies) for client uploads (JSON editor recommended)
|
2. [Create IAM policy](https://console.aws.amazon.com/iam/home#/policies) for client uploads (JSON editor recommended)
|
||||||
- Action: `s3:PutObject`, `s3:PutObjectACL`
|
- Action: `s3:PutObject`, `s3:PutObjectACL`
|
||||||
- Resource: `arn:aws:s3:::{BUCKET_NAME}/upload-*`
|
- Resource: `arn:aws:s3:::{BUCKET_NAME}/upload-*`
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user