nuxt-modules / turnstile

đŸ”Ĩ Cloudflare Turnstile integration for Nuxt
https://cloudflare.com/products/turnstile
MIT License
217 stars 17 forks source link

Pass path to file containing the secret key #175

Closed PatrickMi closed 1 year ago

PatrickMi commented 1 year ago

🆒 Your use case

I want to use the turnstile module in a project where nuxt is started in a docker container. In this case I want to manage the secret key securely via docker secrets.

🆕 The solution you'd like

I'd like to pass the path to the file containing the secret key in the runtime config so that the turnstile module can read the secret key from the file

🔍 Alternatives you've considered

No response

ℹī¸ Additional info

I already created a PR with that functionality: https://github.com/nuxt-modules/turnstile/pull/174

PatrickMi commented 1 year ago

This issue was closed with https://github.com/nuxt-modules/turnstile/pull/174