Azure SDK for Rust Goes Beta
Written by Nikos Vaggalis   
Tuesday, 08 April 2025

The official Microsoft Azure SDK for Rust is a collection of libraries that make Rust developers' life that little bit easier in accessing various Azure services.

The SDK is part of Microsoft's ongoing attempt to embrace Rust more. By calling into the SDK's libraries, Rust developers can now access and interact with Azure based services from their code seamlessly.

The collection is comprised of libraries for :

Identity
The Azure Identity library provides Microsoft Entra ID (formerly Azure Active Directory) token authentication support across the Azure SDK. It provides a set of TokenCredential implementations that can be used to construct Azure SDK clients that support Microsoft Entra token authentication.

Key Vault secrets
The Azure Key Vault secrets client library allows you to securely store and control the access to tokens, passwords, API keys, and other secrets. This library offers operations to create, retrieve, update, delete, purge, backup, restore, and list the secrets and its versions.

Key Vault keys
Azure Key Vault Managed HSM is a fully-managed cloud service that enables you to safeguard cryptographic keys for your cloud applications using HSMs. The Azure Key Vault keys library client supports RSA keys and Elliptic Curve (EC) keys, each with corresponding support in hardware security modules (HSM). It offers operations to create, retrieve, update, delete, purge, backup, restore, and list the keys and its versions.

Event Hubs
Azure Event Hubs is a big data streaming platform and event ingestion service from Microsoft. The Azure Event Hubs client library allows you to send single events or batches of events to an event hub and consume events from an event hub.

Cosmos DB
Azure Cosmos DB is a globally distributed, multi-model database service and this client library enables client applications to connect to Azure Cosmos DB via the NoSQL API.

All libraries are available as crates and are published on crates.io, so that you can use cargo to install the crates from the SDK. For instance to install the Azure Event Hubs client library, you do:

cargo add azure_messaging_eventhubs

To then use it, first create an Event Hubs Namespace and an Event Hub Instance, as well as log in with Azure CLI.
Then you can write your Rust client as follows:

azuresdk

There's examples up on the project's Github repo to get you started. And with that, Rust infiltrates Microsoft too, or is it the other way around?

More Information

Azure Rust SDK on Github

Related Articles

Take The Beginner's Series to Rust

 

To be informed about new articles on I Programmer, sign up for our weekly newsletter, subscribe to the RSS feed and follow us on Twitter, Facebook or Linkedin.

Banner


LeetGPU - The CUDA Challenges
04/04/2025

LeetGPU is a platform where you can write and test CUDA code.
Now it adds Challenges to foster competition, asking you to put your GPU programming skills to the test by writing the fastest program [ ... ]



Kawasaki Unveils Robot Horse
11/04/2025

Kawasaki has released a video of a robotic horse powered by hydrogen. Corleo is large enough to be ridden, and a full-sized concept model is due to be shown off at the Osaka-Kansai Expo 2025 in Japan  [ ... ]


More News

espbook

 

Comments




or email your comment to: comments@i-programmer.info

Last Updated ( Tuesday, 08 April 2025 )