Skip to content

Commit

Permalink
add doc example (#1714)
Browse files Browse the repository at this point in the history
  • Loading branch information
yec-akamai authored Jan 15, 2025
1 parent 2c17c5f commit 8c5ed5a
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions docs/resources/object_storage_key.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,26 @@ resource "linode_object_storage_key" "foobar" {
}
```

The following example shows how to grant a key the explicit access to multiple buckets.

```hcl
resource "linode_object_storage_key" "foo" {
label = "image-access"
bucket_access {
bucket_name = "foobar1"
cluster = "us-east-1"
permissions = "read_write"
}
bucket_access {
bucket_name = "foobar2"
cluster = "us-east-1"
permissions = "read_write"
}
}
```

## Argument Reference

The following arguments are supported:
Expand Down

0 comments on commit 8c5ed5a

Please sign in to comment.