Azure-Samples / Azure-Samples/MipSDK-File-Cpp-Basic
Would a Python MIP File SDK sample ("MipSDK-File-Python-Basic") be of interest?
- Vorherrschende Sprache
- C++
- Sterne
- 5
- Forks
- 11
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
Hi,
I've been working with this sample (and the C++ MIP File SDK directly) to build a small decrypt-verification tool, and noticed that across the `Azure-Samples` org there are C++, .NET/C#, and Java samples for the MIP File/Policy/Protection APIs, but no Python one:
- MipSDK-File-Cpp-Basic (this repo)
- MipSDK-Policy-Cpp-Sample
- mipsdk-protectionapi-cpp-sample-basic
- MipSDK-File-Dotnet(-Quickstart/-Onbehalfof/-ServicePrincipalAuth)
- MipSDK-Protection-Dotnet-Quickstart
- MipSDK-Policy-Dotnet-Quickstart
- MipSDK-File-Java-Basic
Since the MIP SDK itself only ships C++/.NET/Java bindings (no native Python), anyone wanting to call it from Python today has to hand-roll their own thin wrapper around the C++ SDK (auth delegate, profile/engine/handler setup, etc.) — there's nothing to reference. I ended up writing one myself (client-credentials auth delegate + file handler wrapper, following the same patterns as this repo's `action.cpp`) to test decrypting a protected file.
Would the team be interested in a community-contributed "MipSDK-File-Python-Basic" sample (e.g. a small C++ extension module or a CLI wrapper following this repo's structure, adapted for client-credentials/app-only auth as well as the interactive flow already shown here)? Happy to put together a PR if there's interest, or if there's already a reason Python bindings aren't offered (beyond just demand), I'd be curious to hear it.
Thanks!
Beitragsleitfaden
Rechercherichtung
Beginnen Sie mit dem Lesen von action.cpp und der bestehenden C++-Beispielstruktur und vergleichen Sie anschließend die aufgeführten C++-, .NET/C#- und Java-MIP File/Policy/Protection-Beispiele. Der Issue schlägt entweder ein C++-Erweiterungsmodul oder einen CLI-Wrapper mit client-credentials- und interaktiver Authentifizierung vor; für den Abschluss wären ein festgelegter Ansatz und ein vollständiges Python-orientiertes Beispiel erforderlich.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- cpp, python
- Bereich
- developer-experience, tooling
- Issue-Typ
- Feature
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Aktivitätsstatus
- Ruhig
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 35/100