dorky 2.3.7 → 2.3.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +27 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -35,8 +35,32 @@ npx dorky --help
|
|
|
35
35
|
### AWS S3
|
|
36
36
|
|
|
37
37
|
1. Create an S3 bucket in your AWS account
|
|
38
|
-
2.
|
|
39
|
-
3.
|
|
38
|
+
2. Create an IAM user with programmatic access
|
|
39
|
+
3. Attach the following IAM policy to the user (replace `your-bucket-name` with your actual bucket name):
|
|
40
|
+
|
|
41
|
+
```json
|
|
42
|
+
{
|
|
43
|
+
"Version": "2012-10-17",
|
|
44
|
+
"Statement": [
|
|
45
|
+
{
|
|
46
|
+
"Effect": "Allow",
|
|
47
|
+
"Action": [
|
|
48
|
+
"s3:PutObject",
|
|
49
|
+
"s3:GetObject",
|
|
50
|
+
"s3:DeleteObject",
|
|
51
|
+
"s3:ListBucket"
|
|
52
|
+
],
|
|
53
|
+
"Resource": [
|
|
54
|
+
"arn:aws:s3:::your-bucket-name",
|
|
55
|
+
"arn:aws:s3:::your-bucket-name/*"
|
|
56
|
+
]
|
|
57
|
+
}
|
|
58
|
+
]
|
|
59
|
+
}
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
4. Generate AWS credentials (Access Key ID and Secret Access Key) for the IAM user
|
|
63
|
+
5. Set up environment variables:
|
|
40
64
|
|
|
41
65
|
```bash
|
|
42
66
|
export AWS_ACCESS_KEY="your-access-key"
|
|
@@ -356,6 +380,7 @@ ISC License - see [LICENSE](LICENSE) file for details.
|
|
|
356
380
|
|
|
357
381
|
## Roadmap
|
|
358
382
|
|
|
383
|
+
- [x] Update README with AWS IAM policy (bug fix release)
|
|
359
384
|
- [ ] Handle invalid access token for Google Drive (edge cases)
|
|
360
385
|
- [ ] Extension for VS Code to list and highlight them like git (Major release)
|
|
361
386
|
- [ ] Uninitialize dorky setup (Bug fix release)
|