From 7cac93ea906c82865d1020a7716431187077ec5e Mon Sep 17 00:00:00 2001 From: Thomas Avery <43214426+Thomas-Avery@users.noreply.github.com> Date: Mon, 28 Aug 2023 11:10:32 -0500 Subject: [PATCH] Increase secret value max limit (#3193) --- .../SecretsManager/Models/Request/SecretCreateRequestModel.cs | 2 +- .../SecretsManager/Models/Request/SecretUpdateRequestModel.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Api/SecretsManager/Models/Request/SecretCreateRequestModel.cs b/src/Api/SecretsManager/Models/Request/SecretCreateRequestModel.cs index 9d6f8c9aa..fd895594a 100644 --- a/src/Api/SecretsManager/Models/Request/SecretCreateRequestModel.cs +++ b/src/Api/SecretsManager/Models/Request/SecretCreateRequestModel.cs @@ -13,7 +13,7 @@ public class SecretCreateRequestModel : IValidatableObject [Required] [EncryptedString] - [EncryptedStringLength(5000)] + [EncryptedStringLength(35000)] public string Value { get; set; } [Required] diff --git a/src/Api/SecretsManager/Models/Request/SecretUpdateRequestModel.cs b/src/Api/SecretsManager/Models/Request/SecretUpdateRequestModel.cs index d5cd320ff..a08ed90c3 100644 --- a/src/Api/SecretsManager/Models/Request/SecretUpdateRequestModel.cs +++ b/src/Api/SecretsManager/Models/Request/SecretUpdateRequestModel.cs @@ -13,7 +13,7 @@ public class SecretUpdateRequestModel : IValidatableObject [Required] [EncryptedString] - [EncryptedStringLength(5000)] + [EncryptedStringLength(35000)] public string Value { get; set; } [Required]