How to remove secrets from a .mf5 file?
-
Hi,
I want to publish examples for UIFlow using HTTP requests. I did as follows.
- Create an example with the actual API key
- Replace the key with
API_KEY - Save as a .mf5 file
- Open the .mf5 file with a text editor and check if the API key is not available in the saved file
I found that the variable for URL is replaced as I expected. However, the original URL containing the API key seems to be available in the
http_requestblock.How can I remove the key in UIFlow? Alternative ideas are removing it with a text editor or creating a utility tool, but I want to know if there is a way in UIFlow.
Thanks,
Shigeru -
Update: I found the shadowed URL by removing a variable connected to the
http_requestblock. At first, I directly specified the API key as a part of the URL, then replaced it with the variable.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login