Last active
August 5, 2019 23:38
-
-
Save jeffjohnson9046/64a7f6ce9383e934fdcab880097ca3c4 to your computer and use it in GitHub Desktop.
Use the Spring Cloud Config service to encrypt/decrypt an encrypted value
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Encrypt | |
curl -sbiL -X POST http://localhost:8888/encrypt -d '[the value you want to encrypt]' | |
# Decrypt | |
curl -sbiL -X POST http://localhost:8888/decrypt -d '[the encrypted value, without the "{cipher}" prefix]' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment