mirror of
https://github.com/OpenSignLabs/OpenSign.git
synced 2026-08-25 00:52:34 +02:00
Update s3.md
This commit is contained in:
@@ -4,7 +4,7 @@ title: AWS S3
|
||||
## You can create an AWS S3 bucket to store your uploaded documents using OpenSign™
|
||||
|
||||
### AWS S3 -
|
||||
- Step 1 : Create a S3 bucket
|
||||
- **Step 1 : Create a S3 bucket**
|
||||
- Login to [AWS console](https://aws.amazon.com/console/)
|
||||
- Navigate to S3 under services.
|
||||

|
||||
@@ -42,20 +42,23 @@ title: AWS S3
|
||||
}
|
||||
]
|
||||
```
|
||||
- Once done go to "Properties" there you will see region of bucket e.g us-east-1
|
||||
- set bucktname as "DO_SPACE" in ENV.
|
||||
- set region as "DO_REGION" in ENV.
|
||||
- Replace region in this url `s3.region.amazonaws.com` and set it as "DO_ENDPOINT" in ENV.
|
||||
- Replace bucketName and region in this url `https://bucketName.s3.region.amazonaws.com` and set us as "DO_BASEURL" in ENV.
|
||||
- Step 2 : Create a aws policy
|
||||
- Once completed, navigate to "Properties," where you'll find the bucket region (e.g., us-east-1).
|
||||
- Set the bucket name you created in step 1 as the value for "DO_SPACE" in the ENV file.
|
||||
- Assign the region value to the "DO_REGION" variable in the ENV file.
|
||||
- Replace the region in the URL s3.region.amazonaws.com and set it as "DO_ENDPOINT" in the ENV file.
|
||||
- Replace both the bucket name and region in the URL https://bucketName.s3.region.amazonaws.com and set it as "DO_BASEURL" in the ENV file.
|
||||
|
||||
- **Step 2 : Create a aws policy**
|
||||
- Navigate to IAM under services
|
||||

|
||||
- Now click on "Polices" from left side "access management" menu.
|
||||
- Hit "Create Policy" button on upper right corner.
|
||||

|
||||
- Search for S3 and Tick PutObject and GetObject from Action Allowed list.
|
||||
- Search for S3 and Tick "PutObject" and "GetObject" from "Specify permissions" screen.
|
||||

|
||||

|
||||
- Select "All" under Resources
|
||||

|
||||
- provide policy name and hit on 'Create Policy".
|
||||

|
||||
- Step 3 : Create IAM user.
|
||||
@@ -64,17 +67,18 @@ title: AWS S3
|
||||
- Provide username and click on Next button.
|
||||
- Now select "Attach policies directly" from Permissions options.
|
||||

|
||||
- Now search policy in "Permission Policies" section which we have created in previous step.
|
||||
- Now, search for the policy we created in the previous step within the "Permissions Policies" section.
|
||||

|
||||
- Now scroll down and Click on "Create User" Button.
|
||||
- Step 4 : Generate Credentials
|
||||
- Now Click on username form list which we have created in previous step.
|
||||
- Navigate to "Security credentials".
|
||||
- Click on "Create Access Key" from right corner.
|
||||

|
||||
- In the next step select "Application running outside AWS".
|
||||

|
||||
- In the next step you will see "Access key" and "Secret Access key". Copy both the values.
|
||||
- Set the value of "Access key" to "DO_ACCESS_KEY_ID" environment variable.
|
||||
- Set the value of "Secret Access key" to "DO_SECRET_ACCESS_KEY" environment variable.
|
||||
Visit below link if you face any issues while following the above instructions -
|
||||
- https://repost.aws/knowledge-center/create-access-key
|
||||
- In the next step, you will see the "Access key" and "Secret Access key." Copy both values.
|
||||
- Assign the "Access key" value to the "DO_ACCESS_KEY_ID" environment variable.
|
||||
- Assign the "Secret Access key" value to the "DO_SECRET_ACCESS_KEY" environment variable.
|
||||
|
||||
If you encounter any issues while following these instructions, refer to the link below: - https://repost.aws/knowledge-center/create-access-key
|
||||
|
||||
Reference in New Issue
Block a user