Define a Legacy Named Credential for Salesforce Connect Adapter for Amazon DynamoDB

Define a Legacy Named Credential for Salesforce Connect Adapter for Amazon DynamoDB

Create a legacy named credential that specifies the URL of a callout endpoint as Amazon DynamoDB endpoint and provides the required authentication parameters.

Required Editions

Available in: both Salesforce Classic and Lightning Experience
Available in: All Editions
User Permissions Needed
To view named credentials: View Setup and Configuration
To create, edit, or delete named credentials: Customize Applications
Important
Important In Winter ’23, Salesforce introduced an improved named credential that is extensible, customizable, and more secure. We strongly recommend that you use this preferred credential instead of legacy named credentials, which are no longer updated or enhanced. For information on extensible, customizable named credentials, see Named Credentials Schema.
  1. From Setup, enter Named Credentials in the Quick Find box, then select Named Credentials.
  2. To create a new legacy named credential, click New Legacy from the dropdown menu.
  3. Complete the fields.
    Field Description
    Label A user-friendly name for the named credential that’s displayed in the Salesforce user interface.
    Name A unique identifier that’s used to refer to this named credential from callout definition while creating an external data source for Amazon DynamoDB.
    URL

    The URL of the Amazon DynamoDB endpoint.

    Sample format for the URL would be https://dynamodb.REGION.amazonaws.com

    For example, if the AWS region is us-east-1, the URL would be https://dynamodb.us-east-1.amazonaws.com

    Identity Type Select Named Principal to designate one user account on the Amazon DynamoDB external system for all your Salesforce org users.
    Authentication Protocol

    Select AWS Signature Version 4 and complete the following fields.

    1. AWS Access Key ID: First part of the access key used to sign programmatic requests to AWS.
    2. AWS Secret Access Key : Second part of the access key used to sign programmatic requests to AWS.
    3. AWS Region : The AWS region name for the named credential’s endpoint. For example, us-east-1.
    4. AWS Service: dynamodb, which is the AWS utility to access.