armature-azure

Crates.ioarmature-azure
lib.rsarmature-azure
version0.1.0
created_at2025-12-26 18:46:08.752046+00
updated_at2025-12-26 18:46:08.752046+00
descriptionMicrosoft Azure services integration for Armature - dynamically loadable and DI-ready
homepagehttps://pegasusheavy.github.io/armature
repositoryhttps://github.com/pegasusheavy/armature
max_upload_size
id2006075
size90,534
Joseph R. Quinn (quinnjr)

documentation

README

armature-azure

Microsoft Azure services integration for the Armature framework.

Features

  • Blob Storage - Object storage
  • Cosmos DB - Global database
  • Service Bus - Message queues and topics
  • Key Vault - Secrets management
  • App Configuration - Feature flags and config

Installation

[dependencies]
armature-azure = "0.1"

Quick Start

use armature_azure::{BlobClient, CosmosClient, ServiceBusClient};

#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
    // Blob Storage
    let blob = BlobClient::new("connection_string").await?;
    blob.upload("container", "blob", bytes).await?;

    // Cosmos DB
    let cosmos = CosmosClient::new("endpoint", "key").await?;
    cosmos.create_item("database", "container", item).await?;

    // Service Bus
    let bus = ServiceBusClient::new("connection_string").await?;
    bus.send("queue", message).await?;

    Ok(())
}

Authentication

Supports:

  • Connection strings
  • Managed Identity
  • Service Principal
  • Azure CLI credentials

License

MIT OR Apache-2.0

Commit count: 0

cargo fmt