From a9f9650400ed9e7f40db5ec5fd08a861f4c30902 Mon Sep 17 00:00:00 2001 From: ivar Date: Sun, 12 Nov 2023 00:01:31 +0100 Subject: Change how config is operated --- .../src/Models/Static/AppEnvironmentVariables.cs | 34 ---------------------- 1 file changed, 34 deletions(-) delete mode 100644 code/api/src/Models/Static/AppEnvironmentVariables.cs (limited to 'code/api/src/Models/Static/AppEnvironmentVariables.cs') diff --git a/code/api/src/Models/Static/AppEnvironmentVariables.cs b/code/api/src/Models/Static/AppEnvironmentVariables.cs deleted file mode 100644 index c35739e..0000000 --- a/code/api/src/Models/Static/AppEnvironmentVariables.cs +++ /dev/null @@ -1,34 +0,0 @@ -namespace IOL.GreatOffice.Api.Models.Static; - -public static class AppEnvironmentVariables -{ - /// - /// An access token that can be used to access the Hashicorp Vault instance that is available at VAULT_URL - /// - public const string VAULT_TOKEN = "VAULT_TOKEN"; - - /// - /// A url pointing to the Hashicorp Vault instance the app should use - /// - public const string VAULT_URL = "VAULT_URL"; - - /// - /// The duration of which to keep a local cached version of the configuration - /// - public const string VAULT_CACHE_TTL = "VAULT_CACHE_TTL"; - - /// - /// The vault key name for the main configuration json object, described by - /// - public const string MAIN_CONFIG_SHEET = "MAIN_CONFIG_SHEET"; - - /// - /// Tells the api to enable flight mode, only acts in DEBUG - /// - public const string FLIGHT_MODE = "FLIGHT_MODE"; - - /// - /// Tells the api where to read configuration from, defaults to flightmode.json, only acts in DEBUG - /// - public const string FLIGHT_MODE_JSON = "FLIGHT_MODE_JSON"; -} \ No newline at end of file -- cgit v1.3