Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EPERM issue when trying to configure credentials on Windows #267

Open
snelson3 opened this issue Mar 2, 2023 · 0 comments
Open

EPERM issue when trying to configure credentials on Windows #267

snelson3 opened this issue Mar 2, 2023 · 0 comments

Comments

@snelson3
Copy link

snelson3 commented Mar 2, 2023

OS Version: 10

Other users on the same team are able to login fine with both Windows and Mac, so can't figure out what this issue is about

C:\Users\username>aws-azure-login --profile PROFILE --configure
Configuring profile 'PROFILE'
(node:23236) NOTE: We are formalizing our plans to enter AWS SDK for Javascript (v2) into maintenance mode

Please migrate your code to use AWS SDK for Javascript (v3).
For more information, check the migration guide at https://a.co/7PzMCcy
(use `node --trace-warnings ...` to show where the warning was created)
? Azure Tenant ID: REDACTED
? Azure AppID URI: REDACTED
? Default Username: REDACTED
? Stay logged in: skip authentication while refreshing aws credentials (true|false) false
? Default Role ARN (if multiple):
? Default Session Duration Hours (up to 12): 1
[Error: EPERM: operation not permitted, open 'C:\Users\username\.aws\config'] {
  errno: -4048,
  code: 'EPERM',
  syscall: 'open',
  path: 'C:\\Users\\username\\.aws\\config'
}

A cursory google search of the error suggests 3rd party antivirus might be the issue, but Windows Defender is the only thing running (and it can't be turned off due to company policy)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant