Cloudflare Developers

CD

Cloudflare Developers

Welcome to the official Cloudflare Developers server. Here you can ask for help and stay updated with the latest news

Join

Behavior of secrets / environment variables with newlines (escaped / unescaped characters)

Now that's weird. When I put my key in a variable in the code (let key = "..."), it works perfectly but if I put the same key (I copy pasted it) in a secret, the importPKCS8() function results in an error : atob() called with invalid base64-encoded data. (Only whitespace, '+', '/', alphanumeric ASCII, and up to two terminal '=' signs when the input data length is divisible by 4 are allowed.) So it works but I would prefer to have the value in a secret since it's the key to my Google Cloud Service Account so it's not great for security to literally have it in my code......

Yes I figured out that token value is

Yes, I figured out that token value is reused by the next request when concurrent request on the same instant occur.

Bad DNS cache

How do I do that?

Hi I m not familiar with yaml all that

Hi I'm not familiar with yaml all that much. Can someone show me an example of having the url and json details for multiple files in the same config file? Thank you so much