redttps

Find cloud credentials

Description

In modern cloud environments, authentication tokens are critical for securely accessing services and APIs across platforms like Azure, AWS, and Google Cloud Platform (GCP). On Windows systems, these tokens are typically stored locally by command-line tools or SDKs to maintain session state and allow seamless interaction with cloud resources. Understanding where these tokens are located helps administrators manage security, troubleshoot access issues, and ensure that credentials are properly protected.


Cheatsheet

  1. Azure
  2. %USERPROFILE%\.azure\accessTokens.json
    %USERPROFILE%\.azure\azureProfile.json
            
  3. AWS
  4. %USERPROFILE%\.aws\credentials
    %USERPROFILE%\.aws\config