From 21e4467b58ef440fea50e0caa92d9e7c2a2e5a60 Mon Sep 17 00:00:00 2001 From: Mike Mondragon Date: Wed, 14 Feb 2024 12:44:40 -0800 Subject: [PATCH] Fix bug where all flags were not being set on the config object. Closes #114 --- internal/config/config.go | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/internal/config/config.go b/internal/config/config.go index b7a70f4..92c10ae 100644 --- a/internal/config/config.go +++ b/internal/config/config.go @@ -325,18 +325,23 @@ func NewConfig(attrs *Attributes) (*Config, error) { awsIAMIdP: attrs.AWSIAMIdP, awsIAMRole: attrs.AWSIAMRole, awsRegion: attrs.AWSRegion, + awsSessionDuration: attrs.AWSSessionDuration, + cacheAccessToken: attrs.CacheAccessToken, + customScope: attrs.CustomScope, debug: attrs.Debug, debugAPICalls: attrs.DebugAPICalls, - expiryAWSVariables: attrs.ExpiryAWSVariables, exec: attrs.Exec, + expiryAWSVariables: attrs.ExpiryAWSVariables, fedAppID: attrs.FedAppID, format: attrs.Format, + keyID: attrs.KeyID, legacyAWSVariables: attrs.LegacyAWSVariables, + oidcAppID: attrs.OIDCAppID, openBrowser: attrs.OpenBrowser, openBrowserCommand: attrs.OpenBrowserCommand, + orgDomain: attrs.OrgDomain, privateKey: attrs.PrivateKey, privateKeyFile: attrs.PrivateKeyFile, - keyID: attrs.KeyID, profile: attrs.Profile, qrCode: attrs.QRCode, writeAWSCredentials: attrs.WriteAWSCredentials,