okta / okta-aws-cli

A CLI for having Okta as the IdP for AWS CLI operations
https://github.com/okta/okta-aws-cli
Other
128 stars 34 forks source link

MatthewJohn's PR 187 #188

Closed monde closed 8 months ago

monde commented 8 months ago

Fix default values in config when using AWS profile argument using AWS profiles in Okta config.

Fix logic that determines if the AWS-profile-specific config key has been set - viper InConfig and IsSet appear to always return true, even if the value is not defined in the "profile.key"

Fixes https://github.com/okta/okta-aws-cli/issues/182

Profile value is already set, remove unnecessary function call.

Closes #187 Closes #182