-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GITBOOK-637: change request with no subject merged in GitBook
- Loading branch information
1 parent
fd0bde7
commit 778887f
Showing
3 changed files
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# AWS Commands | ||
|
||
|
||
|
||
## Buckets | ||
|
||
### Generate a presigned url | ||
|
||
Create a presigned resource url. This allows to access the resource even if hosted in a private bucket simply by following the generated URL. | ||
|
||
``` | ||
aws s3 presign s3://<bucket>/<path to resource> --expires-in 604800 | ||
``` | ||
|
||
For buckets created after It is necessary to provide an endpoint and a region. | ||
|
||
``` | ||
aws s3 presign s3://<bucket>/<path to resource> --expires-in 604800 --region <region> --endpoint-url <endpoint url> | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# Enumeration | ||
|
||
## Users | ||
|
||
``` | ||
aws iam list-users | ||
aws organizations describe-organization | ||
``` |