Skip to content

Commit fc53592

Browse files
authored
Update javadoc to warn against using BasicAWSCredentials (#1292)
1 parent 0b6ec3a commit fc53592

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

aws-android-sdk-core/src/main/java/com/amazonaws/auth/BasicAWSCredentials.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@
1818
/**
1919
* Basic implementation of the AWSCredentials interface that allows callers to
2020
* pass in the AWS access key and secret access in the constructor.
21+
*
22+
* It is not recommended to use this class. Instead, use short term credentials
23+
* from Cognito with the AWSMobileClient.
24+
* @see <a href="https://aws-amplify.github.io/aws-sdk-android/docs/reference/com/amazonaws/mobile/client/AWSMobileClient.html">AWSMobileClient</a>
2125
*/
2226
public class BasicAWSCredentials implements AWSCredentials {
2327

0 commit comments

Comments
 (0)