diff --git a/sample/Kubernetes/TheIdServer-public-configmap.yaml b/sample/Kubernetes/TheIdServer-public-configmap.yaml index 9d099baa0..ad82b0932 100644 --- a/sample/Kubernetes/TheIdServer-public-configmap.yaml +++ b/sample/Kubernetes/TheIdServer-public-configmap.yaml @@ -12,11 +12,11 @@ data: DisableStrictSsl: "true" EnableOpenApiDoc: "false" IdentityServer__Key__Type: KeysRotation - IdentityServer__Key__StorageKind: FileSytem + IdentityServer__Key__StorageKind: FileSystem IdentityServer__Key__StorageConnectionString: "/usr/local/share/keys/signing" IdentityServer__Key__KeyProtectionOptions__KeyProtectionKind: "X509" IdentityServer__Key__KeyProtectionOptions__X509CertificatePath: /usr/local/share/ca-certificates/theidserver.pfx - DataProtectionOptions__StorageKind: FileSytem + DataProtectionOptions__StorageKind: FileSystem DataProtectionOptions__StorageConnectionString: "/usr/local/share/keys/dataprotecttion" DataProtectionOptions__KeyProtectionOptions__KeyProtectionKind: "X509" DataProtectionOptions__KeyProtectionOptions__X509CertificatePath: /usr/local/share/ca-certificates/theidserver.pfx diff --git a/src/Aguacongas.TheIdServer/Extensions/DataProtectionBuilderExtentions.cs b/src/Aguacongas.TheIdServer/Extensions/DataProtectionBuilderExtentions.cs index 1ea46113e..e88f67438 100644 --- a/src/Aguacongas.TheIdServer/Extensions/DataProtectionBuilderExtentions.cs +++ b/src/Aguacongas.TheIdServer/Extensions/DataProtectionBuilderExtentions.cs @@ -44,7 +44,7 @@ public static IDataProtectionBuilder ConfigureDataProtection(this IDataProtectio case StorageKind.RavenDb: builder.PersistKeysToRavenDb(); break; - case StorageKind.FileSytem: + case StorageKind.FileSystem: builder.PersistKeysToFileSystem(new DirectoryInfo(dataProtectionsOptions.StorageConnectionString)); break; case StorageKind.Redis: diff --git a/src/Aguacongas.TheIdServer/Extensions/IdentityServerBuilderExtensions.cs b/src/Aguacongas.TheIdServer/Extensions/IdentityServerBuilderExtensions.cs index 09d86c55d..302dd332a 100644 --- a/src/Aguacongas.TheIdServer/Extensions/IdentityServerBuilderExtensions.cs +++ b/src/Aguacongas.TheIdServer/Extensions/IdentityServerBuilderExtensions.cs @@ -38,7 +38,7 @@ public static IIdentityServerBuilder ConfigureKey(this IIdentityServerBuilder id case StorageKind.RavenDb: builder.PersistKeysToRavenDb(); break; - case StorageKind.FileSytem: + case StorageKind.FileSystem: builder.PersistKeysToFileSystem(new DirectoryInfo(dataProtectionsOptions.StorageConnectionString)); break; case StorageKind.Redis: diff --git a/src/Aguacongas.TheIdServer/Models/DataProtectionOptions.cs b/src/Aguacongas.TheIdServer/Models/DataProtectionOptions.cs index bee7ff859..66fdc7a98 100644 --- a/src/Aguacongas.TheIdServer/Models/DataProtectionOptions.cs +++ b/src/Aguacongas.TheIdServer/Models/DataProtectionOptions.cs @@ -10,7 +10,7 @@ public enum StorageKind EntityFramework, Redis, AzureStorage, - FileSytem, + FileSystem, Registry, RavenDb } diff --git a/test/Aguacongas.TheIdServer.Test/StartupTest.cs b/test/Aguacongas.TheIdServer.Test/StartupTest.cs index 2116fec42..a8847d473 100644 --- a/test/Aguacongas.TheIdServer.Test/StartupTest.cs +++ b/test/Aguacongas.TheIdServer.Test/StartupTest.cs @@ -268,7 +268,7 @@ public void Configure_should_configure_data_protection_fs_storage() { var configuration = new ConfigurationBuilder().AddInMemoryCollection(new Dictionary { - ["DataProtectionOptions:StorageKind"] = StorageKind.FileSytem.ToString(), + ["DataProtectionOptions:StorageKind"] = StorageKind.FileSystem.ToString(), ["DataProtectionOptions:StorageConnectionString"] = @"C:\test" }).Build(); var environementMock = new Mock(); @@ -639,7 +639,7 @@ public void Configure_should_configure_keys_rotation_fs_storage() var configuration = new ConfigurationBuilder().AddInMemoryCollection(new Dictionary { ["IdentityServer:Key:Type"] = KeyKinds.KeysRotation.ToString(), - ["IdentityServer:Key:StorageKind"] = StorageKind.FileSytem.ToString(), + ["IdentityServer:Key:StorageKind"] = StorageKind.FileSystem.ToString(), ["IdentityServer:Key:StorageConnectionString"] = @"C:\test" }).Build(); var environementMock = new Mock();