InputParameterHashURLSafeValve

Valve creating a SHA hash from the result of a property expansion. The hash is Base64URL-encoded and the result is added as a flow attribute with an optional prefix.

Properties

Name Description Default value Mandatory Supports property expansion
provided_param_name Expression expanding to the value to hash. Yes Yes
destination_attribute_name Name of destination attribute. Yes No
prefix Destination value prefix. No No
hash_algo Hashing algorithm. Supported values are SHA1 or SHA256. SHA1 No No

Example Configuration

{      
  "name": "InputParameterHashURLSafeValve",
  "enabled": "true",
  "config": {
    "provided_param_name": "{{request.uid}}",
    "destination_attribute_name": "hashed_uid",
    "prefix": "{SHA256}",
    "hash_algo" : "SHA256"
  }
}

Requirements