Skip to content

Commit

Permalink
docs: added new OCI authentication configuration property type
Browse files Browse the repository at this point in the history
  • Loading branch information
erka committed Apr 5, 2024
1 parent 2f797f1 commit 7323a3e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions configuration/overview.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,7 @@ export FLIPT_CORS_ALLOWED_ORIGINS="http://localhost:3000 http://localhost:3001"
| storage.oci.bundles_directory | The directory in which to store local bundles | $config/flipt/bundles | v1.31.0 |
| storage.oci.poll_interval | The interval to poll the registry for changes | 30s | v1.31.0 |
| storage.oci.manifest_verison | The OCI manifest version to use | 1.1 | v1.39.1 |
| storage.oci.authentication.type | The type to use for authentication | static | v1.40.0 |

### Cache

Expand Down
9 changes: 9 additions & 0 deletions configuration/storage.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -504,6 +504,15 @@ See [this issue](https://github.com/flipt-io/flipt/issues/2907) for more informa

</Note>

Starting from version `1.40.0, Flipt offers two authentication methods:

- **Static**: This is the default method that uses a username and password for authentication.
- **AWS ECR**: If you're using Flipt on AWS with a private ECR repository, you could configure authentication differently.
Set either the FLIPT_STORAGE_OCI_AUTHENTICATION_TYPE environment variable or the storage.oci.authentication.type configuration property to `aws-ecr`.
Additionally, make sure your compute instance or container has an role with permissions to pull from ECR.

See [this issue](https://github.com/flipt-io/flipt/issues/2938) for more information.

### Flag State Configuration

Each of Flipt's filesystem backends expects you to represent your feature flag configuration via a set of YAML files.
Expand Down

0 comments on commit 7323a3e

Please sign in to comment.