Skip to content

Commit

Permalink
fix(engine): do not expose private key and secrets
Browse files Browse the repository at this point in the history
Signed-off-by: Benjamin Coenen <5719034+bnjjj@users.noreply.github.com>
  • Loading branch information
bnjjj authored and richardlt committed Jan 17, 2020
1 parent fdcf011 commit 4087953
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions engine/api/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -111,13 +111,13 @@ type Configuration struct {
RedirectMethod string `json:"redirect_method" toml:"redirectMethod"`
RedirectURL string `json:"redirect_url" toml:"redirectURL"`
Keys struct {
RequestSigningKey string `json:"request_signing_key" toml:"requestSigningKey"`
TokenSigningKey string `json:"token_signing_key" toml:"tokenSigningKey"`
RequestSigningKey string `json:"-" toml:"requestSigningKey"`
TokenSigningKey string `json:"-" toml:"tokenSigningKey"`
TokenKeySigningKey struct {
KeySigningKey string `json:"public_signing_key" toml:"keySigningKey"`
SigningKeyClaim string `json:"signing_key_claim" toml:"signingKeyClaim"`
} `json:"key_signing_key" toml:"tokenKeySigningKey"`
} `json:"keys" toml:"keys"`
} `json:"-" toml:"tokenKeySigningKey"`
} `json:"-" toml:"keys"`
} `json:"corporate_sso" toml:"corporateSSO"`
Github struct {
Enabled bool `toml:"enabled" default:"false" json:"enabled"`
Expand Down

0 comments on commit 4087953

Please sign in to comment.