azure-cosmos-rust
Build Azure Cosmos DB Applications in Rust
Rust developers need clear patterns for connecting to Azure Cosmos DB and managing NoSQL items. This skill provides focused SDK guidance for authentication and item operations.
Install with my Agent
Copy this request to your Agent. It includes the canonical Skill page and manifest.
Review the Skillstore skill "azure-cosmos-rust" from https://skillstore.io/skills/sickn33-azure-cosmos-rust.md and its manifest at https://skillstore.io/api/skills/sickn33-azure-cosmos-rust/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.Your Agent should still show its plan and request any confirmation required by the security policy.
Agent-readable resources
Use these links when an AI agent, crawler, or script needs clean context instead of reading the full page.
Test it
Using "azure-cosmos-rust". Explain the client hierarchy for a new Cosmos DB Rust service.
Expected outcome:
- Create one account-level client with an Azure credential.
- Select a database client from the account client.
- Select a container client from the database client.
- Reuse clients across item operations.
Using "azure-cosmos-rust". Outline a safe item update workflow.
Expected outcome:
Read the item with its partition key, deserialize the response, modify the typed value, then replace or patch the same item.
Using "azure-cosmos-rust". Which authentication method should a local developer start with?
Expected outcome:
Start with DeveloperToolsCredential for Entra ID authentication. Use key authentication only when requirements justify enabling the optional feature.
Security Audit
SafeAll 25 external-command matches are Markdown fences or inline formatting; the two shell examples use fixed Cargo installation commands without dynamic execution. The five URL matches are placeholder Azure endpoints or standard documentation and package references. No prompt injection, exfiltration intent, or unsafe automation was found.
Risk Factors
โ๏ธ External commands (25)
๐ Network access (5)
Share & cite this report
Share the versioned assessment report, neutral badge, embed card, and citations. Skillstore reports evidence without deciding whether this Skill is safe.
Copy report link
https://skillstore.io/skills/sickn33-azure-cosmos-rust/audits/5?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportMarkdown badge
[](https://skillstore.io/skills/sickn33-azure-cosmos-rust?utm_source=security_passport_badge)HTML badge
<a href="https://skillstore.io/skills/sickn33-azure-cosmos-rust?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/sickn33-azure-cosmos-rust/security.svg" alt="Skillstore security assessment" loading="lazy"></a>Embed card
<iframe src="https://skillstore.io/embed/skills/sickn33-azure-cosmos-rust.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>Academic citations (APA ยท BibTeX ยท CFF)
APA citation
sickn33. (2026). azure-cosmos-rust security audit report (audit version 5) [Author version unspecified]. Skillstore. https://skillstore.io/skills/sickn33-azure-cosmos-rust/audits/5BibTeX citation
@techreport{sickn33-sickn33-azure-cosmos-rust-2026,
author = {sickn33},
title = {azure-cosmos-rust security audit report (audit version 5)},
institution = {Skillstore},
year = {2026},
number = {5},
url = {https://skillstore.io/skills/sickn33-azure-cosmos-rust/audits/5},
note = {Author version unspecified}
}CITATION.cff
cff-version: 1.2.0
message: "If you use this Skill, cite its author and this versioned security audit report."
title: "azure-cosmos-rust security audit report (audit version 5)"
version: "unspecified"
type: report
authors:
- name: "sickn33"
date-released: "2026-07-23"
url: "https://skillstore.io/skills/sickn33-azure-cosmos-rust/audits/5"
identifiers:
- type: other
value: "skillstore:sickn33-azure-cosmos-rust:audit:5"
description: "Skillstore immutable audit report identifier"
Skillstore Score
Why this score Evidence Confidence: HighWhat You Can Build
Create a Rust prototype
Set up authenticated Cosmos DB access and implement basic typed item operations.
Review an SDK integration
Check client reuse, partition keys, serialization, and authentication choices in an existing service.
Prepare a cloud database exercise
Teach the client hierarchy and document lifecycle with concise Rust examples.
Try These Prompts
Show how to add the required Rust packages and create a CosmosClient with DeveloperToolsCredential. Use my endpoint placeholder and explain each required setting.
Create a typed Rust workflow for adding and reading an item. My database is {database}, container is {container}, and partition key is {key}.Extend my Rust Cosmos DB service with replace, patch, and delete operations. Preserve partition key handling and typed deserialization.
Review this Rust Cosmos DB design for authentication, client reuse, partition keys, serialization, and error handling. Identify missing validation and version-sensitive assumptions.
Best Practices
- Supply the correct partition key for every point operation.
- Reuse thread-safe client instances instead of creating one per request.
- Prefer Entra ID credentials and verify permissions before testing operations.
Avoid
- Do not place real account keys or service endpoints in shared prompts or source files.
- Do not assume item identifiers replace partition keys for point operations.
- Do not apply examples without checking the installed SDK version and environment.