diff options
| author | ivarlovlie <git@ivarlovlie.no> | 2022-06-04 21:05:47 +0200 |
|---|---|---|
| committer | ivarlovlie <git@ivarlovlie.no> | 2022-06-04 21:13:00 +0200 |
| commit | cf9597de850de1ef721a35ad79ac67b9fdb9e1d4 (patch) | |
| tree | 4805de53a24bedd91238d6d306476b1921ccc0ad /server/src/Data/Static/AppConfiguration.cs | |
| parent | fdbeffe78e5cd7393d28915189ec518a06b941f1 (diff) | |
| download | greatoffice-cf9597de850de1ef721a35ad79ac67b9fdb9e1d4.tar.xz greatoffice-cf9597de850de1ef721a35ad79ac67b9fdb9e1d4.zip | |
refactor: Use Vault to get configuration
Diffstat (limited to 'server/src/Data/Static/AppConfiguration.cs')
| -rw-r--r-- | server/src/Data/Static/AppConfiguration.cs | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/server/src/Data/Static/AppConfiguration.cs b/server/src/Data/Static/AppConfiguration.cs new file mode 100644 index 0000000..a6494ea --- /dev/null +++ b/server/src/Data/Static/AppConfiguration.cs @@ -0,0 +1,27 @@ +namespace IOL.GreatOffice.Api.Data.Static; + +public class AppConfiguration +{ + public string DB_HOST { get; set; } + public string DB_PORT { get; set; } + public string DB_USER { get; set; } + public string DB_PASSWORD { get; set; } + public string DB_NAME { get; set; } + public string QUARTZ_DB_HOST { get; set; } + public string QUARTZ_DB_PORT { get; set; } + public string QUARTZ_DB_USER { get; set; } + public string QUARTZ_DB_PASSWORD { get; set; } + public string QUARTZ_DB_NAME { get; set; } + public string SEQ_API_KEY { get; set; } + public string SEQ_API_URL { get; set; } + public string SMTP_HOST { get; set; } + public string SMTP_PORT { get; set; } + public string SMTP_USER { get; set; } + public string SMTP_PASSWORD { get; set; } + public string EMAIL_FROM_ADDRESS { get; set; } + public string EMAIL_FROM_DISPLAY_NAME { get; set; } + public string PORTAL_URL { get; set; } + public string GITHUB_CLIENT_ID { get; set; } + public string GITHUB_CLIENT_SECRET { get; set; } + public string APP_AES_KEY { get; set; } +} |
