Skip to content

Commit aa6897c

Browse files
Merge pull request #719 from humanmade/41-adding-best-practices-for-managing-AWS-access-keys
Added a line to link best practices for managing AWS access keys
2 parents ec5cac0 + 3d0e5cc commit aa6897c

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,21 +57,23 @@ Once you've installed the plugin, add the following constants to your `wp-config
5757
define( 'S3_UPLOADS_BUCKET', 'my-bucket' );
5858
define( 'S3_UPLOADS_REGION', '' ); // the s3 bucket region (excluding the rest of the URL)
5959

60-
// You can set key and secret directly:
60+
// You can set access key and secret directly:
6161
define( 'S3_UPLOADS_KEY', '' );
6262
define( 'S3_UPLOADS_SECRET', '' );
6363

6464
// Or if using IAM instance profiles, you can use the instance's credentials:
6565
define( 'S3_UPLOADS_USE_INSTANCE_PROFILE', true );
6666
```
67-
Please refer to this region list http://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region for the S3_UPLOADS_REGION values.
67+
Please refer to this [Region list](http://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region) for the S3_UPLOADS_REGION values.
6868

6969
Use of path prefix after the bucket name is allowed and is optional. For example, if you want to upload all files to 'my-folder' inside a bucket called 'my-bucket', you can use:
7070

7171
```PHP
7272
define( 'S3_UPLOADS_BUCKET', 'my-bucket/my-folder' );
7373
```
7474

75+
Please refer to this document outlining [Best Practices for managing AWS access keys](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html#securing_access-keys)
76+
7577
You must then enable the plugin. To do this via WP-CLI use command:
7678

7779
```

0 commit comments

Comments
 (0)