Skip to content

Aspire.Azure.Security.KeyVault client integration should support Administration clients #3930

@pedropaulovc

Description

@pedropaulovc

Issue

Azure SDK provides 6 distinct clients to interact with the KeyVault data plane:

  • Azure.Security.KeyVault.Secrets.KeyVaultSecretClient
  • Azure.Security.KeyVault.Certificates.KeyVaultCertificateClient
  • Azure.Security.KeyVault.Keys.KeyVaultKeyClient
  • Azure.Security.KeyVault.Administration.KeyVaultSettingsClient,
  • Azure.Security.KeyVault.Administration.KeyVaultBackupClient
  • Azure.Security.KeyVault.Administration.KeyVaultAccessControlClient

Currently Aspire only supports the first client but we should ensure that adding support for others is straightforward.

Expected

Following the pattern of how Aspire handles Azure Storage with its 3 data plane clients, the Aspire component that handles KeyVaultSecretClient should be named Aspire.Azure.Security.KeyVault.Secrets and the method to add the component to the DI container shold be named AspireKeyVaultSecretExtensions.AddAzureKeyVaultSecretClient

Actual

The Aspire component is named Aspire.Azure.Security.KeyVault and the method is named AspireKeyVaultExtensions.AddAzureKeyVaultClient

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-integrationsIssues pertaining to Aspire Integrations packagesazureIssues associated specifically with scenarios tied to using Azureazure-keyvault

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions