Azure-Samples / Azure-Samples/MipSDK-File-Cpp-Basic

Would a Python MIP File SDK sample ("MipSDK-File-Python-Basic") be of interest?

Aperta
#16 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
C++
Stelle
5
Fork
11
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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!

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Iniziare leggendo action.cpp e la struttura dell’esempio C++ esistente, quindi confrontare gli esempi MIP File/Policy/Protection elencati per C++, .NET/C# e Java. La issue propone un modulo di estensione C++ oppure un wrapper CLI, con autenticazione client-credentials e interattiva; per considerarla completata sarebbero necessari un approccio definito e un esempio completo orientato a Python.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
cpp, python
Ambito
developer-experience, tooling
Tipo di issue
Funzionalità
Difficoltà
5/5
Tempo stimato
Più di una settimana
Stato di attività
Tranquilla
Chiarezza
Da chiarire
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.