AWS amazonq medium security documentation change
Summary
Removed tokenType field from JSON schema and updated authentication token descriptions to emphasize short-lived access tokens with refresh tokens
Security assessment
The change removes permanent token support and enforces OAuth 2.0 refresh token patterns, which reduces exposure from long-lived credentials. Specific evidence includes replacing temporary tokens with short-lived access tokens and adding refresh token fields.
Diff
diff --git a/amazonq/latest/qbusiness-ug/dropbix-api.md b/amazonq/latest/qbusiness-ug/dropbix-api.md index c323a4857..07095ca9c 100644 --- a//amazonq/latest/qbusiness-ug/dropbix-api.md +++ b//amazonq/latest/qbusiness-ug/dropbix-api.md @@ -270,7 +269,0 @@ The following is the Dropbox JSON schema: - "tokenType": { - "type": "string", - "enum": [ - "PERMANENT", - "TEMPORARY" - ] - }, @@ -293,2 +286 @@ The following is the Dropbox JSON schema: - "type", - "tokenType" + "type" @@ -325 +317,2 @@ Amazon Q Business crawls identity information from your data source by default t - "accesstoken": "temporary access token or refresh token" + "accesstoken": "access token (short live)", + "refreshtoken": "refresh token (offline-access)" @@ -349 +341,0 @@ Amazon Q Business crawls ACL information by default to ensure responses are gene -`tokenType` | Specify your access token type: permanent or temporary access token. We recommend that you create a refresh access token that never expires in Dropbox rather that relying on a one-time access token that expires after 4 hours. You create an app and a refresh access token in the Dropbox developer console, and provide the access token in your secret.