Skip to content

Commit d38de46

Browse files
committed
rename
1 parent e33ae31 commit d38de46

18 files changed

+55
-5
lines changed

eng/ProjectReferences.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!-- This file is automatically generated. Run `./eng/scripts/GenerateProjectList.ps1` to update. -->
22
<Project>
33
<ItemGroup>
4-
<ProjectReferenceProvider Include="Microsoft.Extensions.Configuration.KeyVault.Secrets" ProjectPath="$(RepoRoot)src\Configuration\Config.KeyVault.Secrets\src\Microsoft.Extensions.Configuration.KeyVault.Secrets.csproj" />
4+
<ProjectReferenceProvider Include="Microsoft.Extensions.Configuration.Azure.KeyVault.Secrets" ProjectPath="$(RepoRoot)src\Configuration\Config.Azure.KeyVault.Secrets\src\Microsoft.Extensions.Configuration.Azure.KeyVault.Secrets.csproj" />
55
<ProjectReferenceProvider Include="Microsoft.Extensions.DependencyInjection.Specification.Tests" ProjectPath="$(RepoRoot)src\DependencyInjection\DI.Specification.Tests\src\Microsoft.Extensions.DependencyInjection.Specification.Tests.csproj" />
66
<ProjectReferenceProvider Include="Microsoft.Extensions.Logging.Analyzers" ProjectPath="$(RepoRoot)src\Logging\Logging.Analyzers\src\Microsoft.Extensions.Logging.Analyzers.csproj" />
77
<ProjectReferenceProvider Include="Microsoft.Extensions.Logging.Testing" ProjectPath="$(RepoRoot)src\Logging\Logging.Testing\src\Microsoft.Extensions.Logging.Testing.csproj" />
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<!-- This file is automatically generated. -->
2+
<Project Sdk="Microsoft.NET.Sdk">
3+
<PropertyGroup>
4+
<TargetFrameworks>netstandard2.0</TargetFrameworks>
5+
</PropertyGroup>
6+
<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0'">
7+
<Compile Include="Microsoft.Extensions.Configuration.Azure.KeyVault.Secrets.netstandard2.0.cs" />
8+
<Reference Include="Azure.Security.KeyVault.Secrets" />
9+
<Reference Include="Azure.Identity" />
10+
<Reference Include="Microsoft.Extensions.Configuration" />
11+
<Reference Include="Microsoft.Extensions.Configuration.FileExtensions" />
12+
</ItemGroup>
13+
</Project>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
// Copyright (c) .NET Foundation. All rights reserved.
2+
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
3+
4+
namespace Microsoft.Extensions.Configuration
5+
{
6+
public static partial class AzureKeyVaultConfigurationExtensions
7+
{
8+
public static Microsoft.Extensions.Configuration.IConfigurationBuilder AddAzureKeyVault(this Microsoft.Extensions.Configuration.IConfigurationBuilder configurationBuilder, Azure.Security.KeyVault.Secrets.SecretClient client, Microsoft.Extensions.Configuration.KeyVault.Secrets.IKeyVaultSecretManager manager) { throw null; }
9+
public static Microsoft.Extensions.Configuration.IConfigurationBuilder AddAzureKeyVault(this Microsoft.Extensions.Configuration.IConfigurationBuilder configurationBuilder, Microsoft.Extensions.Configuration.KeyVault.Secrets.AzureKeyVaultConfigurationOptions options) { throw null; }
10+
public static Microsoft.Extensions.Configuration.IConfigurationBuilder AddAzureKeyVault(this Microsoft.Extensions.Configuration.IConfigurationBuilder configurationBuilder, System.Uri vault) { throw null; }
11+
public static Microsoft.Extensions.Configuration.IConfigurationBuilder AddAzureKeyVault(this Microsoft.Extensions.Configuration.IConfigurationBuilder configurationBuilder, System.Uri vault, Azure.Core.TokenCredential credential) { throw null; }
12+
public static Microsoft.Extensions.Configuration.IConfigurationBuilder AddAzureKeyVault(this Microsoft.Extensions.Configuration.IConfigurationBuilder configurationBuilder, System.Uri vault, Azure.Core.TokenCredential credential, Microsoft.Extensions.Configuration.KeyVault.Secrets.IKeyVaultSecretManager manager) { throw null; }
13+
public static Microsoft.Extensions.Configuration.IConfigurationBuilder AddAzureKeyVault(this Microsoft.Extensions.Configuration.IConfigurationBuilder configurationBuilder, System.Uri vault, Microsoft.Extensions.Configuration.KeyVault.Secrets.IKeyVaultSecretManager manager) { throw null; }
14+
}
15+
}
16+
namespace Microsoft.Extensions.Configuration.KeyVault.Secrets
17+
{
18+
public partial class AzureKeyVaultConfigurationOptions
19+
{
20+
public AzureKeyVaultConfigurationOptions() { }
21+
public AzureKeyVaultConfigurationOptions(System.Uri vault, Azure.Core.TokenCredential credential) { }
22+
public Azure.Security.KeyVault.Secrets.SecretClient Client { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
23+
public Microsoft.Extensions.Configuration.KeyVault.Secrets.IKeyVaultSecretManager Manager { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
24+
public System.TimeSpan? ReloadInterval { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
25+
}
26+
public partial class DefaultKeyVaultSecretManager : Microsoft.Extensions.Configuration.KeyVault.Secrets.IKeyVaultSecretManager
27+
{
28+
public DefaultKeyVaultSecretManager() { }
29+
public virtual string GetKey(Azure.Security.KeyVault.Secrets.KeyVaultSecret secret) { throw null; }
30+
public virtual bool Load(Azure.Security.KeyVault.Secrets.SecretProperties secret) { throw null; }
31+
}
32+
public partial interface IKeyVaultSecretManager
33+
{
34+
string GetKey(Azure.Security.KeyVault.Secrets.KeyVaultSecret secret);
35+
bool Load(Azure.Security.KeyVault.Secrets.SecretProperties secret);
36+
}
37+
}

src/Configuration/Config.KeyVault.Secrets/samples/KeyVaultSecretsSample.csproj renamed to src/Configuration/Config.Azure.KeyVault.Secrets/samples/KeyVaultSecretsSample.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
</ItemGroup>
1212

1313
<ItemGroup>
14-
<Reference Include="Microsoft.Extensions.Configuration.KeyVault.Secrets" />
14+
<Reference Include="Microsoft.Extensions.Configuration.Azure.KeyVault.Secrets" />
1515
<Reference Include="Microsoft.Extensions.Configuration.Json" />
1616
</ItemGroup>
1717

0 commit comments

Comments
 (0)