---
title: Selecting an attribute retrieval method for token creation
description: For token creation, you can query local data stores to help fulfill the attribute contract in conjunction with attribute values supplied by the token processor you are using with PingFederate.
component: pingfederate
version: 13.1
page_id: pingfederate:administrators_reference_guide:help_wstrusttokenprocessormappingtasklet_wstrustselectadditionalattributesstate
canonical_url: https://docs.pingidentity.com/pingfederate/13.1/administrators_reference_guide/help_wstrusttokenprocessormappingtasklet_wstrustselectadditionalattributesstate.html
llms_txt: https://docs.pingidentity.com/pingfederate/llms.txt
docs_for_agents: https://developer.pingidentity.com/build-with-ai/docs-for-agents.md
revdate: July 5, 2022
section_ids:
  about-this-task: About this task
  steps: Steps
  choose-from: Choose from:
---

# Selecting an attribute retrieval method for token creation

For token creation, you can query local data stores to help fulfill the attribute contract in conjunction with attribute values supplied by the token processor you are using with PingFederate.

## About this task

The values supplied by the token processor are shown on the **Attribute Retrieval** tab, in the **Token Processor Contract** section.

To determine whether you need to look up additional values, compare the attribute contract against the token processor contract or the request contract, if configured. If the attribute contract requires more information, determine whether local data stores can supply it.

|   |                                                                                                                                                                            |
| - | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|   | If you are editing a currently mapped token processor instance, you can change the mapping method, which may require additional configuration changes in subsequent tasks. |

## Steps

1. Go to the **IdP Token Processor Mapping** window.

2. On the **Attribute Retrieval** tab, in the **Token Processor Contract** section, choose from the following options.

   ### Choose from:

   * Select the **Retrieve Additional Attributes from Data Stores to Fulfill the Attribute Contract** option if you want to configure one or more data stores to look up attribute for a single mapping.

   * Select the **Use only the Token Processor Contract Values in the Outgoing Token** option if you do not require data store query.

3. When finished, click **Next**.
