Skip to content

Commit

Permalink
Merge pull request Versent#472 from hacker65536/fixfishtemp
Browse files Browse the repository at this point in the history
fix script's template for fish
  • Loading branch information
Mark Wolfe authored Mar 19, 2020
2 parents 0ab87fe + a5c0065 commit 602ad1f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cmd/saml2aws/commands/script.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@ set -gx AWS_SECRET_ACCESS_KEY {{ .AWSSecretKey }}
set -gx AWS_SESSION_TOKEN {{ .AWSSessionToken }}
set -gx AWS_SECURITY_TOKEN {{ .AWSSecurityToken }}
set -gx SAML2AWS_PROFILE {{ .ProfileName }}
set -gx AWS_CREDENTIAL_EXPIRATION={{ .Expires "2006-01-02T15:04:05Z07:00" }}
"
set -gx AWS_CREDENTIAL_EXPIRATION '{{ .Expires.Format "2006-01-02T15:04:05Z07:00" }}'
`

const powershellTmpl = `$env:AWS_ACCESS_KEY_ID='{{ .AWSAccessKey }}'
Expand Down

0 comments on commit 602ad1f

Please sign in to comment.