How to Convert String to Base64 and Vice Versa Using Powershell
Contents
Working with Consul without UI is the correct way to go, which also help you with the productivity!!! (True?, hahaha~~)
Anyway, I’m not allowed to have a UI for it, come down to have read the correct value and make sure it’s the one we want it to be in there, I need to do heaps “Get” to get the value, however the value is encoded with Base64…
Here is the way to decode it:
|
|
To encode it:
|
|
Have fun~~