File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -160,8 +160,11 @@ if [ -n "\$https_proxy" ]; then
160160 readonly URI_REGEX='^(([^:/?#]+):)?(//((([^:/?#]+)@)?([^:/?#]+)(:([0-9]+))?))?(/([^?#]*))(\?([^#]*))?(#(.*))?'
161161 [[ \$ https_proxy =~ \$ {URI_REGEX} ]] && PROXY_CONFIG="-Dhttps.proxyHost=\$ {BASH_REMATCH[7]} -Dhttps.proxyPort=\$ {BASH_REMATCH[9]}"
162162fi
163- env OKTA_AWS_ROLE_TO_ASSUME="\$ roleARN" \\
164- java \$ {PROXY_CONFIG} -classpath ${PREFIX} /okta-aws-cli.jar com.okta.tools.CredentialProcess
163+ env OKTA_AWS_ROLE_TO_ASSUME="\$ roleARN" \
164+ java \$ {PROXY_CONFIG} \
165+ -Djava.util.logging.config.file=${PREFIX} /logging.properties \
166+ -classpath ${PREFIX} /okta-aws-cli.jar \
167+ com.okta.tools.CredentialProcess
165168EOF
166169chmod +x " ${PREFIX} /bin/okta-credential_process"
167170
@@ -172,7 +175,10 @@ if [ -n "\$https_proxy" ]; then
172175 readonly URI_REGEX='^(([^:/?#]+):)?(//((([^:/?#]+)@)?([^:/?#]+)(:([0-9]+))?))?(/([^?#]*))(\?([^#]*))?(#(.*))?'
173176 [[ \$ https_proxy =~ \$ {URI_REGEX} ]] && PROXY_CONFIG="-Dhttps.proxyHost=\$ {BASH_REMATCH[7]} -Dhttps.proxyPort=\$ {BASH_REMATCH[9]}"
174177fi
175- java \$ {PROXY_CONFIG} -classpath ${PREFIX} /okta-aws-cli.jar com.okta.tools.ListRoles
178+ java \$ {PROXY_CONFIG} \
179+ -Djava.util.logging.config.file=${PREFIX} /logging.properties \
180+ -classpath ${PREFIX} /okta-aws-cli.jar \
181+ com.okta.tools.ListRoles
176182EOF
177183chmod +x " ${PREFIX} /bin/okta-listroles"
178184
You can’t perform that action at this time.
0 commit comments