Skip to content

Commit

Permalink
remove qoutes from invoke via AWS Credential Process (#452)
Browse files Browse the repository at this point in the history
reported-by: Chenfeng Bao <[email protected]>
  • Loading branch information
boarnoah authored Jun 14, 2024
1 parent c882915 commit 6495405
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/D2L.Bmx/WriteHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,10 @@ bool useCredentialProcess
}
data[sectionName]["credential_process"] =
"bmx print --format json --cache --non-interactive"
+ $" --org \"{oktaApi.Org}\""
+ $" --user \"{oktaApi.User}\""
+ $" --account \"{awsCredsInfo.Account}\""
+ $" --role \"{awsCredsInfo.Role}\""
+ $" --org {oktaApi.Org}"
+ $" --user {oktaApi.User}"
+ $" --account {awsCredsInfo.Account}"
+ $" --role {awsCredsInfo.Role}"
+ $" --duration {awsCredsInfo.Duration}";
} else {
if( !data.Sections.ContainsSection( profile ) ) {
Expand Down

0 comments on commit 6495405

Please sign in to comment.