package com.okta.tools;

public class OktaAwsCliEnvironment {
    private static final String DEFAULT_PROFILE_PREFIX = "profile ";
    private static final String DEFAULT_CREDENTIALS_SUFFIX = "_source";

    public final boolean browserAuth;
    public final String oktaOrg;
    public final String oktaUsername;
    public final String oktaPassword;
    public String oktaProfile;

    public final String oktaAwsAppUrl;

    public String awsRoleToAssume;

    public int stsDuration;
    public final String awsRegion;
    public final String profilePrefix;
    public final String credentialsSuffix;

    public OktaAwsCliEnvironment()
    {
        this(false, null, null, null, null, null, null, 0, null, null, null);
    }

    public OktaAwsCliEnvironment(boolean browserAuth, String oktaOrg,
                                 String oktaUsername, String oktaPassword, String oktaProfile,
                                 String oktaAwsAppUrl, String awsRoleToAssume, int stsDuration,
                                 String awsRegion, String profilePrefix, String credentialsSuffix) {
        this.browserAuth = browserAuth;
        this.oktaOrg = oktaOrg;
        this.oktaUsername = oktaUsername;
        this.oktaPassword = oktaPassword;
        this.oktaProfile = oktaProfile;
        this.oktaAwsAppUrl = oktaAwsAppUrl;
        this.awsRoleToAssume = awsRoleToAssume;
        this.stsDuration = stsDuration;
        this.awsRegion = awsRegion;
        this.profilePrefix = profilePrefix == null ? DEFAULT_PROFILE_PREFIX : profilePrefix;
        this.credentialsSuffix = credentialsSuffix == null ? DEFAULT_CREDENTIALS_SUFFIX : credentialsSuffix;
    }
}

@@ -340,24 +340,66 @@
 taPassword;%0A
+    public final String oktaCookiesPath; %0A
     public S
@@ -736,16 +736,22 @@
 l, null,
+ null,
  0, null
@@ -932,16 +932,21 @@
 okta
-Profile,
+CookiesPath, 
 %0A   
@@ -966,32 +966,52 @@
                 
+ String oktaProfile,
  String oktaAwsA
@@ -1044,26 +1044,11 @@
 ume,
- int stsDuration,%0A
+%0A  
     
@@ -1066,33 +1066,48 @@
                 
- 
+int stsDuration,
  String awsRegio
@@ -1130,16 +1130,49 @@
 ePrefix,
+%0A                                
  String 
@@ -1344,24 +1344,72 @@
 taPassword;%0A
+        this.oktaCookiesPath = oktaCookiesPath;%0A
         this

Update OktaAwsCliEnvironment.java