#nurlannurmanov-api-keys
1 messages · Page 1 of 1 (latest)
Java project, I am using java in my backend
Got it. Best practice is normally via encrypted environment variables
Obviously don't expose them in version control (git, etc)
Do you have an example how to do it?
Not really. It would mostly depend on Spring Boot and where you're hosting your application
ok, thanks!
There's a Java example: https://github.com/stripe-samples/accept-a-payment/tree/main/custom-payment-flow/server/java#how-to-run