Skip to content

Commit

Permalink
feat: [PL-58653]: Add support in AWS SM for update based on put secre…
Browse files Browse the repository at this point in the history
…t flag (#597)
  • Loading branch information
sahibaHarness authored Nov 19, 2024
1 parent 7f6a3fe commit 8a2d4c2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions harness/cd/unpublished/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ type SecretManager struct {
KeyRing string `json:"keyRing,omitempty"`
KeyName string `json:"keyName,omitempty"`
Credentials string `json:"credentials,omitempty"`
UsePutSecret bool `json:"usePutSecret,omitempty"`
}

type User struct {
Expand Down
1 change: 1 addition & 0 deletions harness/nextgen/docs/AwsSecretManager.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ Name | Type | Description | Notes
**SecretNamePrefix** | **string** | | [optional] [default to null]
**DelegateSelectors** | **[]string** | | [optional] [default to null]
**Default_** | **bool** | | [optional] [default to null]
**UsePutSecret** | **bool** | | [optional] [default to null]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

1 change: 1 addition & 0 deletions harness/nextgen/model_aws_secret_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,5 @@ type AwsSecretManager struct {
// List of Delegate Selectors that belong to the same Delegate and are used to connect to the Secret Manager.
DelegateSelectors []string `json:"delegateSelectors,omitempty"`
Default_ bool `json:"default,omitempty"`
UsePutSecret bool `json:"usePutSecret,omitempty"`
}

0 comments on commit 8a2d4c2

Please sign in to comment.