xref: /aosp_15_r20/external/tink/python/examples/testdata/aws/README.md (revision e7b1675dde1b92d52ec075b0a92829627f2c52a5)
1*e7b1675dSTing-Kang ChangThis folder contains AWS credentials that are used for testing Tink.
2*e7b1675dSTing-Kang Chang
3*e7b1675dSTing-Kang ChangFor security reasons, all credentials in this folder are invalid. If you want to
4*e7b1675dSTing-Kang Changrun tests that depend on them, please create your own [AWS access
5*e7b1675dSTing-Kang Changkeys][aws-access-keys].
6*e7b1675dSTing-Kang Chang
7*e7b1675dSTing-Kang ChangThe credentials are required in several formats expected by different APIs. For
8*e7b1675dSTing-Kang Changexample, Java expects the credentials as a [properties file][properties-file].
9*e7b1675dSTing-Kang ChangIn order to cover all tests across all languages you have to replace
10*e7b1675dSTing-Kang Chang`aws/credentials.cred`, `aws/credentials.csv` and `aws/credentials.ini`. These
11*e7b1675dSTing-Kang Changcan be generated in a similar way to this [credential copying
12*e7b1675dSTing-Kang Changscript][copy-credentials-script].
13*e7b1675dSTing-Kang Chang
14*e7b1675dSTing-Kang Chang[aws-access-keys]: https://docs.aws.amazon.com/general/latest/gr/aws-sec-cred-types.html
15*e7b1675dSTing-Kang Chang[properties-file]: https://docs.aws.amazon.com/AmazonS3/latest/dev/AuthUsingAcctOrUserCredentials.html
16*e7b1675dSTing-Kang Chang[copy-credentials-script]: https://github.com/google/tink/blob/master/kokoro/copy_credentials.sh
17