Skip to content
Discussion options

You must be logged in to vote

Hi @nsepetys,

Glad that you found the secrets backend useful.

The main reason we don't raise ParameterNotFound for AWS secrets backend (SystemsManagerParameterStoreBackend and SecretsManagerBackend) is so that we can fallback to getting variables or Connections via Environment Variables and then Metadata Database.

For example, for Airflow Variables:

We do a similar thing for Hashicorp Vault and GoogleCloud Secrets Backend but as they don't raise an error, we just return None (e.g

def get_config(self, key: str) -> Optional[str]:
"""
Get Airflow Configuration
:pa…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@nsepetys
Comment options

Answer selected by nsepetys
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants