Skip to content

Commit 0e7baea

Browse files
authored
[KeyVault] Migrate or retire stand-alone samples (Azure#57907)
* [KeyVault] Migrate or retire stand-alone samples The focus of these chagnes is to move `getcert` and `keyvaultproxy` samples from `sdk/keyvault/samples/` to the centralized `samples/keyvault/` directory. The the sharelink sample is being retired as it is for a legacy feature that goes against Microsoft security guidance and has no updates planned. Details: - Move getcert and keyvaultproxy samples to samples/keyvault/ - Retire sharelink (deprecated KV-managed storage accounts feature) - Delete sdk/keyvault/samples/ build infrastructure - Strip IsSample/IsSamplesProject conditional blocks from csproj files - Bump Azure.Identity, Azure.Core, KV.Certificates, KV.Secrets, System.CommandLine, xunit, and test SDK to latest stable versions - Rename getcert.csproj to GetCert.csproj for C# naming conventions - Update stale sample links in TROUBLESHOOTING.md, MigrationGuide.md, and KeyVaultCertificate.cs to point to new locations - Remove keyvaultproxy test entry from splittestdependencies inputs - Update READMEs: .NET Core 3.1 references to .NET 10 * Fixing sample links; the sample browser will publish to the existing locations, so the links are safe
1 parent 39753af commit 0e7baea

File tree

104 files changed

+30
-6668
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

104 files changed

+30
-6668
lines changed

eng/scripts/splittestdependencies/tests/inputs/projects.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,6 @@ $(RepoRoot)sdk\keyvault\Azure.Security.KeyVault.Administration\tests\Azure.Secur
8484
$(RepoRoot)sdk\keyvault\Azure.Security.KeyVault.Certificates\tests\Azure.Security.KeyVault.Certificates.Tests.csproj
8585
$(RepoRoot)sdk\keyvault\Azure.Security.KeyVault.Keys\tests\Azure.Security.KeyVault.Keys.Tests.csproj
8686
$(RepoRoot)sdk\keyvault\Azure.Security.KeyVault.Secrets\tests\Azure.Security.KeyVault.Secrets.Tests.csproj
87-
$(RepoRoot)sdk\keyvault\samples\keyvaultproxy\tests\AzureSamples.Security.KeyVault.Proxy.Tests.csproj
8887
$(RepoRoot)sdk\logic\Azure.ResourceManager.Logic\tests\Azure.ResourceManager.Logic.Tests.csproj
8988
$(RepoRoot)sdk\machinelearningservices\Azure.ResourceManager.MachineLearning\tests\Azure.ResourceManager.MachineLearning.Tests.csproj
9089
$(RepoRoot)sdk\managedserviceidentity\Azure.ResourceManager.ManagedServiceIdentities\tests\Azure.ResourceManager.ManagedServiceIdentities.Tests.csproj
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
3+
<PropertyGroup>
4+
<OutputType>Exe</OutputType>
5+
<TargetFramework>net10.0</TargetFramework>
6+
<NoWarn>
7+
$(NoWarn);
8+
CA1810;
9+
AZC0100;
10+
</NoWarn>
11+
</PropertyGroup>
12+
13+
<ItemGroup>
14+
<PackageReference Include="Azure.Identity" Version="1.20.0" />
15+
<PackageReference Include="Azure.Security.KeyVault.Certificates" Version="4.8.0" />
16+
<PackageReference Include="Azure.Security.KeyVault.Secrets" Version="4.9.0" />
17+
<PackageReference Include="System.CommandLine" Version="2.0.5" />
18+
</ItemGroup>
19+
20+
</Project>
Lines changed: 1 addition & 1 deletion

sdk/keyvault/samples/keyvaultproxy/.devcontainer/Dockerfile renamed to samples/keyvault/keyvaultproxy/.devcontainer/Dockerfile

File renamed without changes.

sdk/keyvault/samples/keyvaultproxy/.devcontainer/devcontainer.json renamed to samples/keyvault/keyvaultproxy/.devcontainer/devcontainer.json

File renamed without changes.

sdk/keyvault/samples/keyvaultproxy/.devcontainer/library-scripts/common-debian.sh renamed to samples/keyvault/keyvaultproxy/.devcontainer/library-scripts/common-debian.sh

File renamed without changes.

sdk/keyvault/samples/keyvaultproxy/.devcontainer/library-scripts/node-debian.sh renamed to samples/keyvault/keyvaultproxy/.devcontainer/library-scripts/node-debian.sh

File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)