惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

小众软件
小众软件
C
Check Point Blog
Vercel News
Vercel News
Y
Y Combinator Blog
G
Google Developers Blog
P
Proofpoint News Feed
WordPress大学
WordPress大学
MongoDB | Blog
MongoDB | Blog
博客园 - 司徒正美
Last Week in AI
Last Week in AI
博客园 - 【当耐特】
N
Netflix TechBlog - Medium
L
LangChain Blog
V
V2EX
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
大猫的无限游戏
大猫的无限游戏
D
DataBreaches.Net
博客园_首页
B
Blog RSS Feed
The Cloudflare Blog
MyScale Blog
MyScale Blog
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Microsoft Security Blog
Microsoft Security Blog

OneUptime Blog

How to Monitor Azure App Services (PaaS) with OpenTelemetry Grafana Stack vs OneUptime: DIY Observability or Unified Platform? Your AI Workloads Are About to Blow Up Your Observability Bill The Great Observability Consolidation Is Here How to Write Custom Object Classes for Ceph How to Write Custom Ceph Manager Modules How to Write a ceph.conf Configuration File How to Use Rook-Ceph with OpenShift How to Use Rook-Ceph with Longhorn for Comparison How to Configure Volume Snapshot Class for RBD in Rook How to Configure VolumeReplicationClass Scheduling Intervals in Rook How to Set Up Volume Replication with Rook-Ceph How to Create Volume Group Snapshots with Rook CSI How to Visualize Ceph Network Performance in Grafana How to Enable Virtual Host-Style Bucket Access in Rook How to View Runtime Configuration via Admin Socket How to View Quota Settings and Update Stats in Ceph RGW How to View PG Scaling Recommendations with autoscale-status How to View PG Distribution via Admin Socket How to View Performance Metrics in the Ceph Dashboard How to View OSD Performance Counters in Ceph How to View Connection Status via Admin Socket How to View Ceph Cluster Summary Dashboard via CLI How to Version Control Rook-Ceph Configuration How to Version Control Ceph Infrastructure with Terraform How to Verify Kubernetes Node Requirements for Rook-Ceph Deployment How to Verify Health Before and After Rook Upgrades How to Verify Data Integrity with Deep Scrubbing How to Verify Complete Rook-Ceph Cleanup How to Verify Backup Integrity from Ceph Snapshots
How to Understand User Types (Individual vs System) in Ceph
Nawaz Dhandala · 2026-03-31 · via OneUptime Blog

CephX User Types Overview

Ceph uses CephX for authentication. Every entity that accesses a Ceph cluster - whether a Ceph daemon, an application, or an administrator - has an identity expressed as a typed user. Ceph distinguishes between two broad categories of users: system users (internal daemons) and individual users (external clients and applications).

System Users (Internal Daemons)

System users are Ceph daemons that authenticate to the cluster as part of normal cluster operation. These users are created automatically when daemons are initialized and follow strict naming conventions.

System user types:

osd.0        - OSD daemon ID 0
mon.node1    - Monitor on host node1
mds.0        - MDS daemon rank 0
mgr.node1    - Manager on host node1

System users have capabilities that match their operational role. For example, OSD daemons need broad OSD and monitor capabilities:

ceph auth get osd.0

Sample output:

[osd.0]
    key = AQA...==
    caps mon = "allow profile osd"
    caps osd = "allow *"
    caps mgr = "allow profile osd"

You should never manually modify system user capabilities unless recovering from a serious misconfiguration.

Individual Users (Client and Application Users)

Individual users are created manually to give external applications, administrators, or services access to the cluster. They belong to the client type by convention and use the format client.<id>.

client.admin       - Full admin user, created by default
client.myapp       - Application user
client.monitoring  - Read-only monitoring user

Create an individual user with restricted permissions:

ceph auth get-or-create client.myapp \
  mon 'allow r' \
  osd 'allow rw pool=appdata'

Inspect it:

ceph auth get client.myapp

Sample output:

[client.myapp]
    key = AQB...==
    caps mon = "allow r"
    caps osd = "allow rw pool=appdata"

The client.admin User

The client.admin user is a special individual user created automatically at cluster bootstrap. It has full administrative capabilities:

ceph auth get client.admin
[client.admin]
    key = AQC...==
    caps mds = "allow *"
    caps mgr = "allow *"
    caps mon = "allow *"
    caps osd = "allow *"

In Rook deployments, the client.admin keyring is stored as a Kubernetes Secret:

kubectl -n rook-ceph get secret rook-ceph-admin-keyring -o yaml

Listing Users by Type

Use ceph auth ls and filter by type:

# List all OSD system users
ceph auth ls | grep "^osd\."

# List all client users
ceph auth ls | grep "^client\."

Rook-Created Users

Rook automatically creates several client users for its internal components:

ceph auth ls | grep "client.rook"

These include users for the CSI driver, crash collector, and monitoring. Do not delete or modify these unless directed by Rook documentation.

Summary

Ceph distinguishes between system users (OSD, MON, MDS, MGR daemons) and individual users (client.* entries for applications and admins). System users are managed automatically by Ceph and should not be modified. Individual users are created by operators and should follow least-privilege principles - grant only the pool access and capability levels needed for each specific use case.