Search code examples
amazon-web-servicesaws-sdkamazon-iamaws-java-sdk

How to rotate only iam user access key and do not rotate their secret keys


I want to rotate AWS IAM user access keys and only access keys and not secret access keys , When I am trying to rotate keys I am able to rotate the entire keys not separately access key.


Solution

  • It is impossible to rotate only the access key ID or the secret access key, they always come together.