mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-26 03:33:58 -05:00
Fix order list
This commit is contained in:
parent
2b2c593531
commit
1f409197c3
1 changed files with 29 additions and 29 deletions
|
@ -12,19 +12,19 @@
|
||||||
|
|
||||||
![bucket-policy-editor](images/s3-image-upload/bucket-policy-editor.png)
|
![bucket-policy-editor](images/s3-image-upload/bucket-policy-editor.png)
|
||||||
|
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"Version": "2012-10-17",
|
"Version": "2012-10-17",
|
||||||
"Statement": [
|
"Statement": [
|
||||||
{
|
{
|
||||||
"Effect": "Allow",
|
"Effect": "Allow",
|
||||||
"Principal": "*",
|
"Principal": "*",
|
||||||
"Action": "s3:GetObject",
|
"Action": "s3:GetObject",
|
||||||
"Resource": "arn:aws:s3:::bucket_name/uploads/*"
|
"Resource": "arn:aws:s3:::bucket_name/uploads/*"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
4. Go to IAM console and create a new IAM user. Remember your user credentials(`key`/`access token`)
|
4. Go to IAM console and create a new IAM user. Remember your user credentials(`key`/`access token`)
|
||||||
|
|
||||||
|
@ -40,22 +40,22 @@
|
||||||
|
|
||||||
![review-policy](images/s3-image-upload/review-policy.png)
|
![review-policy](images/s3-image-upload/review-policy.png)
|
||||||
|
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"Version": "2012-10-17",
|
"Version": "2012-10-17",
|
||||||
"Statement": [
|
"Statement": [
|
||||||
{
|
{
|
||||||
"Effect": "Allow",
|
"Effect": "Allow",
|
||||||
"Action": [
|
"Action": [
|
||||||
"s3:*"
|
"s3:*"
|
||||||
],
|
],
|
||||||
"Resource": [
|
"Resource": [
|
||||||
"arn:aws:s3:::bucket_name/uploads/*"
|
"arn:aws:s3:::bucket_name/uploads/*"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
## Related Tools
|
## Related Tools
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue