AWS amazonq medium security documentation change
Summary
Clarified authentication requirements for Azure AD App-only authentication by separating it from basic authentication and specifying required JSON keys (clientId and privateKey).
Security assessment
The change explicitly distinguishes authentication methods and corrects the required secret structure for Azure AD App-only authentication. Misconfiguration of authentication parameters could lead to unauthorized access or credential exposure, making this a security-related documentation update.
Diff
diff --git a/amazonq/latest/qbusiness-ug/sharepoint-cloud-api.md b/amazonq/latest/qbusiness-ug/sharepoint-cloud-api.md index 0b2376d6d..b429719a5 100644 --- a//amazonq/latest/qbusiness-ug/sharepoint-cloud-api.md +++ b//amazonq/latest/qbusiness-ug/sharepoint-cloud-api.md @@ -160 +160 @@ Amazon Q Business crawls identity information from your data source by default t -`secretARN` | The Amazon Resource Name (ARN) of an AWS Secrets Manager secret that contains the key-value pairs required to connect to your SharePoint. If you use basic authentication, provide the username and password. If you use OAuth 2.0 authentication, provide the username, password, client ID, and client secret. | `string` The minimum length is 20 and the maximum length is 2,048 characters. If you use basic authentication (`authType` should be `Basic`) or Azure AD App-only authentication (`authType` should be `OAuth2Certificate`), the secret must contain a JSON structure with the following keys: +`secretARN` | The Amazon Resource Name (ARN) of an AWS Secrets Manager secret that contains the key-value pairs required to connect to your SharePoint. If you use basic authentication, provide the username and password. If you use OAuth 2.0 authentication, provide the username, password, client ID, and client secret. | `string` The minimum length is 20 and the maximum length is 2,048 characters. If you use basic authentication (`authType` should be `Basic`), the secret must contain a JSON structure with the following keys: @@ -167,0 +168,8 @@ Amazon Q Business crawls identity information from your data source by default t +If you use Azure AD App-only authentication (`authType` should be `OAuth2Certificate`), the secret must contain a JSON structure with the following keys: + + + { + "clientId": "SharePoint (Online) client ID", + "privateKey": "SharePoint (Online) private key" + } +