Skip to content

Commit

Permalink
Fixed ng secret manager serializer
Browse files Browse the repository at this point in the history
  • Loading branch information
micahlmartin committed Feb 19, 2022
1 parent 3294408 commit b8fecd2
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ func (a *AwsSecretManagerCredential) MarshalJSON() ([]byte, error) {
case AwsSecretManagerAuthTypes.ManualConfig:
spec, err = json.Marshal(a.ManualConfig)
case AwsSecretManagerAuthTypes.AssumeIAMRole:
spec, err = json.Marshal(a.AssumeIamRole)
// spec, err = json.Marshal(a.AssumeIamRole)
// noop
case AwsSecretManagerAuthTypes.AssumeSTSRole:
spec, err = json.Marshal(a.AssumeStsRole)
default:
Expand Down

0 comments on commit b8fecd2

Please sign in to comment.