REST API Credentials configuration guidelines can be found here.

Adobe Experience Manager Connector's Credentials type must always be specified as "adobe-experience".

Properties specific to the Adobe Experience Manager Connector's Credentials are described below.


Adobe Experience Manager Credentials Properties


FieldRequiredDefaultMultipleNotesExample
propertiesYes-NoConfiguration object
authTypeNo-NoAuthentication type. Can be either basic or a form."basic" or "form"
usernameNo-NoRequired if the authentication type is basic."john.doe"
passwordNo-NoRequired if the authentication type is basic."encrypted:6375241496ED6439B9B3F678B5C5BC0D7DA95A3A73B8F2C828FC0B8223C562F0"
formUrlNo-NoRequired if the authentication type is form."http://localhost:4502/myForm"
headerNo[ ]YesRequired if the authentication type is form.

[

  {

    "hname": "headerName",

    "hvalue": "headerValue"

  }

]

parameterNo-YesRequired if the authentication type is form.

"parameter": [

  {

    "pname": "myParameter",

    "pvalue": "myParameterValue"

  }

]

Create example (Basic)


POST /aspire/_api/credentials
{
	"type": "adobe-experience",
	"description": "AEM Credentials",
	"properties": {
		"authType": "basic",
		"username": "myUsername",
		"password": "encrypted:6375241496ED6439B9B3F678B5C5BC0D7DA95A3A73B8F2C828FC0B8223C562F0"
	}
}

Create example (Form)


POST /aspire/_api/credentials
{
	"type": "adobe-experience",
	"description": "AEM Form Credentials",
	"properties": {
		"authType": "form",
		"formUrl": "http://localhost:4502",
		"header": [],
		"parameter": [
			{
				"pname": "myParameter",
				"pvalue": "myParameterValue"
			}
		]
	}
}
  • No labels