What will happened if we change AWS S3 access key and EC2 windows desktop password?

0

I wants to know if AWS S3 access key and EC2 Windows desktop password if changed then

What will be the impact on applications running on the same server? Affect on any region? Any

已提問 1 年前檢視次數 222 次
1 個回答
0

TL;DR: It depends on where you are using the credentials (access key and password) - it's not possible from this forum to directly determine what the impact will be. Therefore this advice is general only.

Changing the Windows password will affect anything that uses that password. If it's the password that you use to access the instance then you'll need to use the new password. If there are processes running on the instance that have the password hard-coded into them (this isn't a good security practice but it happens all the time) then those will need to be updated. If there are other resources in your VPC that are accessed by that user then those may be interrupted because the password has changed.

When you say "S3 access key" I assume you mean access and secret access key. If you change this, then anything that relies on that access key will need to be updated. For example, if the access and secret access key have been put into a credentials file for an application or for the AWS CLI to use then you'll need to update those files.

I'd add that EC2 instances can have roles attached to them and doing so means that you don't have to create static, long-lived credentials (access key and secret access key) in order to access AWS resources. Again, it's not possible to know what you're using the credentials for (that detail is not in your question) but if you are using long-lived credentials on an EC2 instance, I'd strongly recommend using roles instead.

profile pictureAWS
專家
已回答 1 年前
  • I agree with this response

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南