add secretGroup attribute to model definition

This commit is contained in:
Chukwunonso Frank
2023-07-20 12:58:07 +01:00
parent 6ee7081640
commit 8abe7c7f99
4 changed files with 16 additions and 12 deletions
+5
View File
@@ -37,6 +37,7 @@ export interface IIntegration {
path: string;
region: string;
secretPath: string;
secretGroup: string;
integration:
| "azure-key-vault"
| "aws-parameter-store"
@@ -160,6 +161,10 @@ const integrationSchema = new Schema<IIntegration>(
required: true,
default: "/",
},
secretGroup: {
type: String,
default: null,
},
},
{
timestamps: true,