Skip to content

Commit

Permalink
fixes #47. final for 0.10.4002
Browse files Browse the repository at this point in the history
  • Loading branch information
rajanadar committed Aug 16, 2018
1 parent 39e6111 commit 955cd56
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 1 deletion.
18 changes: 17 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ A cross-platform .NET Library for HashiCorp's Vault - A Secret Management System

### What is VaultSharp?

* VaultSharp is a .NET 2.0 Standard cross-platform C# Library that can be used in any .NET application to interact with Hashicorp's Vault.
* VaultSharp is a .NET 1.3 Standard (and .NET 4.5) cross-platform C# Library that can be used in any .NET application to interact with Hashicorp's Vault.
* The Vault system is a secret management system built as an Http Service by Hashicorp.

VaultSharp has been re-designed ground up, to give a structured user experience across the various auth methods, secrets engines & system apis.
Expand Down Expand Up @@ -45,6 +45,22 @@ var consulCreds = await vaultClient.V1.Secrets.Consul.GetCredentialsAsync(consul
var consulToken = consulCredentials.Data.Token;
```

### VaultSharp - Supported .NET Platforms

VaultSharp is built on **.NET Standard 1.3** & **.NET Framework 4.5**. This makes it highly compatible and cross-platform.

The following platforms are supported due to that.

* .NET Core 1.0 and above including .NET Core 2.0
* .NET Framework 4.5 and above
* Mono 4.6 and above
* Xamarin.iOS 10.0 and above
* Xamarin Mac 3.0 and above
* Xamarin.Android 7.0 and above
* UWP 10.0 and above

Source: https://github.com/dotnet/standard/blob/master/docs/versions.md

### VaultSharp and Consul Support

* VaultSharp supports dynamic Consul credential generation.
Expand Down
Binary file not shown.
8 changes: 8 additions & 0 deletions src/VaultSharp/VaultSharp.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,19 @@ This library is built with .NET Standard 2.0 and hence is cross-platform.</Descr
<Folder Include="V1\AuthMethods\GitHub\Models\" />
</ItemGroup>

<PropertyGroup Condition="'$(TargetFramework)' == 'netstandard1.3'">
<AssemblyTitle>VaultSharp .NET Standard 1.3</AssemblyTitle>
</PropertyGroup>

<ItemGroup Condition=" '$(TargetFramework)' == 'netstandard1.3' ">
<PackageReference Include="System.Security.Cryptography.X509Certificates" Version="4.3.2" />
<PackageReference Include="System.Net.Requests" Version="4.3.0" />
</ItemGroup>

<PropertyGroup Condition="'$(TargetFramework)'=='net45'">
<AssemblyTitle>VaultSharp .NET 4.5</AssemblyTitle>
</PropertyGroup>

<ItemGroup Condition=" '$(TargetFramework)' == 'net45' ">
<Reference Include="System.Net.Http" />
<Reference Include="System.Net.Http.WebRequest" />
Expand Down

0 comments on commit 955cd56

Please sign in to comment.