> ## Documentation Index
> Fetch the complete documentation index at: https://docs.jaksam-scripts.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get identifier keys

> Get all vehicle keys owned by a player identifier server side.

```lua Export theme={null}
exports["vehicles_keys"]:getIdentifierKeys(identifier)
```

### Parameters

| Name         | Data Type | Description                          |
| ------------ | --------- | ------------------------------------ |
| `identifier` | string    | The target player identifier/license |

## Example

```lua theme={null}
Citizen.CreateThread(function()
    local identifier = "abcedfghj12356"

    local keys = exports["vehicles_keys"]:getIdentifierKeys(identifier)

    print(ESX.DumpTable(keys))

    --[[
        Example output

        {
            ["ABC123"] = {
                ["type"] = "owned",
                ["model"] = -563445643
            },

            ["VEG643"] = {
                ["type"] = "temporary",
                ["model"] = 165445642
            },

            ["AEC613"] = {
                ["type"] = "other_player",
                ["model"] = 1732123
            },
        }
    ]]

end)
```


## Related topics

- [Server](/vehicles-keys/server/index.md)
- [Give keys to identifier](/vehicles-keys/server/give-keys-to-identifier.md)
- [Remove keys from identifier](/vehicles-keys/server/remove-keys-from-identifier.md)
- [Get player ID keys](/vehicles-keys/server/get-player-id-keys.md)
- [Get queue info](/easy-allowlist/server/queue/get-queue-info.md)
