Skip to content

Commit

Permalink
Merge pull request #19 from Hortau/Issue18
Browse files Browse the repository at this point in the history
Cannot create x.509 credentials with the SDK
  • Loading branch information
bearmini authored Apr 23, 2020
2 parents 9d52024 + 3625082 commit 0886601
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions sdk.go
Original file line number Diff line number Diff line change
Expand Up @@ -1058,8 +1058,11 @@ func (o *CreatedCouponOptions) JSON() string {

// Credentials is a structure that represents API credentials.
type Credentials struct {
AccessKeyId string `json:"accessKeyId"`
SecretAccessKey string `json:"secretAccessKey"`
AccessKeyId string `json:"accessKeyId,omitempty"`
SecretAccessKey string `json:"secretAccessKey,omitempty"`
Certificate string `json:"cert,omitempty"`
PrivateKey string `json:"key,omitempty"`
CertificateAuthority string `json:"ca,omitempty"`
}

// CredentialOptions is a structure that represents the request option for CreateCredentialWithName API.
Expand Down

0 comments on commit 0886601

Please sign in to comment.