cloudflare / cloudflare/cloudflare-php
Worker Secrets API
- Lingua principale
- PHP
- Stelle
- 674
- Fork
- 268
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
Hello,
### Context
As a [WordPress](https://wordpress.org/) ops, I use [Simply Static](https://wordpress.org/support/plugin/simply-static/) to deploy some html to CloudFlare Pages.
WordPress allows to add password to pages, I copycat this feature with a [CloudFlare functions ](https://developers.cloudflare.com/pages/platform/functions/) and a basic auth.
At this moment I ignore the passwords set in WordPress and use a single [secret](https://developers.cloudflare.com/pages/platform/functions/bindings/#secrets) for all protected pages.
### Requested feature
I would like to manipulate functions' secrets directly from PHP so every password changes in WordPress could be replicated in CloudFlare.
I need to CRUD over the functions' secrets API.
Thank you a lot
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.