Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Should keyvault be in sdk/security or sdk/keyvault ? #24099

Closed
antkmsft opened this issue Feb 12, 2025 · 3 comments
Closed

Should keyvault be in sdk/security or sdk/keyvault ? #24099

antkmsft opened this issue Feb 12, 2025 · 3 comments
Labels
Client This issue points to a problem in the data-plane of the library. KeyVault

Comments

@antkmsft
Copy link
Member

antkmsft commented Feb 12, 2025

In Go, keyvault is located in sdk/security.

In Rust and C++, it is located in sdk/keyvault.

I am going to open an issue for all 3 repos, if we want some consistency.

See also #24098 (same question about messaging/eventhubs)

@github-actions github-actions bot added Client This issue points to a problem in the data-plane of the library. KeyVault needs-team-attention Workflow: This issue needs attention from Azure service team or SDK team Service Attention Workflow: This issue is responsible by Azure service team. labels Feb 12, 2025
Copy link

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @cheathamb36 @chen-karen @lgonsoulin @vickm.

@jhendrixMSFT
Copy link
Member

This is because, for Go, the repo path has a direct impact on a module's identity. e.g. for azkeys customers use the following import.

import github.com/Azure/azure-sdk-for-go/sdk/security/keyvault/azkeys

The module identity is related to the source layout in github. And since we wanted the KV modules under security we had to include this segment in the directory structure.

For Rust, since SDKs are referenced by crates, the source directory structure isn't as important, and I believe we're omitting the security segment from the sources there.

If C++ SDKs are source-referenced (I believe they are), then yeah we should figure out what we want it to be.

I suggest we have those conversations in the issues for the relevant languages and close this one.

cc @JeffreyRichter @LarryOsterman

@RickWinter
Copy link
Member

Go uses a unique folder structure b/c the git structure matters for inports. Other languages such as C++, Rust, .NET, ... do not need to do this and thus they have the sdk/ pattern with defined within packages as namespaces.

@RickWinter RickWinter closed this as not planned Won't fix, can't repro, duplicate, stale Feb 12, 2025
@github-project-automation github-project-automation bot moved this from Untriaged to Done in Azure SDK for Key Vault Feb 12, 2025
@RickWinter RickWinter removed the needs-team-attention Workflow: This issue needs attention from Azure service team or SDK team label Feb 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Client This issue points to a problem in the data-plane of the library. KeyVault
Projects
Archived in project
Development

No branches or pull requests

3 participants