Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>aws credentials monitorNew to Visual Studio Code? Get it now.
aws credentials monitor

aws credentials monitor

Ryan Yang

|
115 installs
| (0) | Free
extension to monitor aws sso credentials expiry and prompts the user to refresh when token is about to expire
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

aws-credentials-timer

Visual Studio Marketplace Version

Timer to automatically refresh AWS credentials by opening up a browser to configure AWS SSO when close to expiration <= 90 minutes. This Extension polls and checks the AWS expiration token every hour.

Configuration You can configure runtime behavior via the following fields. expirationMinToRefresh: threshold time to initiate AWS token refresh pollingSec: time period interval to poll & check whether aws credentials are up to date commandToRefreshAWSCredentials: command to execute for refreshing aws tokens

  1. open the extension
  2. click extension settings
          "awsCredentialsTimer.expirationMinToRefresh": {
            "type": "integer",
            "default": 90
          },
          "awsCredentialsTimer.pollingSec": {
            "type": "integer",
            "default": 5400
          },
          "awsCredentialsTimer.commandToRefreshAWSCredentials": {
            "type": "string",
            "default": "tools/update_aws_credentials.sh"
          },
          "awsCredentialsTimer.awsCredentialPath": {
            "type": "string",
            "default": "~/.aws/credentials"
          }

Development

  1. Install all deps yarn install
  2. Open in vscode, press F5!

Testing

yarn test

Packaging

  1. install vscode vsce yarn add @vscode/vsce
  2. Package the code via vsce package
  3. Publish the extension via vsce publish
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft