MonoCloud Banner
NuGet License: MIT Build Status

Introduction

MonoCloud Management SDK for .NET – programmatically manage apps, policies, configurations, users, and groups via the MonoCloud Management APIs.

MonoCloud is a modern, developer-friendly Identity & Access Management platform.

This SDK provides a full-featured, typed .NET client for interacting with the MonoCloud Management APIs, allowing you to automate tenant administration programmatically.

📘 Documentation

Supported Platforms

This SDK supports applications targeting:

  • .NET Standard 2.0 (recommended for maximum compatibility)
  • .NET Framework 4.6.1+
  • .NET 6.0+ and later

🚀 Getting Started

Requirements

  • A MonoCloud tenant
  • A Management API key with appropriate permissions

Installation

Install-Package MonoCloud.Management

# or

dotnet add package MonoCloud.Management

Usage

The SDK closely mirrors the REST API structure — clients are organized by resource areas (clients, resources, users, groups, etc.).

var managementClient = new MonoCloudManagementClient(new MonoCloudConfig("https://<your-tenant-domain>", "<your-api-key>"));
Caution

Do not hardcode your API key. It is recommended to load it from an environment variable or a secure configuration manager like appsettings.json. For modern .NET applications, it is best practice to use Dependency Injection to manage the client lifecycle and configuration securely via the AddMonoCloudManagementClient service extension.

Example - Get all clients

var result = await managementClient.Clients.GetAllClientsAsync(
    page: 1,
    size: 10,
    filter: "dashboard",
    sort: "name:1"
);

Explore further operations at https://www.monocloud.com/docs

🤝 Contributing & Support

Issues & Feedback

  • Use GitHub Issues for bug reports and feature requests.
  • For tenant or account-specific help, contact MonoCloud Support through your dashboard.

Security

Do not report security issues publicly. Please follow the contact instructions at: https://www.monocloud.com/contact

📄 License

Licensed under the MIT License. See the included LICENSE file.