Skip to content

Commit

Permalink
Merge pull request #33 from IBM/shacharn-3279-kv-create
Browse files Browse the repository at this point in the history
changed payload *string to interface
  • Loading branch information
ShacharN authored Feb 16, 2022
2 parents f4ca46e + 5b73f97 commit e7eef24
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions secretsmanagerv1/secrets_manager_v1.go
Original file line number Diff line number Diff line change
Expand Up @@ -3662,7 +3662,7 @@ func UnmarshalRotation(m map[string]json.RawMessage, result interface{}) (err er
// - RotateKvSecretBody
type SecretAction struct {
// The new secret data to assign to an `arbitrary` secret.
Payload *string `json:"payload,omitempty"`
Payload interface{} `json:"payload,omitempty"`

// Determine whether keys must be rotated.
RotateKeys *bool `json:"rotate_keys,omitempty"`
Expand Down Expand Up @@ -4430,7 +4430,7 @@ type SecretResource struct {
ExpirationDate *strfmt.DateTime `json:"expiration_date,omitempty"`

// The new secret data to assign to the secret.
Payload *string `json:"payload,omitempty"`
Payload interface{} `json:"payload,omitempty"`

// The data that is associated with the secret version. The data object contains the field `payload`.
SecretData interface{} `json:"secret_data,omitempty"`
Expand Down Expand Up @@ -5557,7 +5557,7 @@ type ArbitrarySecretResource struct {
ExpirationDate *strfmt.DateTime `json:"expiration_date,omitempty"`

// The new secret data to assign to the secret.
Payload *string `json:"payload,omitempty"`
Payload interface{} `json:"payload,omitempty"`

// The data that is associated with the secret version. The data object contains the field `payload`.
SecretData interface{} `json:"secret_data,omitempty"`
Expand Down

0 comments on commit e7eef24

Please sign in to comment.