diff options
author | emkael <emkael@tlen.pl> | 2018-10-13 16:23:21 +0200 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2019-10-27 14:52:13 +0100 |
commit | 1c13a9649dc79426fc07ccd4175c7324ab169870 (patch) | |
tree | afea0a7adaaedaa278f124658842c6061845f5c0 /kurier | |
parent | 4124fe10885602ec58b8f7b3ec46e96c7301cc4f (diff) |
S3 settings
Diffstat (limited to 'kurier')
-rw-r--r-- | kurier/Properties/S3Settings.Designer.cs | 50 | ||||
-rw-r--r-- | kurier/Properties/S3Settings.settings | 12 | ||||
-rw-r--r-- | kurier/app.config | 2 | ||||
-rw-r--r-- | kurier/kurier.csproj | 9 | ||||
-rw-r--r-- | kurier/s3.config | bin | 0 -> 323 bytes |
5 files changed, 73 insertions, 0 deletions
diff --git a/kurier/Properties/S3Settings.Designer.cs b/kurier/Properties/S3Settings.Designer.cs new file mode 100644 index 0000000..44a3578 --- /dev/null +++ b/kurier/Properties/S3Settings.Designer.cs @@ -0,0 +1,50 @@ +//------------------------------------------------------------------------------ +// <auto-generated> +// This code was generated by a tool. +// Runtime Version:4.0.30319.42000 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// </auto-generated> +//------------------------------------------------------------------------------ + +namespace kurier.Properties { + + + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "10.0.0.0")] + internal sealed partial class S3Settings : global::System.Configuration.ApplicationSettingsBase { + + private static S3Settings defaultInstance = ((S3Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new S3Settings()))); + + public static S3Settings Default { + get { + return defaultInstance; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("")] + public string AWS_ACCESS_KEY { + get { + return ((string)(this["AWS_ACCESS_KEY"])); + } + set { + this["AWS_ACCESS_KEY"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("")] + public string AWS_SECRET_KEY { + get { + return ((string)(this["AWS_SECRET_KEY"])); + } + set { + this["AWS_SECRET_KEY"] = value; + } + } + } +} diff --git a/kurier/Properties/S3Settings.settings b/kurier/Properties/S3Settings.settings new file mode 100644 index 0000000..9ca01af --- /dev/null +++ b/kurier/Properties/S3Settings.settings @@ -0,0 +1,12 @@ +<?xml version='1.0' encoding='utf-8'?> +<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)" GeneratedClassNamespace="kurier" GeneratedClassName="S3Settings"> + <Profiles /> + <Settings> + <Setting Name="AWS_ACCESS_KEY" Type="System.String" Scope="User"> + <Value Profile="(Default)"></Value> + </Setting> + <Setting Name="AWS_SECRET_KEY" Type="System.String" Scope="User"> + <Value Profile="(Default)"></Value> + </Setting> + </Settings> +</SettingsFile> diff --git a/kurier/app.config b/kurier/app.config index b740382..6daac4a 100644 --- a/kurier/app.config +++ b/kurier/app.config @@ -2,10 +2,12 @@ <configuration> <configSections> <sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <section name="kurier.S3Settings" type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" /> <section name="kurier.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false"/> </sectionGroup> </configSections> <userSettings> + <kurier.S3Settings configSource="s3.config" /> <kurier.Properties.Settings> <setting name="HOST" serializeAs="String"> <value>localhost</value> diff --git a/kurier/kurier.csproj b/kurier/kurier.csproj index 94ba39b..30ec64e 100644 --- a/kurier/kurier.csproj +++ b/kurier/kurier.csproj @@ -80,6 +80,11 @@ </Compile> <Compile Include="Program.cs" /> <Compile Include="Properties\AssemblyInfo.cs" /> + <Compile Include="Properties\S3Settings.Designer.cs"> + <AutoGen>True</AutoGen> + <DesignTimeSharedInput>True</DesignTimeSharedInput> + <DependentUpon>S3Settings.settings</DependentUpon> + </Compile> <EmbeddedResource Include="Form1.resx"> <DependentUpon>Form1.cs</DependentUpon> </EmbeddedResource> @@ -109,6 +114,10 @@ <DependentUpon>Settings.settings</DependentUpon> <DesignTimeSharedInput>True</DesignTimeSharedInput> </Compile> + <None Include="Properties\S3Settings.settings"> + <Generator>SettingsSingleFileGenerator</Generator> + <LastGenOutput>S3Settings.Designer.cs</LastGenOutput> + </None> </ItemGroup> <ItemGroup> <None Include="Resources\305_Close_32x32_72.png" /> diff --git a/kurier/s3.config b/kurier/s3.config Binary files differnew file mode 100644 index 0000000..2e39c55 --- /dev/null +++ b/kurier/s3.config |