Retrieve S3 Connector Metadata with Salesforce CLI

You can retrieve the metadata of an S3 Connector by using Salesforce CLI.

Complete the prerequisite of Defining the Metadata of S3 Connector

  1. Authorize your org so Salesforce CLI can access it by logging into the org. This command redirects you to the default browser.

    CLI login is a one-time task. The login details are saved so that a username or alias can get used for future logins.

  2. Retrieve the S3 connector metadata by using this command. The file referenced in the command must be the name of the unpackage.xml created in Defining the Metadata of S3 Connector step.

    The file retrieved has the name unpackage.zip. Rename the file recognizably to use in later steps.

Proceed to Update the S3 access key and secret key attributes.