Open sidebar: Click the AWS SSO icon in the activity bar.
Refresh: Click Refresh SSO (or run AWS: Refresh Credentials from the Command Palette).
Login if asked: If the session expired, a terminal opens; complete the browser login.
Result: Credentials are written to ~/.aws/credentials. CLI, CDK, and other tools use them until they expire.
Other
Identity: When configured, the sidebar shows Account and Role under “Identity”.
Delete ~/.aws: The trash icon in the sidebar header opens a confirmation to delete your ~/.aws folder (config and credentials). Use only if you want to remove all local AWS config.
Commands & settings
AWS: Refresh Credentials — refreshes SSO and writes credentials to your credentials file.
AWS SSO: Profile — the profile name used for SSO (must exist in ~/.aws/config).
Credentials & privacy
Credentials — The extension runs aws sso login and aws configure export-credentials locally. Short-term credentials are written only to your standard AWS credentials file (~/.aws/credentials or the path set by AWS_SHARED_CREDENTIALS_FILE). No credentials are stored inside the extension or sent anywhere.
Config — Only the profile name you set in Settings is read. AWS config and credentials are read/written on your machine by the AWS CLI; the extension does not upload or transmit them.
Privacy — No telemetry, no external calls, no data sent to any server. Everything runs locally (AWS CLI in a terminal, file writes to your AWS paths).