1

We use several Powershell scripts that rely on having access to our AWS account. We use Set-AWSCredentials to set the access and secret keys. This has worked fairly well, except lately the credentials have gone missing just over the course of a day. Previously the credentials would stay put for months, but we now have to run Set-AWSCredentials every day.

Is anyone else seeing the same thing? What can I do to debug what's happening?

Anthony Neace
  • 25,013
  • 7
  • 114
  • 129
nwalke
  • 3,170
  • 6
  • 35
  • 60
  • Have you recently edited your powershell profile? It may no longer be setting your AWS default settings. Try running `Initialize-AWSDefaults` and see if it still has your past credentials. – Anthony Neace May 02 '14 at 15:23
  • We have not recently edited this user's powershell profile. I ran `Initialize-AWSDefaults`, and it says they've been set now. I guess we'll see if that does anything. – nwalke May 02 '14 at 15:30
  • Getting the same issue again, this is after I've run `Initialize-AWSDefaults`. – nwalke May 04 '14 at 04:43

1 Answers1

-1

after you set credentials and default region(if you wish) run Initialize-AWSDefaults

Evren
  • 161
  • 1
  • 7