---
updatedAt: 2026-09-02T22:15:49.000Z
agentTools:
  siteIndex: https://techdocs.akamai.com/llms.txt
  projectIndex: https://techdocs.akamai.com/powershell/llms.txt
---

# Property debug key

Get-PropertyDebugKey

## Synopsis

Generate enhanced debug key

## Syntax

```powershell Property Name (Default)
Get-PropertyDebugKey [-PropertyName] <String> [-PropertyVersion] <String> [[-Option] <String>] [-DurationInHours <Int32>] [-GroupID <String>] [-ContractId <String>] [-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
```
```powershell Property ID
Get-PropertyDebugKey -PropertyID <String> [-PropertyVersion] <String> [[-Option] <String>] [-DurationInHours <Int32>] [-GroupID <String>] [-ContractId <String>] [-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
```
```powershell Hostname
Get-PropertyDebugKey -Hostname <String> [-PropertyVersion] <String> [[-Option] <String>] [-DurationInHours <Int32>] [-GroupID <String>] [-ContractId <String>] [-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
```

## Description

Locates a property version by name, ID or hostname in order to retrieve the Enhanced Debug key and generate the `akamai-debug` header value needed to enable enhanced debug response headers in a web request.

## Parameters

<table>
  <tbody>
    <tr>
      <td class="ps-td"><code>&#8209;AccountSwitchKey</code></td> 
      <td class="ps-tableinner">
        <div class="ps-metadata">
          <span class="ps-param-metadata">String</span>
          <span class="ps-param-metadata">Pipeline input: False</span>
        </div>
        <div>
          <p>An account credential key that lets you move between accounts when using an API client enabled for multiple accounts. To find account switch keys, use <a href="https://techdocs.akamai.com/powershell/docs/get-accountswitchkey">Get-AccountSwitchKey</a>.</p>
        </div>
      </td>
    </tr>
    <tr>
      <td class="ps-td"><code>&#8209;ContractId</code></td> 
      <td class="ps-tableinner">
        <div class="ps-metadata">
          <span class="ps-param-metadata">String</span>
          <span class="ps-param-metadata">Pipeline input: ByPropertyName</span>
        </div>
        <div>
          <p>Your contract's ID. The parameter is optional if a property belongs to only one contract; otherwise, you need to specify it along with the <code>-GroupID</code>. This parameter is optional except for the create requests.</p>
        </div>
      </td>
    </tr>
    <tr>
      <td class="ps-td"><code>&#8209;EdgeRCFile</code></td> 
      <td class="ps-tableinner">
        <div class="ps-metadata">
          <span class="ps-param-metadata">String</span>
          <span class="ps-param-metadata">Pipeline input: False</span>
        </div>
        <div>
          <p>Your EdgeGrid resource file to authenticate your command. Defaults to <code>~/.edgerc</code>.</p>
        </div>
      </td>
    </tr>
    <tr>
      <td class="ps-td"><code>&#8209;GroupID</code></td> 
      <td class="ps-tableinner">
        <div class="ps-metadata">
          <span class="ps-param-metadata">String</span>
          <span class="ps-param-metadata">Pipeline input: ByPropertyName</span>
        </div>
        <div>
          <p>Your group's ID. The parameter is optional if a property belongs to only one group, otherwise you need to specify it along with the <code>-ContractID</code>. This parameter is optional except for the create requests.</p>
        </div>
      </td>
    </tr>
    <tr>
      <td class="ps-td"><code>&#8209;Hostname</code><br/><span style="color: red; padding-left: 11px; font-size: 13px;"><em>Conditionally required</em></span></td> 
      <td class="ps-tableinner">
        <div class="ps-metadata">
          <span class="ps-param-metadata">String</span>
          <span class="ps-param-metadata">Parameter sets: <code>Hostname</code></span>
          <span class="ps-param-metadata">Pipeline input: False</span>
        </div>
        <div>
          <p>The <code>cnameFrom</code> for the hostname your end users see, indicated by the <code>Host</code> header in the end-user requests.</p>
        </div>
      </td>
    </tr>
    <tr>
      <td class="ps-td"><code>&#8209;PropertyID</code><br/><span style="color: red; padding-left: 11px; font-size: 13px;"><em>Conditionally required</em></span></td> 
      <td class="ps-tableinner">
        <div class="ps-metadata">
          <span class="ps-param-metadata">String</span>
          <span class="ps-param-metadata">Parameter sets: <code>Property ID</code></span>
          <span class="ps-param-metadata">Pipeline input: ByPropertyName</span>
        </div>
        <div>
          <p>Your property's ID. Commonly, you only need to specify either <code>-PropertyName</code> or <code>-PropertyID</code>.</p>
        </div>
      </td>
    </tr>
    <tr>
      <td class="ps-td"><code>&#8209;PropertyName</code><br/><span style="color: red; padding-left: 11px; font-size: 13px;"><em>Conditionally required</em></span></td> 
      <td class="ps-tableinner">
        <div class="ps-metadata">
          <span class="ps-param-metadata">String</span>
          <span class="ps-param-metadata">Parameter sets: <code>Property Name</code></span>
          <span class="ps-param-metadata">Pipeline input: False</span>
        </div>
        <div>
          <p>A human-readable name for your property. Commonly, you only need to specify either <code>-PropertyName</code> or <code>-PropertyID</code>.</p>
        </div>
      </td>
    </tr>
    <tr>
      <td class="ps-td"><code>&#8209;PropertyVersion</code><br/><span style="color: red; padding-left: 11px; font-size: 13px;"><em>Required</em></span></td> 
      <td class="ps-tableinner">
        <div class="ps-metadata">
          <span class="ps-param-metadata">String</span>
          <span class="ps-param-metadata">Pipeline input: ByPropertyName</span>
        </div>
        <div>
          <p>Property's incremental version number. Can be an integer or the word <code>latest</code>.</p>
        </div>
      </td>
    </tr>
    <tr>
      <td class="ps-td"><code>&#8209;Section</code></td> 
      <td class="ps-tableinner">
        <div class="ps-metadata">
          <span class="ps-param-metadata">String</span>
          <span class="ps-param-metadata">Pipeline input: False</span>
        </div>
        <div>
          <p>The section name in your EdgeGrid resource file to retrieve authentication credentials from. Defaults to <code>default</code>.</p>
        </div>
      </td>
    </tr>
  </tbody>
</table>

## Related Links

[User Guide: Property](https://techdocs.akamai.com/powershell/docs/property-manager)

# Sibling pages

* [Account ID](https://techdocs.akamai.com/powershell/docs/get-accountid.md)
* [Bucket activation](https://techdocs.akamai.com/powershell/docs/get-bucketactivation.md)
* [Bucket hostname](https://techdocs.akamai.com/powershell/docs/get-buckethostname.md)
* [Bulk activated property](https://techdocs.akamai.com/powershell/docs/get-bulkactivatedproperty.md)
* [Bulk-patched property](https://techdocs.akamai.com/powershell/docs/get-bulkpatchedproperty.md)
* [Bulk search result](https://techdocs.akamai.com/powershell/docs/get-bulksearchresult.md)
* [Bulk-versioned property](https://techdocs.akamai.com/powershell/docs/get-bulkversionedproperty.md)
* [Custom behavior](https://techdocs.akamai.com/powershell/docs/get-custombehavior.md)
* [Custom override](https://techdocs.akamai.com/powershell/docs/get-customoverride.md)
* [CP code](https://techdocs.akamai.com/powershell/docs/get-propertycpcode.md)
* [Domain ownership challenge](https://techdocs.akamai.com/powershell/docs/get-propertydomainownershipchallenge.md)
* [Edge hostname](https://techdocs.akamai.com/powershell/docs/get-propertyedgehostname.md)
* [Group](https://techdocs.akamai.com/powershell/docs/get-group.md)
* [Hostname audit history](https://techdocs.akamai.com/powershell/docs/get-hostnameaudithistory.md)
* [Include](https://techdocs.akamai.com/powershell/docs/get-propertyinclude.md)
* [Include activation](https://techdocs.akamai.com/powershell/docs/get-propertyincludeactivation.md)
* [Include behaviors](https://techdocs.akamai.com/powershell/docs/get-propertyincludebehaviors.md)
* [Include criteria](https://techdocs.akamai.com/powershell/docs/get-propertyincludecriteria.md)
* [Include parent](https://techdocs.akamai.com/powershell/docs/get-propertyincludeparent.md)
* [Include rules](https://techdocs.akamai.com/powershell/docs/get-propertyincluderules.md)
* [Include rules digest](https://techdocs.akamai.com/powershell/docs/get-propertyincluderulesdigest.md)
* [Include version](https://techdocs.akamai.com/powershell/docs/get-propertyincludeversion.md)
* [Product](https://techdocs.akamai.com/powershell/docs/get-product.md)
* [Property](https://techdocs.akamai.com/powershell/docs/get-property.md)
* [Property activation](https://techdocs.akamai.com/powershell/docs/get-propertyactivation.md)
* [Property behaviors](https://techdocs.akamai.com/powershell/docs/get-propertybehaviors.md)
* [Property build](https://techdocs.akamai.com/powershell/docs/get-propertybuild.md)
* [Property certificate challenge](https://techdocs.akamai.com/powershell/docs/get-propertycertificatechallenge.md)
* [Property client settings](https://techdocs.akamai.com/powershell/docs/get-propertyclientsettings.md)
* [Property contract](https://techdocs.akamai.com/powershell/docs/get-propertycontract.md)
* [Property criteria](https://techdocs.akamai.com/powershell/docs/get-propertycriteria.md)
* [Property hostname](https://techdocs.akamai.com/powershell/docs/get-propertyhostname.md)
* [Product use cases](https://techdocs.akamai.com/powershell/docs/get-productusecases.md)
* [Property request schema](https://techdocs.akamai.com/powershell/docs/get-propertyrequestschema.md)
* [Property rules](https://techdocs.akamai.com/powershell/docs/get-propertyrules.md)
* [Property rules digest](https://techdocs.akamai.com/powershell/docs/get-propertyrulesdigest.md)
* [Property version](https://techdocs.akamai.com/powershell/docs/get-propertyversion.md)
* [Property version's includes](https://techdocs.akamai.com/powershell/docs/get-propertyversioninclude.md)
* [Rule format](https://techdocs.akamai.com/powershell/docs/get-ruleformat.md)
* [Rule format schema](https://techdocs.akamai.com/powershell/docs/get-ruleformatschema.md)
* [Top-level groups](https://techdocs.akamai.com/powershell/docs/get-toplevelgroup.md)