Skip to content

Commit

Permalink
Merge pull request #239 from jnywong/aws-object-storage
Browse files Browse the repository at this point in the history
Add export AWS_PROFILE command
  • Loading branch information
jnywong authored Jul 4, 2024
2 parents a440937 + 39d7609 commit 4ab96f0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
10 changes: 8 additions & 2 deletions user/topics/data/object-storage/manage-object-storage-aws.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export PATH=$HOME/.local/aws/dist:$PATH
```

:::{note}
The following examples are for managing objects in a scratch bucket using the `$SCRATCH_BUCKET` environment variable. For persistent buckets, this can be replaced with the `$PERSISTENT_BUCKET` environment variable.
The following examples are for managing objects in a scratch bucket using the `$SCRATCH_BUCKET` environment variable. For persistent buckets, this can be replaced with the `$PERSISTENT_BUCKET` environment variable. See [Scratch versus Persistent Buckets](index.md/#scratch-versus-persistent-buckets-on-a-2i2c-hub).
:::

(object-storage:list-prefixes)=
Expand Down Expand Up @@ -166,7 +166,13 @@ The following workflow assumes you have a Unix-like operating system from outsid
See the [FAQs](#faqs) below for how to find the data center location of your hub.
```
1. Define the `$SCRATCH_BUCKET` environment variable on your *local machine*
1. Define the `AWS_PROFILE` environment variable on your *local machine*
```bash
AWS_PROFILE=<profile_name>
```
1. Define the `$SCRATCH_BUCKET` environment variable
```bash
SCRATCH_BUCKET=s3://<bucket_name>/<username>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ If installing the package kills your server, then try using a server with a more
```

```{note}
The following examples are for managing objects in a scratch bucket using the `$SCRATCH_BUCKET` environment variable. For persistent buckets, this can be replaced with the `$PERSISTENT_BUCKET` environment variable.
The following examples are for managing objects in a scratch bucket using the `$SCRATCH_BUCKET` environment variable. For persistent buckets, this can be replaced with the `$PERSISTENT_BUCKET` environment variable. See [Scratch versus Persistent Buckets](index.md/#scratch-versus-persistent-buckets-on-a-2i2c-hub).
```

### List prefixes within a GCP bucket
Expand Down

0 comments on commit 4ab96f0

Please sign in to comment.