In my project i am using this plugin to support build cache via AWS. And before i can connect AWS i need to pass awsAccessKeyId, awsSecretKey and sessionToken values in the plugin and the values of them are different everytime when i get them from AWS. In result, I found that configuration cache cannot be reused via CI because the values are different everytime. Do we have any solution for that? 🤔
You are most likely using short term credentials, in case you use circle CI, you can use circleci/aws-cli@ orb and use CircleCI OIDC, in that case, no credentials needs to be stored in CI/CD.
In my project i am using this plugin to support build cache via AWS. And before i can connect AWS i need to pass
awsAccessKeyId
,awsSecretKey
andsessionToken
values in the plugin and the values of them are different everytime when i get them from AWS. In result, I found that configuration cache cannot be reused via CI because the values are different everytime. Do we have any solution for that? 🤔