Removed prompt to set profile as default on sso init #112
Removed prompt to set profile as default on sso init #112sarosejoshi merged 1 commit intodevelopfrom
Conversation
WalkthroughTwo new helper methods, Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant SSOClient
participant AWSConfig
participant AWSSTS
participant SSOAccount
User->>SSOClient: InitSSO(profile)
SSOClient->>SSOClient: setProfileAsDefault(profile)
SSOClient->>AWSConfig: Retrieve SSO config values
AWSConfig-->>SSOClient: Return config values
SSOClient->>AWSConfig: configureAWSProfile("default", values)
AWSConfig-->>SSOClient: Confirm profile set
SSOClient->>SSOClient: printProfileSummary(profile)
SSOClient->>AWSConfig: Retrieve SSO config values
SSOClient->>AWSSTS: AwsSTSGetCallerIdentity(profile)
AWSSTS-->>SSOClient: Return role ARN
SSOClient->>SSOAccount: GetSSOAccountName(account_id)
SSOAccount-->>SSOClient: Return account name
SSOClient->>AWSConfig: GetCachedSsoAccessToken(profile)
AWSConfig-->>SSOClient: Return token expiry
SSOClient->>User: printSummary(...)
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (2)
Note 🎁 Summarized by CodeRabbit FreeYour organization is on the Free plan. CodeRabbit will generate a high-level summary and a walkthrough for each pull request. For a comprehensive line-by-line review, please upgrade your subscription to CodeRabbit Pro by visiting https://app.coderabbit.ai/login. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Join our Discord community for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Description
Summary by CodeRabbit
New Features
Refactor