Created
June 12, 2017 00:02
-
-
Save gjyoung1974/054425dbf2f64aeffc95708b19f0b11f to your computer and use it in GitHub Desktop.
Detokenize a 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
# Call the VGS proxy | |
# Argument $! is an FPE token value, result is clear text value | |
curl -s https://httpbin.verygoodsecurity.io/post -k \ | |
-x {0}:{1}@{sometenant}.{environment}.verygoodproxy.com:8080 \ | |
-H "Content-type: application/json" \ | |
-d '{"CCN": "'$1'"}' | jq --raw-output '.data' | jq --raw-output '.CCN' | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment