Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 10 additions & 7 deletions docs/buckets/public-bucket.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,16 +42,19 @@ Now, anyone can read this file without authentication.

### Public bucket domains

Every public bucket is automatically served over three Tigris-managed domains.
Every public bucket is automatically served over several Tigris-managed domains.
Using `foo-public-bucket` as an example, the bucket is accessible at:

| Domain | Example URL |
| -------------------------------- | ------------------------------------------------------ |
| `BUCKET_NAME.t3.tigrisblob.io` | `https://foo-public-bucket.t3.tigrisblob.io/bar.txt` |
| `BUCKET_NAME.t3.tigrisfiles.io` | `https://foo-public-bucket.t3.tigrisfiles.io/bar.txt` |
| `BUCKET_NAME.t3.tigrisbucket.io` | `https://foo-public-bucket.t3.tigrisbucket.io/bar.txt` |
| Domain | Example URL |
| ------------------------------------ | ---------------------------------------------------------- |
| `BUCKET_NAME.fly.storage.tigris.dev` | `https://foo-public-bucket.fly.storage.tigris.dev/bar.txt` |
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok so the anonymous access for public access only works on the new .io domains for new users.

The customer in question is an existing customer who are not restricted. So probably this tigris.dev domain doesn't need to be here.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe this comment was on an outdated version?

| `BUCKET_NAME.t3.tigrisblob.io` | `https://foo-public-bucket.t3.tigrisblob.io/bar.txt` |
| `BUCKET_NAME.t3.tigrisfiles.io` | `https://foo-public-bucket.t3.tigrisfiles.io/bar.txt` |
| `BUCKET_NAME.t3.tigrisbucket.io` | `https://foo-public-bucket.t3.tigrisbucket.io/bar.txt` |

All three domains serve the same content and are interchangeable.
All domains serve the same content without authentication and are
interchangeable. The `fly.storage.tigris.dev` domain is available for buckets
created through Fly.io.

:::warning

Expand Down
25 changes: 25 additions & 0 deletions docs/sdks/fly/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,31 @@ By default, buckets are private. You can create a public bucket by passing the
fly storage create --public
```

### Accessing objects in a public bucket

Objects in a public bucket can be read by anyone without authentication. Each
public bucket is accessible at `bucket-name.fly.storage.tigris.dev`:

```text
https://bucket-name.fly.storage.tigris.dev/path/to/object.jpg
```

For example, if you created a public bucket called `my-assets` and uploaded
`logo.png`, anyone can access it at:

```text
https://my-assets.fly.storage.tigris.dev/logo.png
```

No credentials or signed URLs are needed — the URL works directly in a browser,
`curl`, `wget`, `<img>` tags, etc.

Public buckets are also accessible via the Tigris-managed domains
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 'the' before 'Tigris' violates naming convention

Per the project's documentation style rule, the definite article 'the' should not appear directly before 'Tigris'. Rephrase "the Tigris-managed domains" to drop the article.

Suggested change
Public buckets are also accessible via the Tigris-managed domains
Public buckets are also accessible via Tigris-managed domains

Rule Used: Don't use the definite article 'the' before 'Tigri... (source)

Learnt From
tigrisdata/tigris-os-docs#262

Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!

(`bucket-name.t3.tigrisblob.io`, `bucket-name.t3.tigrisfiles.io`,
`bucket-name.t3.tigrisbucket.io`). See the
[Public Bucket](/docs/buckets/public-bucket/) guide for full details including
custom domains.

### Updating bucket public access

You can make a private bucket public or a public bucket private by using the
Expand Down
Loading