Skip to content

Whitelist providers in configuration #1653

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
alambare opened this issue May 13, 2025 · 0 comments
Open

Whitelist providers in configuration #1653

alambare opened this issue May 13, 2025 · 0 comments
Assignees
Labels
dedl DEDL related enhancement New feature or request

Comments

@alambare
Copy link
Collaborator

alambare commented May 13, 2025

Is your feature request related to a problem? Please describe.

It is very frustrating that when we use eodag, all the default providers are enabled. Some even without being configured because they do not need configuration to search. It is hard to have the control of the exact list of providers used.

Describe the solution you'd like

White-listing would provide a robust solution to control used providers even over EODAG updates.

A environement variable called EODAG_PROVIDERS_WHITELIST to whitelist providers in EODAG. Any provider not included in the list would be excluded (even if the provider is configured).

Example:

EODAG_PROVIDERS_WHITELIST=cop_cds,cop_dataspace,creodias

Describe alternatives you've considered

The split of providers into multiple files and removing the files of unwanted providers. However, this keep the burden of maintaining the curated list over EODAG updates.

Additional context

This is particularly useful with stac-fastapi-eodag in production where we want to have the control on providers.

@alambare alambare added enhancement New feature or request dedl DEDL related labels May 13, 2025
@bjgiraudon bjgiraudon self-assigned this May 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dedl DEDL related enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants