Skip to content

Commit

Permalink
GITBOOK-637: change request with no subject merged in GitBook
Browse files Browse the repository at this point in the history
  • Loading branch information
fborsani authored and gitbook-bot committed Apr 26, 2024
1 parent fd0bde7 commit 778887f
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 0 deletions.
2 changes: 2 additions & 0 deletions SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@
## Cloud - AWS

* [AWS Infrastructure](cloud-aws/aws-infrastructure.md)
* [AWS Commands](cloud-aws/aws-commands.md)
* [Enumeration](cloud-aws/enumeration.md)

## Networking

Expand Down
19 changes: 19 additions & 0 deletions cloud-aws/aws-commands.md
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>
```
8 changes: 8 additions & 0 deletions cloud-aws/enumeration.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Enumeration

## Users

```
aws iam list-users
aws organizations describe-organization
```

0 comments on commit 778887f

Please sign in to comment.