Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


REST API Credentials configuration guidelines can be found here.

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

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


Easy Heading Free
navigationTitleOn this Page
navigationExpandOptionexpand-all-by-default

Amazon S3

Adobe Experience Manager Credentials Properties


useCredentialsProviderChainfalse
FieldRequiredDefaultMultipleNotesExample
propertiesYes-NoConfiguration object
authTypeNo-NoIf set to true, it uses the AWS Credentials Provider Chain. If set to true, accessKey and a secretKey must be specified.true/falseAuthentication type. Can be either basic or a form."basic" or "form"
usernameaccessKeyNo-NoThe key used to access the Amazon Web Services. Required if useCredentialsProviderChain is false."AKIAQYO33D7WIS4M55NN"Required if the authentication type is basic."john.doe"
passwordNo-NoRequired if the authentication type is basic."encrypted:6375241496ED6439B9B3F678B5C5BC0D7DA95A3A73B8F2C828FC0B8223C562F0"
formUrlsecretKeyNo-NoThe secret key for the specified access key. Required if useCredentialsProviderChain is false."mySecretKey"Required 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)

Create example


Code Block
themeRDark
titlePOST /aspire/_api/credentials
{
	"type": "s3adobe-experience",
	"description": "S3 Credentials TestAEM Credentials",
	"properties": {
		"authType": "basic",
		"username": "myUsername",
		"password": "encrypted:6375241496ED6439B9B3F678B5C5BC0D7DA95A3A73B8F2C828FC0B8223C562F0"
	}
}

Create example (Form)


Code Block
themeRDark
titlePOST /aspire/_api/credentials
{
	"type": "adobe-experience",
	"description": "AEM Form Credentials",
	"properties": {
		"authType": "form",
		"formUrl": "http://localhost:4502",
		"useCredentialsProviderChainheader": false[],
		"accessKeyparameter": [
			{
				"pname": "AKIAQYO33D7WIS4M55NNmyParameter",
				"secretKeypvalue": "mySecretKey"myParameterValue"
			}
		]
	}
}