Passbolt.Api 1.0.15

dotnet add package Passbolt.Api --version 1.0.15
                    
NuGet\Install-Package Passbolt.Api -Version 1.0.15
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Passbolt.Api" Version="1.0.15" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Passbolt.Api" Version="1.0.15" />
                    
Directory.Packages.props
<PackageReference Include="Passbolt.Api" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Passbolt.Api --version 1.0.15
                    
#r "nuget: Passbolt.Api, 1.0.15"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Passbolt.Api@1.0.15
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Passbolt.Api&version=1.0.15
                    
Install as a Cake Addin
#tool nuget:?package=Passbolt.Api&version=1.0.15
                    
Install as a Cake Tool

Passbolt.Api

NuGet License: MIT .NET 10 Codacy Badge

Typed .NET client primitives for integrating with Passbolt APIs in a safe, testable, and DI-friendly way.

Installation

dotnet add package Passbolt.Api

Quick Start

using Passbolt.Api;

var options = new PassboltClientOptions
{
    Uri = new Uri("https://passbolt.example.com"),
    Username = "user@example.com",
    Password = "password",
    PrivateKeyBlock = "-----BEGIN PGP PRIVATE KEY BLOCK-----\n..."
};

using var client = new PassboltClient(options);

// Get server status
var status = await client.Status.GetStatusAsync(CancellationToken.None);
Console.WriteLine($"Passbolt version: {status.Body?.Version}");

// List all resources
var resources = await client.Resources.GetAllAsync(CancellationToken.None);
foreach (var resource in resources.Body ?? [])
{
    Console.WriteLine($"Resource: {resource.Name} (ID: {resource.Id})");
}

For production code, pass a real cancellation token:

using var cts = new CancellationTokenSource(TimeSpan.FromSeconds(30));
var resources = await client.Resources.GetAllAsync(cts.Token);

Features

  • Strongly-typed PassboltClient for intuitive API access
  • Refit-backed REST API interface for seamless HTTP endpoint mapping
  • Built-in support for Passbolt's PGP authentication flow
  • Async/await support throughout
  • Dependency injection compatible design

Quality

  • Built with TreatWarningsAsErrors
  • Nullable reference types enabled
  • XML documentation generated
  • CI validates restore, build, test, and package output

Supported Endpoints

Core Entities

  • Status: Server status and healthcheck information
  • Users: CRUD operations and listing for user management
  • Groups: CRUD operations and listing for group management
  • Resources: CRUD operations, listing, searching by name/URI, and resource sharing
  • Folders: CRUD operations and listing for folder management
  • Comments: Create, read, and delete comments on resources
  • Permissions: Query and filter permissions by resource or user
  • Roles: List available roles and retrieve role details
  • Avatars: Retrieve user profile images
  • Me: Access current authenticated user's profile information

License

MIT - see LICENSE.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.15 45 6/14/2026
1.0.13 43 6/14/2026
1.0.12 43 6/14/2026