aws / aws/aws-toolkit-vscode

"export" the credentials to the integrated terminal?

Open
#3,555 2 comments 4 reactions 0 assignees View on GitHub
auth-credentials environment-variables feature-request remote-execute
Dominant language
TypeScript
Stars
2k
Forks
807
Avg merge
10h 12m
Merged PRs (30d)
7

Description

## System details (run the `AWS: About Toolkit` command)

OS: Linux x64 5.15.0-1038-azure
Visual Studio Code extension host: 1.79.0
AWS Toolkit: 1.74.0
node: 16.17.1

## Question

I am running VS code as a devcontainer in a GitHub Codespace. I authenticate to the AWS Toolkit using IAM Identity center. It works well, but I want to be able to use the AWS cli from the integrated terminal using the same credentials. Is this possible? I could run "aws configure sso", but then I'll have to enter the same config twice to get both the toolkit and cli working. Or am I just missing something obvious?

Contributor guide

Open the contributing guide

Research direction

Start by comparing the AWS Toolkit IAM Identity Center session with the configuration used by `aws configure sso`, then investigate how credentials could reach the integrated terminal in a devcontainer or GitHub Codespace. Done means the CLI can use the Toolkit's authenticated session without requiring duplicate setup.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, vscode
Domain
authentication, cli, cloud
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.