---
schema_version: "1"
id: 33608e2d7768d805e9263fb6c617745a788c7e0060b2b30c8b6125b06d10e528
title: DevHubSettings
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/api_meta/meta_devhubsettings.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_devhubsettings.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 24bdfca4ef8495e713ba0ac00e9747c6af431904664d5ad497795ec270ca8e01
description: Represents Dev Hub settings.
---
# DevHubSettings

Represents Dev Hub settings.

## Parent Type and Manifest Access

This type extends the [Metadata](https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/metadata.htm "The base class for all metadata types. You can’t edit this object. A component is an instance of a metadata type.") metadata type and inherits its fullName field.

In the package manifest, all org settings metadata types are accessed using the Settings name. See [Settings](https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_settings.htm "Represents the organization settings related to a feature. For example, your password policies, session settings and network access controls are all available in the SecuritySettings component type.") for more details.

## File Suffix and Directory Location

DevHubSettings values are stored in the DevHub.settings file in the settings folder. The .settings files are different from other named components because there is only one settings file for each settings component.

## Version

DevHubSettings are available in API version 47.0 and later.

## Fields

<table class="featureTable sort_table" summary="">



          <thead class="thead sorted" align="left">
            <tr>
              <th class="featureTableHeader  " id="d369860e114">Field Name</th>

              <th class="featureTableHeader  " id="d369860e117">Field Type</th>

              <th class="featureTableHeader  " id="d369860e120">Description</th>

            </tr>

          </thead>

          <tbody class="tbody">
            <tr>
              <td class="entry" headers="d369860e114" data-title="Field Name"><span class="keyword parmname">enableALMDevopsCorePref&nbsp;</span></td>

              <td class="entry" headers="d369860e117" data-title="Field Type">boolean</td>

              <td class="entry" headers="d369860e120" data-title="Description">Indicates whether the&nbsp;Lifecycle Center is enabled: <samp class="codeph nolang">true</samp> or <samp class="codeph nolang">false</samp>. When enabled, you
                can access the&nbsp;AI-powered, Lifecycle Center for change and release management in the
                org.<p class="p">Available in API version 65.0 and later.</p>
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d369860e114" data-title="Field Name"><span class="keyword parmname">enableDevOpsCenterGA</span></td>

              <td class="entry" headers="d369860e117" data-title="Field Type">boolean</td>

              <td class="entry" headers="d369860e120" data-title="Description">Indicates whether DevOps Center managed package is enabled: <samp class="codeph nolang">true</samp> or <samp class="codeph nolang">false</samp>.
                When enabled, you can install and use the generally available (GA) DevOps Center
                package in the org. This is an older version of Lifecycle Center.<p class="p">Available in API
                  version 56.0 and later.</p>
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d369860e114" data-title="Field Name">
                <span class="keyword parmname">enableALMSimpleDeployDataPref</span>
              </td>

              <td class="entry" headers="d369860e117" data-title="Field Type">boolean</td>

              <td class="entry" headers="d369860e120" data-title="Description">Indicates whether configuration data migration to a target org is enabled:
                <samp class="codeph nolang">true</samp> or <samp class="codeph nolang">false</samp>. When enabled, you can migrate configuration data from a
                Salesforce org to a target org.<p class="p">To enable
                  <span class="keyword parmname">enableALMSimpleDeployDataPref</span>, first enable
                  <span class="keyword parmname">enableALMSimpleDeployPref</span>.
                </p>
                <p class="p">Available in API version
                  65.0 and later.</p>
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d369860e114" data-title="Field Name"><span class="keyword parmname">enableALMSimpleDeployPref</span></td>

              <td class="entry" headers="d369860e117" data-title="Field Type">boolean</td>

              <td class="entry" headers="d369860e120" data-title="Description">Indicates whether metadata deployment to a target org is enabled: <samp class="codeph nolang">true</samp> or <samp class="codeph nolang">false</samp>.
                When enabled, you can deploy the metadata from a Salesforce org to a target
                org.<p class="p">Available in API version 65.0 and later.</p>
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d369860e114" data-title="Field Name"><span class="keyword parmname">enableDevopsCenterMigrationPref</span></td>

              <td class="entry" headers="d369860e117" data-title="Field Type">boolean</td>

              <td class="entry" headers="d369860e120" data-title="Description">Indicates whether migration from the DevOps Center managed package to the
                Lifecycle Center is enabled: <samp class="codeph nolang">true</samp> or <samp class="codeph nolang">false</samp>. When enabled, you can migrate projects from
                the DevOps Center managed package to the Lifecycle Center in the org.<p class="p">Available in
                  API version 67.0 and later.</p>
                <div class="box message info" id="note_z5x_wf5_xjc">
                  <a name="note_z5x_wf5_xjc"><!-- --></a>
                  <div class="inner">
                    <div class="bd">
                      <div class="media">
                        <img class="img mtm" src="https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/images/icon_note.png" alt="Note">
                        <div class="mediaBd">
                          <h4 class="mbs">Note</h4>
                          <p>enableDevopsCenterMigrationPref is available as a developer preview. Feature
                            isn’t generally available unless or until Salesforce announces its general
                            availability in documentation or in press releases or public statements. All
                            commands, parameters, and other features are subject to change or deprecation at
                            any time, with or without notice. Don't implement functionality developed with
                            these commands or tools.</p>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d369860e114" data-title="Field Name"><span class="keyword parmname">enablePackaging2</span></td>

              <td class="entry" headers="d369860e117" data-title="Field Type">boolean</td>

              <td class="entry" headers="d369860e120" data-title="Description">Indicates whether unlocked and second-generation managed packaging is enabled:
                <samp class="codeph nolang">true</samp> or <samp class="codeph nolang">false</samp>. <p class="p">To enable <span class="keyword parmname">enablePackaging2</span>, first enable
                  <span class="keyword parmname">enableScratchOrgManagementPref</span>.
                </p>
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d369860e114" data-title="Field Name"><span class="keyword parmname" id="ops_scratchorgmanagementpref"><a name="ops_scratchorgmanagementpref"><!-- --></a>enableScratchOrgManagementPref</span></td>

              <td class="entry" headers="d369860e117" data-title="Field Type">boolean</td>

              <td class="entry" headers="d369860e120" data-title="Description">Indicates whether Dev Hub is enabled: <samp class="codeph nolang">true</samp>
                or <samp class="codeph nolang">false</samp>. When enabled, a Dev Hub allows you to
                create and manage scratch orgs.</td>

            </tr>

            <tr>
              <td class="entry" headers="d369860e114" data-title="Field Name"><span class="keyword parmname">enableScratchOrgSnapshotPref</span></td>

              <td class="entry" headers="d369860e117" data-title="Field Type">boolean</td>

              <td class="entry" headers="d369860e120" data-title="Description">Indicates whether Scratch Org Snapshots is enabled: <samp class="codeph nolang">true</samp> or <samp class="codeph nolang">false</samp>. When enabled, you
                can create snapshots of a fully configured scratch org. A snapshot is a
                point-in-time copy of a scratch org that you can use to create additional scratch
                orgs.<p class="p">Available in API version 61.0 and later.</p>
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d369860e114" data-title="Field Name"><span class="keyword parmname">enableShapeExportPref</span></td>

              <td class="entry" headers="d369860e117" data-title="Field Type">boolean</td>

              <td class="entry" headers="d369860e120" data-title="Description">Indicates whether Org Shape is enabled: <samp class="codeph nolang">true</samp> or <samp class="codeph nolang">false</samp>. When enabled, you
                can create org shapes as the basis for scratch orgs.<p class="p">Available in API version 55.0
                  and later.</p>
              </td>

            </tr>

          </tbody>

        </table>

## Declarative Metadata Sample Definition

The following is an example of a DevHubSettings component.

<?xml version="1.0" encoding="UTF-8"?>
<DevHubSettings xmlns="http://soap.sforce.com/2006/04/metadata">
    <enablePackaging2\>true</enablePackaging2\>
    <enableScratchOrgManagementPref\>true</enableScratchOrgManagementPref\>
</DevHubSettings\>

## Wildcard Support in the Manifest File

The wildcard character \* (asterisk) in the package.xml manifest file doesn’t apply to metadata types for feature settings. The wildcard applies only when retrieving all settings, not for an individual setting. For details, see [Settings](https://developer.salesforce.com/docs/atlas.en-us.264.0.api_meta.meta/api_meta/meta_settings.htm). For information about using the manifest file, see [Deploying and Retrieving Metadata with the Zip File](https://developer.salesforce.com/docs/atlas.en-us.264.0.api_meta.meta/api_meta/file_based_zip_file.htm).