Skip to content

Instantly share code, notes, and snippets.

@gjyoung1974
Created June 12, 2017 00:00
Show Gist options
  • Save gjyoung1974/ac9d0b943ba79330bc923388e2505fa6 to your computer and use it in GitHub Desktop.
Save gjyoung1974/ac9d0b943ba79330bc923388e2505fa6 to your computer and use it in GitHub Desktop.
tokenize string value
# Call the VGS proxy
# Argument $! is a clear text value, result is an FPE token value
curl -s https://{some-tenant}.environment.verygoodproxy.com/post \
-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