-
Notifications
You must be signed in to change notification settings - Fork 10
/
ConfigHandlerBase.cs
64 lines (53 loc) · 3.92 KB
/
ConfigHandlerBase.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
// Copyright (c) CGI France. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace IoTHub.Portal.Infrastructure
{
using IoTHub.Portal.Domain;
internal abstract class ConfigHandlerBase : ConfigHandler
{
internal const string PortalNameKey = "PortalName";
internal const string AzureIoTHubConnectionStringKey = "Azure:IoTHub:ConnectionString";
internal const string AzureIoTHubEventHubEndpointKey = "Azure:IoTHub:EventHub:Endpoint";
internal const string AzureIoTHubEventHubConsumerGroupKey = "Azure:IoTHub:EventHub:ConsumerGroup";
internal const string AzureDPSConnectionStringKey = "Azure:IoTDPS:ConnectionString";
internal const string AzureDPSServiceEndpointKey = "Azure:IoTDPS:ServiceEndpoint";
internal const string AzureDPSIDScopeKey = "Azure:IoTDPS:IDScope";
internal const string UseSecurityHeadersKey = "UseSecurityHeaders";
internal const string PostgreSQLConnectionStringKey = "PostgreSQL:ConnectionString";
internal const string MySQLConnectionStringKey = "MySQL:ConnectionString";
internal const string DbProviderKey = "DbProvider";
internal const string OIDCScopeKey = "OIDC:Scope";
internal const string OIDCAuthorityKey = "OIDC:Authority";
internal const string OIDCMetadataUrlKey = "OIDC:MetadataUrl";
internal const string OIDCClientIdKey = "OIDC:ClientId";
internal const string OIDCApiClientIdKey = "OIDC:ApiClientId";
internal const string OIDCValidateIssuerKey = "OIDC:ValidateIssuer";
internal const string OIDCValidateAudienceKey = "OIDC:ValidateAudience";
internal const string OIDCValidateLifetimeKey = "OIDC:ValidateLifetime";
internal const string OIDCValidateIssuerSigningKeyKey = "OIDC:ValidateIssuerSigningKey";
internal const string OIDCValidateActorKey = "OIDC:ValidateActor";
internal const string OIDCValidateTokenReplayKey = "OIDC:ValidateTokenReplay";
internal const string IsLoRaFeatureEnabledKey = "LoRaFeature:Enabled";
internal const string AzureStorageAccountConnectionStringKey = "Azure:StorageAccount:ConnectionString";
internal const string StorageAccountDeviceModelImageMaxAgeKey = "StorageAccount:DeviceModel:Image:MaxAgeInSeconds";
internal const string AzureLoRaKeyManagementUrlKey = "Azure:LoRaKeyManagement:Url";
internal const string AzureLoRaKeyManagementCodeKey = "Azure:LoRaKeyManagement:Code";
internal const string AzureLoRaKeyManagementApiVersionKey = "Azure:LoRaKeyManagement:ApiVersion";
internal const string MetricExporterRefreshIntervalKey = "Metrics:ExporterRefreshIntervalInSeconds";
internal const string MetricLoaderRefreshIntervalKey = "Metrics:LoaderRefreshIntervalInMinutes";
internal const string SyncDatabaseJobRefreshIntervalKey = "Job:SyncDatabaseJobRefreshIntervalInMinutes";
internal const string IdeasEnabledKey = "Ideas:Enabled";
internal const string IdeasUrlKey = "Ideas:Url";
internal const string IdeasAuthenticationHeaderKey = "Ideas:Authentication:Header";
internal const string IdeasAuthenticationTokenKey = "Ideas:Authentication:Token";
internal const string CloudProviderKey = "CloudProvider";
internal const string AWSAccessKey = "AWS:Access";
internal const string AWSAccessSecretKey = "AWS:AccessSecret";
internal const string AWSRegionKey = "AWS:Region";
internal const string AWSS3StorageConnectionStringKey = "AWS:S3Storage:ConnectionString";
internal const string AWSBucketNameKey = "AWS:BucketName";
internal const string AWSAccountIdKey = "AWS:AccountId";
internal const string AWSGreengrassRequiredRolesKey = "AWS:GreengrassRequiredRoles";
internal const string AWSGreengrassCoreTokenExchangeRoleAliasNameKey = "AWS:GreengrassCoreTokenExchangeRoleAliasName";
}
}