---
schema_version: "1"
id: d5187a75cc575c5f23422a689699412ecfc84c93254e3aebdfa4340ca83a350a
title: Create an Encryption Key for Marketing Cloud Engagement
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/mktg/264-0-0/mc_overview_create_a_key.md
canonical_url: https://help.salesforce.com/s/articleView?id=mktg.mc_overview_create_a_key.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 0261d787c88346b5977213f512852756807e4625b521312b6c8517e3bccae1dc
description: Create an encryption key for Marketing Cloud Engagement activities.
products:
  - Marketing
  - Marketing Cloud Engagement
release: "264"
---
# Create an Encryption Key for Marketing Cloud Engagement

Create an encryption key for Marketing Cloud Engagement activities.

1. In Setup, under Data Management, select **Key Management**.
2. Click **Create**.
3. Choose the type of key to create.
4. For Name, enter a name for the key.
5. Leave the External Key field blank.
    
    After the first handshake, Marketing Cloud Engagement automatically populates this field with the key from the external provider.
6. Complete the appropriate fields for your encryption type.
    
    <table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
            <colgroup>
              <col style="width:20%">
              <col style="width:80%">
            </colgroup>
            <thead class="slds-text-title_caps ">
              <tr class="">
                <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d64197e86">Encryption Type</th>
                <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d64197e89">Description</th>
              </tr>
            </thead>
            <tbody>
              <tr class="">
                <td data-label="Encryption Type" class="slds-cell-wrap" style="vertical-align:top;" headers="d64197e86 ">Asymmetric keys</td>

                <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d64197e89 ">
                  <p>Click <strong class="uicontrol">Choose File</strong>. Select the .pub or .asc (PGP
                    format) file for your key, and click <strong class="uicontrol">OK</strong>.</p>
                  <ul>
                    <li>Use public asymmetric keys for file transfer encryption from a safehouse
                      location to another file location.</li>
                    <li>Use private asymmetric keys for file transfer decryption. Select
                      <strong class="uicontrol">private key</strong> and enter your passphrase if
                      applicable.
                    </li>
                  </ul>
                </td>

              </tr>
              <tr class="">
                <td data-label="Encryption Type" class="slds-cell-wrap" style="vertical-align:top;" headers="d64197e86 ">Symmetric keys</td>

                <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d64197e89 ">Enter the key passphrase.</td>

              </tr>
              <tr class="">
                <td data-label="Encryption Type" class="slds-cell-wrap" style="vertical-align:top;" headers="d64197e86 ">Initialization vector (IV) keys</td>

                <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d64197e89 ">In the IV field, enter the key value.</td>

              </tr>
              <tr class="">
                <td data-label="Encryption Type" class="slds-cell-wrap" style="vertical-align:top;" headers="d64197e86 ">Salt keys</td>

                <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d64197e89 ">In the Salt field, enter the key value.</td>

              </tr>
              <tr class="">
                <td data-label="Encryption Type" class="slds-cell-wrap" style="vertical-align:top;" headers="d64197e86 ">SSH keys</td>

                <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d64197e89 ">
                  <p>Upload the key value to use.</p>
                  <ul>
                    <li>For SSH keys used in SFTP authentication, select <strong class="uicontrol">Public
                        Key</strong>. Engagement uses the public key value for SFTP user
                      authentication.</li>
                    <li>For file transfer activities, such as reports and imports, use the private
                      key file.</li>
                  </ul>
                </td>

              </tr>
              <tr class="">
                <td data-label="Encryption Type" class="slds-cell-wrap" style="vertical-align:top;" headers="d64197e86 ">SSO metadata information</td>

                <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d64197e89 ">
                  <p>Enter the applicable information.</p>
                  <ul>
                    <li>Paste Metadata—Enter the SAML metadata obtained from your
                      third-party identity partner.</li>
                    <li>Guided Configuration</li>
                    <li>
                      <ul>
                        <li>Identity Provider Certificate—Click
                          <strong class="uicontrol">Browse</strong> and select the certificate.
                        </li>
                        <li>Entity ID— Enter the entity ID.</li>
                        <li>Name ID Format—Select a format from the dropdown menu.</li>
                        <li>Single Logout Service Location— Enter the URL for the single
                          logout service location.</li>
                        <li>Single Logout Service Binding—Select <strong class="uicontrol">HTTP
                            REDIRECT</strong> or <strong class="uicontrol">HTTP POST</strong>.</li>
                      </ul>
                    </li>
                  </ul>
                </td>

              </tr>
              <tr class="">
                <td data-label="Encryption Type" class="slds-cell-wrap" style="vertical-align:top;" headers="d64197e86 ">Security context</td>

                <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d64197e89 ">
                  <ul>
                    <li>
                      <ul>
                        <li>Grant Type—Select <strong class="uicontrol">Client Credentials</strong> or
                          <strong class="uicontrol">JWT Bearer</strong>.
                        </li>

                        <li>Token Endpoint—Enter the URL of the external web service to call
                          to retrieve an access token.</li>

                        <li>Key ID—Enter the Key ID to pass to the token endpoint as part of the
                          JWT header.</li>

                        <li>Issuer—Enter the Issuer value to pass to the external web service in
                          the JWT payload.</li>

                        <li>Audience—Enter the Audience value to pass to the external web service
                          in the JWT payload.</li>

                        <li>Subject—Enter the Subject value to pass to the external web service in
                          the payload.</li>

                        <li>Valid Service URLs—Enter the URLs that the returned access token
                          applies to. Enter each URL on a new line.</li>

                        <li>Private Key (PEM Format)—Enter the value of the RSA private key
                          to use to encrypt JWT payloads.</li>

                      </ul>

                    </li>

                  </ul>
                </td>

              </tr>
            </tbody>
          </table>
7. Click **Save**.

After you create the SAML key, click the key to view the SAML SP metadata. The metadata gives you the appropriate URLs to use to enable SSO authentication.

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-mktg-mc_marketing_cloud_overview-264-0-0-production-enus/2555afdb-8049-4e3c-8043-0e04803e5f16/images/icon_note.png)

Note You manage keys separately in each business unit. To use the same key in more than one business unit, upload it separately to each one.