You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is not how Symfony bundles typically do this because it creates a hard requirement the credentials need to be in env vars, which is not what what you want to do.
A better approach is to use the bundle's config, like so
but they can choose other ways to do it to, like Symfony secrets.
Extending this idea, a further optimization would be to bundle the ID/key in one param, a sort of a DSN like Doctrine and other Symfony components use. This allows storing the entire thing as a secret and keeping it all together.
The text was updated successfully, but these errors were encountered:
Description
Currently, the client definition looks like this
This is not how Symfony bundles typically do this because it creates a hard requirement the credentials need to be in env vars, which is not what what you want to do.
A better approach is to use the bundle's config, like so
This allows the developer to still use env:
but they can choose other ways to do it to, like Symfony secrets.
Extending this idea, a further optimization would be to bundle the ID/key in one param, a sort of a DSN like Doctrine and other Symfony components use. This allows storing the entire thing as a secret and keeping it all together.
The text was updated successfully, but these errors were encountered: