error: Connection error. Your session has been terminated for the following reasons: ----------ERROR------- Encountered error while initiating handshake. Fetching data key failed: Unable to retrieve

0

error while password reset of a Linux node on fleet manager

Connection error. Your session has been terminated for the following reasons: ----------ERROR------- Encountered error while initiating handshake. Fetching data key failed: Unable to retrieve data key, Error when decrypting data key AccessDeniedException: The ciphertext refers to a customer master key that does not exist, does not exist in this region, or you are not allowed to access. status code: 400, request id: 9b9a5a87-2b85-46e4-aef7-2f5668879c45

1 Answer
0

Hello there,

I see that you are having issues changing the password on your nodes using SSM.

This error usually arises when the IAM user/role initiating the connection does not have permission to access the KMS key or if there are issues with the KMS key policy you are using.

You can find more on this here:
[+] https://aws.amazon.com/premiumsupport/knowledge-center/ssm-session-manager-failures

Hope this helps

Regards, Harshavardhan

profile picture
SUPPORT ENGINEER
answered a month ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions