AWS aurora-dsql documentation change
Summary
Added recommendations to use DSQL connectors for automated token generation across SDK examples
Security assessment
Promotes secure practices by encouraging automated credential management but does not address a specific vulnerability.
Diff
diff --git a/aurora-dsql/latest/userguide/SECTION_authentication-token.md b/aurora-dsql/latest/userguide/SECTION_authentication-token.md index 3dfdbaf1d..d562eefc6 100644 --- a//aurora-dsql/latest/userguide/SECTION_authentication-token.md +++ b//aurora-dsql/latest/userguide/SECTION_authentication-token.md @@ -153,0 +154,4 @@ Python SDK +###### Tip + +AWS recommends using the [Aurora DSQL Connector for Python](./SECTION_program-with-dsql-connector-for-python.html), which handles token generation automatically. + @@ -222,0 +227,4 @@ JavaScript SDK +###### Tip + +AWS recommends using the [Aurora DSQL Connectors for Node.js](./SECTION_Node-js-connectors.html), which handle token generation automatically. + @@ -253,0 +262,4 @@ Java SDK +###### Tip + +AWS recommends using the [Connecting to Aurora DSQL clusters with a JDBC connector](./SECTION_program-with-jdbc-connector.html), which handles token generation automatically. + @@ -320,0 +333,4 @@ Ruby SDK +###### Tip + +AWS recommends using the [Connecting to Aurora DSQL clusters with a Ruby connector](./SECTION_program-with-dsql-connector-for-ruby-pg.html), which handles token generation automatically. + @@ -334 +350 @@ You can generate the token in the following ways: - credentials = Aws::SharedCredentials.new() + credentials = Aws::CredentialProviderChain.new.resolve @@ -336 +351,0 @@ You can generate the token in the following ways: - begin @@ -346,3 +360,0 @@ You can generate the token in the following ways: - rescue => error - puts error.full_message - end @@ -412,0 +425,4 @@ Go +###### Tip + +AWS recommends using the [Connecting to Aurora DSQL clusters with a Go connector](./SECTION_program-with-go-pgx-connector.html), which handles token generation automatically. +