Skip to content

Commit

Permalink
feat: [PL-58650]: Terraform Changes for Add support for configuring r…
Browse files Browse the repository at this point in the history
…ecovery duration in AWS Secrets Manager Connector for secret deletion flow
  • Loading branch information
sahibaHarness committed Dec 24, 2024
1 parent 4e41803 commit 1236970
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 9 deletions.
2 changes: 2 additions & 0 deletions harness/cd/unpublished/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ type SecretManager struct {
KeyName string `json:"keyName,omitempty"`
Credentials string `json:"credentials,omitempty"`
UsePutSecret bool `json:"usePutSecret,omitempty"`
ForceDeleteWithoutRecovery bool `json:"forceDeleteWithoutRecovery,omitempty"`
RecoveryWindowInDays int64 `json:"recoveryWindowInDays,omitempty"`
}

type User struct {
Expand Down
19 changes: 10 additions & 9 deletions harness/nextgen/docs/AwsSecretManager.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
# AwsSecretManager

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Credential** | [***AwsSecretManagerCredential**](AwsSecretManagerCredential.md) | | [default to null]
**Region** | **string** | | [default to null]
**SecretNamePrefix** | **string** | | [optional] [default to null]
**DelegateSelectors** | **[]string** | | [optional] [default to null]
**Default_** | **bool** | | [optional] [default to null]
**UsePutSecret** | **bool** | | [optional] [default to null]

Name | Type | Description | Notes
------------ | ------------- |-------------------------------|-------------------------------
**Credential** | [***AwsSecretManagerCredential**](AwsSecretManagerCredential.md) | | [default to null]
**Region** | **string** | | [default to null]
**SecretNamePrefix** | **string** | | [optional] [default to null]
**DelegateSelectors** | **[]string** | | [optional] [default to null]
**Default_** | **bool** | | [optional] [default to null]
**UsePutSecret** | **bool** | | [optional] [default to null]
**ForceDeleteWithoutRecovery** | **bool** | | [optional] [default to false] | | [optional] [default to false]
**RecoveryWindowInDays** | **long** | |[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)

2 changes: 2 additions & 0 deletions harness/nextgen/model_aws_secret_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,6 @@ type AwsSecretManager struct {
DelegateSelectors []string `json:"delegateSelectors,omitempty"`
Default_ bool `json:"default,omitempty"`
UsePutSecret bool `json:"usePutSecret,omitempty"`
ForceDeleteWithoutRecovery bool `json:"forceDeleteWithoutRecovery,omitempty"`
RecoveryWindowInDays int64 `json:"recoveryWindowInDays,omitempty"`
}

0 comments on commit 1236970

Please sign in to comment.