MicrosoftDocs/azure-dev-docs/articles/rust

Last 20 commits touching this section.

c8b812e

Align Rust SDK auth docs with Go SDK structure (#8557) * Align Rust SDK auth docs with Go SDK structure - Create 6 new auth doc files mirroring Go's structure: - local-development-dev-accounts.md (DeveloperToolsCredential, AzureCliCredential) - local-development-service-principal.md (ClientSecretCredential) - system-assigned-managed-identity.md (ManagedIdentityCredential) - user-assigned-managed-identity.md (ManagedIdentityCredential with UserAssignedId) - authentication-on-premises-apps.md (ClientSecretCredential for on-prem) - authentication-additional-methods.md (certificates, workload identity, pipelines) - Rewrite authentication overview as hub page with links to sub-pages - Create Rust-specific implement-managed-identity-concepts include - Expand TOC.yml Authentication section with sub-pages - Update index.yml landing page with new auth links - Reuse cross-language shared includes for managed identity, app registration, Entra groups, role assignment, and sign-in procedures Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Fix Rust code samples to match azure_identity 0.32.0 API signatures - user-assigned-managed-identity.md: Fix field name 'id' -> 'user_assigned_id' - ClientSecretCredential: Fix tenant_id to &str, secret to Secret::new() - ClientCertificateCredential: Fix certificate param to Secret type - AzurePipelinesCredential: Add missing system_access_token param, fix service_connection_id to &str - Convert 4 absolute learn.microsoft.com links to relative paths Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Address PR review feedback: fix abbreviations, update API, add snippets - Remove abbreviations in TOC.yml and index.yml ('Auth' -> 'Authenticate') - Remove numbered section headings in authentication-on-premises-apps.md - Apply text suggestion for Differences section wording - Update ClientCertificateCredential example for SecretBytes API (SDK PR #3807) - Create snippets/authentication/ Rust crate with compilable example files - Replace inline code blocks with :::code snippet references in all auth docs Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Fix snippets Cargo.toml to use git deps for unreleased SDK, add lockfile Use git dependencies from Azure/azure-sdk-for-rust main branch since azure_core 0.33 (with SecretBytes) is not yet published to crates.io. Add vendored OpenSSL for portability. All 9 examples pass cargo check. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Update articles/rust/sdk/authentication/authentication-on-premises-apps.md Co-authored-by: Scott Addie <10702007+scottaddie@users.noreply.github.com> * Update articles/rust/sdk/authentication/authentication-on-premises-apps.md Co-authored-by: Scott Addie <10702007+scottaddie@users.noreply.github.com> * Update articles/rust/sdk/authentication/authentication-on-premises-apps.md Co-authored-by: Scott Addie <10702007+scottaddie@users.noreply.github.com> * Update articles/rust/sdk/authentication/authentication-on-premises-apps.md Co-authored-by: Scott Addie <10702007+scottaddie@users.noreply.github.com> * Address round 2 PR feedback: pin deps, remove snippet markers, rename files, shared includes - Pin git dependencies to commit rev 32ef93244 for reproducible builds - Remove snippet region markers from all example files; use whole-file includes - Split local_dev_accounts.rs into 3 separate example files for whole-file refs - Remove 'authentication-' prefix from file names (redundant in authentication/ dir) - Replace legacy 'active_directory_tenant_id' placeholder with 'entra_tenant_id' - Replace inline app registration and role assignment sections with shared includes - Update all TOC.yml, overview.md, and :::code references accordingly Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Address scottaddie review feedback - Swap TOC order: developer account before service principal for language consistency - Rename heading to 'Set the app environment variables' in on-premises-apps.md - Rename heading to 'Implement the code' in on-premises-apps.md - Extract env vars section into shared include file (set-environment-variables-rust.md) Used by both local-development-service-principal.md and on-premises-apps.md Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * docs: add object ID and resource ID options for user-assigned managed identity Expands the user-assigned managed identity authentication doc to cover all three UserAssignedId variants supported by the Rust SDK: - ClientId (existing) - ObjectId (new) - ResourceId (new, with App Service limitation note) Addresses scottaddie review feedback referencing the azure_identity ManagedIdentityCredential source code. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Update articles/rust/sdk/authentication/local-development-dev-accounts.md Co-authored-by: Scott Addie <10702007+scottaddie@users.noreply.github.com> * Update articles/rust/sdk/authentication/system-assigned-managed-identity.md Co-authored-by: Scott Addie <10702007+scottaddie@users.noreply.github.com> * Update articles/rust/sdk/authentication/user-assigned-managed-identity.md Co-authored-by: Scott Addie <10702007+scottaddie@users.noreply.github.com> * Update articles/rust/sdk/authentication/user-assigned-managed-identity.md Co-authored-by: Scott Addie <10702007+scottaddie@users.noreply.github.com> * Apply suggestions from code review Co-authored-by: Scott Addie <10702007+scottaddie@users.noreply.github.com> * Restructure rust snippets as Cargo workspace; switch to crates.io 0.35/0.14 - articles/rust/snippets/Cargo.toml is now the workspace root with resolver = "2" and [workspace.dependencies] for azure_core 0.35, azure_identity 0.35, azure_security_keyvault_secrets 0.14, and tokio 1. - authentication crate consumes those via { workspace = true }; cert example keeps the client_certificate feature; async-trait + openssl remain as crate-local deps. - Single shared Cargo.lock + .gitignore at the workspace root so future service-area members (keyvault, storage, cosmos, ...) can be added without per-area lockfiles. - Drop authentication/src/lib.rs — every snippet is a self-contained examples/*.rs program. - Pin rust-toolchain.toml to channel = "stable". Verified locally: cargo check --workspace --examples succeeds. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Fix clippy warnings via workspace lint config (manifest-only) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Remove "Differences from the Go Azure Identity library" section This SDK-to-SDK comparison reads as internal context rather than customer guidance. Removing from the public docs. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Address Rust authentication review feedback Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 51397acb-694d-4c75-81fb-364b8117c210 * Apply Rust documentation style suggestions Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 51397acb-694d-4c75-81fb-364b8117c210 * Apply batched suggestions from code review Co-authored-by: learn-build-service-prod-09[bot] <274431102+learn-build-service-prod-09[bot]@users.noreply.github.com> --------- Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Co-authored-by: Ronnie Geraghty <ronniegeraghty@github.com> Co-authored-by: Scott Addie <10702007+scottaddie@users.noreply.github.com> Co-authored-by: Ronnie Geraghty <28957151+ronniegeraghty@users.noreply.github.com> Co-authored-by: Ronnie Geraghty <ronniegeraghty@users.noreply.github.com> Co-authored-by: Heath Stewart <heaths@microsoft.com> Co-authored-by: Heath Stewart <heaths@outlook.com> Co-authored-by: learn-build-service-prod-09[bot] <274431102+learn-build-service-prod-09[bot]@users.noreply.github.com> Copilot-Session: 51397acb-694d-4c75-81fb-364b8117c210

69a07dd

Update Rust SDK toolchain guidance Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

68e9dfa

docs(rust): Update installation instructions for specific crate versions

b8f60c3

Update articles/rust/sdk/installation.md Co-authored-by: learn-build-service-prod-07[bot] <274430390+learn-build-service-prod-07[bot]@users.noreply.github.com>

dd85f19

Apply suggestion from @learn-build-service-prod-09[bot] Co-authored-by: learn-build-service-prod-09[bot] <274431102+learn-build-service-prod-09[bot]@users.noreply.github.com>

c071bc9

chore(rust): Update ms.date to 08/10/2026

4285b30

docs(rust): Update SDK examples and documentation for stable 1.x releases (fixes #9327) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

12d12d4

Revert metadata change to azure-sdk-library-package-index.md This file should not receive metadata title-case changes; restore to upstream. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

44cb974

metadata | rust | title case article titles (batch 1/1) Title-case the title: frontmatter metadata across articles/rust using DocsCleaner (dc meta), with bundled metadata normalization. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

ddd75c3

update Rust permalink based on GA release (#9252) * update Rust permalink based on GA release * fix: update code example range for custom HTTP client implementation in Rust * Get Agent definition in sample code

3d11743

Update azure-core-types.md

4235a88

fix: use correct crate name azure_core throughout rust docs Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> # Conflicts: # articles/rust/sdk/azure-core-types.md

85ee7b5

Fix formatting of azure-core crate header

79c1ead

fix: use human-readable crate name in title Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

dde675e

fix: remove trailing whitespace in logging.md Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

ddcda94

fix: restore reference-style link definitions DocsCleaner incorrectly removed reference-style link definitions that are still used in the article text. Restored all definitions for use-crates.md and azure-core-types.md. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

e96e6cd

fix: separate ms.custom values into individual YAML list items Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

23de6fb

fix: restore auto-update metadata comment in package-index This YAML comment tells maintainers the ms.date shouldn't change when SDK team auto-updates the includes. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

70bb796

style: remove ellipsis from table column headers Per Microsoft Style Guide, table headers should be clean labels without trailing ellipsis. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

9108b8d

freshness: DocsCleaner pass on Rust articles - Refresh ms.date to 06/01/2026 - Normalize bullet style and code block indentation - Fix relative links (remove unnecessary ./ prefix) - Remove unused reference-style links - Normalize headings (Next steps → Related content) - Fix contractions per Microsoft style guide - Add missing trailing newlines Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>