aboutsummaryrefslogtreecommitdiffstats
path: root/code/api/src/Models/Static
diff options
context:
space:
mode:
authorivar <i@oiee.no>2023-11-12 00:01:31 +0100
committerivar <i@oiee.no>2023-11-12 00:01:31 +0100
commita9f9650400ed9e7f40db5ec5fd08a861f4c30902 (patch)
tree7df4e6a086acc21a5b47b4fae8bf395f79061f29 /code/api/src/Models/Static
parent854dedead3a3ed987997a0132f527db73b65b0ac (diff)
downloadgreatoffice-a9f9650400ed9e7f40db5ec5fd08a861f4c30902.tar.xz
greatoffice-a9f9650400ed9e7f40db5ec5fd08a861f4c30902.zip
Change how config is operated
Diffstat (limited to 'code/api/src/Models/Static')
-rw-r--r--code/api/src/Models/Static/AppEnvironmentVariables.cs34
1 files changed, 0 insertions, 34 deletions
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
-{
- /// <summary>
- /// An access token that can be used to access the Hashicorp Vault instance that is available at VAULT_URL
- /// </summary>
- public const string VAULT_TOKEN = "VAULT_TOKEN";
-
- /// <summary>
- /// A url pointing to the Hashicorp Vault instance the app should use
- /// </summary>
- public const string VAULT_URL = "VAULT_URL";
-
- /// <summary>
- /// The duration of which to keep a local cached version of the configuration
- /// </summary>
- public const string VAULT_CACHE_TTL = "VAULT_CACHE_TTL";
-
- /// <summary>
- /// The vault key name for the main configuration json object, described by <see cref="AppConfiguration"/>
- /// </summary>
- public const string MAIN_CONFIG_SHEET = "MAIN_CONFIG_SHEET";
-
- /// <summary>
- /// Tells the api to enable flight mode, only acts in DEBUG
- /// </summary>
- public const string FLIGHT_MODE = "FLIGHT_MODE";
-
- /// <summary>
- /// Tells the api where to read configuration from, defaults to flightmode.json, only acts in DEBUG
- /// </summary>
- public const string FLIGHT_MODE_JSON = "FLIGHT_MODE_JSON";
-} \ No newline at end of file