Retrieve a credential configuration
platform.adobe.io/data/core/activation/authoring/credentialsThis page exemplifies the API request and payload that you can use to retrieve a credential configuration using the /authoring/credentials API endpoint.
When to use the /credentials API endpoint when-to-use
/credentials API endpoint. Instead, you can configure the authentication information for your destination via the customerAuthenticationConfigurations parameters of the /destinations endpoint.Use this API endpoint to create a credential configuration only if there is a global authentication system between Adobe and your destination platform, and the Experience Platform customer does not need to provide any authentication credentials to connect to your destination. In this case, you must create a credential configuration using the /credentials API endpoint.
When using a global authentication system, you must set "authenticationRule":"PLATFORM_AUTHENTICATION" in the destination delivery configuration, when creating a new destination configuration. Then, you must create a credentials configuration and pass the credential object’s ID in the authenticationId parameter in the destination delivery configuration.
Getting started with credentials API operations get-started
Before continuing, please review the getting started guide for important information that you need to know in order to successfully make calls to the API, including how to obtain the required destination authoring permission and required headers.
Retrieve a credential configuration retrieve
You can retrieve an existing credential configuration by making a GET request to the /authoring/credentials endpoint.
API format
Use the following API format to retrieve all credential configurations for your account.
GET /authoring/credentials
Use the following API format to retrieve a specific credential configuration, defined by the {INSTANCE_ID} parameter.
GET /authoring/credentials/{INSTANCE_ID}
The following two requests retrieve all credentials configurations for your IMS Organization, or a specific credential configuration, depending on whether you pass the INSTANCE_ID parameter in the request.
Select each tab below to view the corresponding payload.
| accordion | ||
|---|---|---|
| Request | ||
|
| accordion | ||
|---|---|---|
| Response | ||
|
A successful response returns HTTP status 200 with a list of credential configurations that you have access to, based on the IMS Org ID and sandbox name that you used. One
|
| accordion | ||||||||
|---|---|---|---|---|---|---|---|---|
| Request | ||||||||
|
| accordion | ||
|---|---|---|
| Response | ||
|
A successful response returns HTTP status 200 with the details of the credential configuration corresponding to the
|
API error handling error-handling
Destination SDK API endpoints follow the general Experience Platform API error message principles. Refer to API status codes and request header errors in the Experience Platform troubleshooting guide.
Next steps next-steps
After reading this document, you now know how to retrieve details about your credential configurations using the /authoring/credentials API endpoint. Read how to use Destination SDK to configure your destination to understand where this step fits into the process of configuring your destination.