title: Change AWS EC2 instance aws_access_key_id & aws_secret_access_key
body: <p>We have an AWS EC2 instance, where someone has removed the <code>USER CREDIANTIALS</code>.
  So when we run the <code>.aws/credentials</code> we get a <code>aws_access_key_id</code> &amp; <code>aws_secret_access_key</code> which doesn't exists anymore.</p>
  <pre><code>ubuntu@prod-ip-000:~$ cat .aws/credentials
  [default]
  aws_access_key_id = AKIASIY3TRVDD7QZXXXX
  aws_secret_access_key = f7rA1eebxzdd61yP4vPTNql09FxgZZam/V5HxxXx
  </code></pre>
  <p>Now I have created another user and add their <code>aws_access_key_id</code> &amp; <code>aws_secret_access_key</code> on the server by</p>
  <pre><code>export AWS_ACCESS_KEY_ID=AKIASIY3TRVDCDXXXXXX
  export AWS_SECRET_ACCESS_KEY=cgGjUlh5FDPLpUVBBK5Rl8jlWKV6Iv4NrXXXXXX
  </code></pre>
  <p>After that when I run <code>cat .aws/credentials</code> again it still show me the previous user crediantials.</p>
  <pre><code>ubuntu@prod-ip-000:~$ cat .aws/credentials
  [default]
  aws_access_key_id = AKIASIY3TRVDD7QZXXXX
  aws_secret_access_key = f7rA1eebxzdd61yP4vPTNql09FxgZZam/V5HxxXx
  </code></pre>
  <p>Does anyone know how can I change the Crediantials of the Old one with the new user's credentials?</p>