#Nukesforbreakfast
1 messages · Page 1 of 1 (latest)
Yep certainly possible
And hello 🙂
We don't really have docs on this as it is the same as setting any other environment variables
are there some generic env var docs I missed?
I was looking at the README in the stripe-python github repo.
Nope no generic Stripe env var doc
I'm not very familiar with Python but I assume there are lots of docs from googling how to set environment variables with python?
Yes I know how to set environment variables. Sorry my question wasn't clear: I was wondering if the Stripe Python SDK natively has an environment variable it will look for to set the stripe.api_key. So I could just set STRIPE_API_KEY in CI/CD and any instantiation of the stripe SDKs would use that automatically.
similar to how a lot of the AWS SDKs have a series of environment variables they check automatically to see if they can pull credentials.
I don't believe so, but let me double check with a colleague more familiar with our Python SDK
Yep confirmed this doesn't exist and you should just initialize using the key/value you set
ok thanks!