Skip to content

Commit 262cd9d

Browse files
authored
Pl-62434 (#681)
Added new field kmsArnInPlainText
1 parent 3cb77b7 commit 262cd9d

File tree

4 files changed

+7
-3
lines changed

4 files changed

+7
-3
lines changed

harness/cd/unpublished/types.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ type SecretManager struct {
3131
AccessKey string `json:"accessKey,omitempty"`
3232
SecretKey string `json:"secretKey,omitempty"`
3333
KmsArn string `json:"kmsArn,omitempty"`
34+
KmsArnInPlainText string `json:"kmsArnInPlainText,omitempty"`
3435
Region string `json:"region"`
3536
AssumeIamRoleOnDelegate bool `json:"assumeIamRoleOnDelegate,omitempty"`
3637
AssumeStsRoleOnDelegate bool `json:"assumeStsRoleOnDelegate,omitempty"`

harness/nextgen/api/swagger.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30042,8 +30042,6 @@ components:
3004230042
type: string
3004330043
description: This contains AWS cost and usage reports attributes
3004430044
AwsKmsConnector:
30045-
required:
30046-
- kmsArn
3004730045
type: object
3004830046
description: This contains AWS KMS SM connectors config details
3004930047
allOf:
@@ -30054,6 +30052,8 @@ components:
3005430052
$ref: '#/components/schemas/AwsKmsConnectorCredential'
3005530053
kmsArn:
3005630054
type: string
30055+
kmsArnInPlainText:
30056+
type: string
3005730057
region:
3005830058
type: string
3005930059
delegateSelectors:

harness/nextgen/docs/AwsKmsConnector.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
66
**Credential** | [***AwsKmsConnectorCredential**](AwsKmsConnectorCredential.md) | | [optional] [default to null]
77
**KmsArn** | **string** | | [default to null]
8+
**KmsArnInPlainText** | **string** | | [optional] [default to null]
89
**Region** | **string** | | [optional] [default to null]
910
**DelegateSelectors** | **[]string** | | [optional] [default to null]
1011
**Default_** | **bool** | | [optional] [default to null]

harness/nextgen/model_aws_kms_connector.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@ package nextgen
1313
type AwsKmsConnector struct {
1414
Credential *AwsKmsConnectorCredential `json:"credential"`
1515
// ARN for AWS KMS.
16-
KmsArn string `json:"kmsArn"`
16+
KmsArn string `json:"kmsArn,omitempty"`
17+
//ARN as plaintext for AWS KMS
18+
KmsArnInPlainText string `json:"kmsArnInPlainText,omitempty"`
1719
// Region for AWS KMS.
1820
Region string `json:"region"`
1921
IsDefault bool `json:"isDefault,omitempty"`

0 commit comments

Comments
 (0)