PingAuthorize

Configuring policy request header mappings using dsconfig

Steps

  • To create a new policy request header mapping, use the dsconfig create-policy-request-header-mapping command and supply the mapping-name and set attribute-name arguments.

    dsconfig create-policy-request-header-mapping \
    --mapping-name x-param-1 \
    --set attribute-name: Request.Header.param1

    The mapping-name should match the name of the request header, and the attribute-name should match the full name of the attribute defined in the Trust Framework.

    The full name of an attribute represents that attribute’s full path in the Trust Framework hierarchy. For example, a Param1 attribute with parent attributes Request and Header would have a full name of Request.Header.Param1. To quickly obtain an attribute’s full name, click the hamburger menu of that attribute and select Copy full name to clipboard.

    Screen capture of the Param1 attribute, with the hamburger menu selected and the Copy full name to clipboard option highlighted