Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions src/Sign.Cli/AzureKeyVaultCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -84,13 +84,6 @@ internal AzureKeyVaultCommand(CodeCommand codeCommand, IServiceProviderFactory s
// The key uri is similar and the key name matches the certificate name
var keyUri = new Uri($"{url.Scheme}://{url.Authority}/keys/{certificateId}");

if (!KeyVaultKeyIdentifier.TryCreate(certUri, out var keyId))
{
context.Console.Error.WriteLine(AzureKeyVaultResources.InvalidKeyVaultUrl);
context.ExitCode = ExitCode.InvalidOptions;
return;
}

serviceProviderFactory.AddServices(services =>
{
services.AddAzureClients(builder =>
Expand Down