Auto deactivation of access key and secret access key

0

How Auto deactivation of access key and secret access key can be achieved associated with a user when his profile is removed from AWS account. This is in relation to real time scenario when an employee leaves the organization and his access key and secret access key still remains and can lead to security issue if the same is available to others

2개 답변
0

What is the process you use to remove user profile from AWS account? If you are deleting the IAM user, this will also delete all its user data, security credentials and inline policies. You can take additional steps before deleting the user to list all access keys for a specific user: https://docs.aws.amazon.com/cli/latest/reference/iam/list-access-keys.html And then, delete the returned list: https://docs.aws.amazon.com/IAM/latest/APIReference/API_DeleteAccessKey.html

profile pictureAWS
AmerO
답변함 5달 전
  • The User is removed from AD group.Thanks for your response however how this can be automated - the action of auto deactivating the access key and secret access key?

0

Are you using federated login? AD users are not IAM users and they don't get assigned secret keys or access keys. They might request temporary credentials but these last 12 hours only and they have to be federated. If the user account is no longer in AD, that will break it. https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp.html

More information about the process how the person was provided with access key and secret key. Could the credentials pair belong to another operational AIM user and not the AD profile. https://repost.aws/knowledge-center/adfs-grant-ad-access-api-cli

profile pictureAWS
AmerO
답변함 5달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인