Skip to content

Commit

Permalink
Add docs for s3 blobs
Browse files Browse the repository at this point in the history
Signed-off-by: Dave Josephsen <[email protected]>
  • Loading branch information
djosephsen committed Dec 18, 2024
1 parent 0b11c6c commit 861410f
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions docs/concepts/syncs.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,21 @@ This is expected be a valid service URL accessible by flagd (either by being pub
The polling interval can be configured.
See [sync source](../reference/sync-configuration.md#source-configuration) configuration for details.

### S3 sync

The S3 sync provider fetches flags from an S3 bucket and periodically polls for flag definition updates.
It uses [AWS standardized credentials chain](https://docs.aws.amazon.com/sdkref/latest/guide/standardized-credentials.html) to authorize the calls to AWS.

```shell
flagd start --uri s3://my-bucket/my-flags.json
```

In this example, `s3://my-bucket/my-flags.json` is expected to be a valid URI accessible by flagd
(either by being public or together with the appropriate credentials read from a file or via the environment as described in the AWS docs linked above).
The polling interval is configurable.
See [sync source](../reference/sync-configuration.md#source-configuration) for details.


## Merging

Flagd can be configured to read from multiple sources at once, when this is the case flagd will merge all flag definition into a single
Expand Down

0 comments on commit 861410f

Please sign in to comment.