All articles

New Developer Documentation is Now Available

4 min. read

Vivien Muller

Vivien Muller

18 October, 2024

harder better faster stronger!

What’s New?

The OpenAPI Spec Got Some Much-Needed Love

Introducing Redoc for a Better Experience

Interactive Exploration 

Clear Examples

Integration with the Help Site

Authenticating with JWT (JSON Web Tokens)

Creating a New Password Resource

POST /resources.json HTTP/1.1
Host: your-passbolt-instance.com
Authorization: Bearer your-jwt-token
Content-Type: application/json

{
  "name": "New Service",
  "username": "[email protected]",
  "uri": "https://newservice.com",
  "resource_type_id": "a28a04cd-6f53-518a-967c-9963bf9cec51",
  "secrets": [
    {
      "data": "-----BEGIN PGP MESSAGE-----\n...\n-----END PGP MESSAGE-----",
      "user_id": "your-user-id"
    }
  ]
}
  • name: The name of the resource (e.g., "New Service").
  • username: The username associated with the resource.
  • uri: The URL of the service.
  • resource_type_id: The ID representing the type of resource. This can be found in the /resource-types endpoint.
  • secrets: An array containing the encrypted password data for each user who should have access. Since you're creating the resource, you'll include your own user_id and the password encrypted with your public key.
{
  "header": {
    "id": "unique-request-id",
    "status": "success",
    "servertime": 1620000000,
    "action": "create-resource",
    "message": "The resource was successfully created.",
    "url": "/resources.json",
    "code": 200
  },
  "body": {
    "id": "new-resource-id",
    "name": "New Service",
    "username": "[email protected]",
    "uri": "https://newservice.com",
    "created": "2024-10-16T12:00:00+00:00",
    "modified": "2024-10-16T12:00:00+00:00",
    "created_by": "your-user-id",
    "modified_by": "your-user-id",
    "resource_type_id": "a28a04cd-6f53-518a-967c-9963bf9cec51",
    "secrets": [ ... ]
  }
}
shapez

Looking Ahead

Continue reading

Simplifying Passbolt Installation with Ansible

4 min. read

Simplifying Passbolt Installation with Ansible

Automate Passbolt installation with Ansible for a consistent, secure, and efficient server setup.

Antony Bartolomucci

Antony Bartolomucci

4 November, 2024

Show me your entropy and I’ll break your password

11 min. read

Show me your entropy and I’ll break your password

PART 2: Insights from Entropy. This article highlights how the entropy of a password can expose sensitive information and the potential risks associated with it.

Stephane

Stephane

29 July, 2024

Flag of European UnionMade in Europe. Privacy by default.