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

推荐订阅源

B
Blog
D
Docker
J
Java Code Geeks
腾讯CDC
Blog — PlanetScale
Blog — PlanetScale
G
Google Developers Blog
M
MIT News - Artificial intelligence
L
LangChain Blog
T
The Blog of Author Tim Ferriss
P
Proofpoint News Feed
MyScale Blog
MyScale Blog
博客园 - Franky
GbyAI
GbyAI
Hugging Face - Blog
Hugging Face - Blog
aimingoo的专栏
aimingoo的专栏
Last Week in AI
Last Week in AI
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
博客园 - 聂微东
N
Netflix TechBlog - Medium
B
Blog RSS Feed
Y
Y Combinator Blog
阮一峰的网络日志
阮一峰的网络日志
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Google DeepMind News
Google DeepMind News

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 Configure User Management in the Ceph Dashboard
Nawaz Dhandala · 2026-03-31 · via OneUptime Blog

Overview

The Ceph Dashboard supports multi-user access with role-based access control (RBAC). You can create users with specific roles (read-only, block-manager, etc.) to enable different team members to access only the sections they need.

Default Admin User

The initial admin user is created by Rook during cluster bootstrap. Access credentials:

# Get the admin password
kubectl -n rook-ceph get secret rook-ceph-dashboard-password \
  -o jsonpath='{.data.password}' | base64 --decode

# The default username is "admin"

Built-in Dashboard Roles

The Dashboard ships with these built-in roles:

RolePermissions
administratorFull access to all security scopes
read-onlyRead access to all security scopes except dashboard settings
block-managerFull access to the rbd-image, rbd-mirroring, and iscsi scopes
rgw-managerFull access to the rgw scope
cluster-managerFull access to the hosts, osd, monitor, manager, and config-opt scopes
pool-managerFull access to the pool scope
cephfs-managerFull access to the cephfs scope

Creating a New Dashboard User

Navigate to Administration > User Management > Users, click "Create":

CLI equivalent (these commands assume the rook-ceph-tools toolbox deployment is running):

# Write the password to a temporary file inside the toolbox pod
kubectl -n rook-ceph exec deploy/rook-ceph-tools -- bash -lc \
  "printf '%s' 'SecurePassword123!' > /tmp/alice-password"

kubectl -n rook-ceph exec deploy/rook-ceph-tools -- \
  ceph dashboard ac-user-create \
  --enabled \
  alice \
  -i /tmp/alice-password \
  administrator

# Change the password later if needed
kubectl -n rook-ceph exec deploy/rook-ceph-tools -- bash -lc \
  "printf '%s' 'EvenMoreSecurePassword123!' > /tmp/alice-password"

kubectl -n rook-ceph exec deploy/rook-ceph-tools -- \
  ceph dashboard ac-user-set-password \
  alice \
  -i /tmp/alice-password

# List users
kubectl -n rook-ceph exec deploy/rook-ceph-tools -- \
  ceph dashboard ac-user-show

# Clean up the temporary password file
kubectl -n rook-ceph exec deploy/rook-ceph-tools -- \
  rm -f /tmp/alice-password

Creating Custom Roles

Define granular permissions with custom roles:

# Create a role that can only view pools and RBD
kubectl -n rook-ceph exec deploy/rook-ceph-tools -- \
  ceph dashboard ac-role-create dev-readonly

# Add read scopes to the role
kubectl -n rook-ceph exec deploy/rook-ceph-tools -- \
  ceph dashboard ac-role-add-scope-perms dev-readonly pool read

kubectl -n rook-ceph exec deploy/rook-ceph-tools -- \
  ceph dashboard ac-role-add-scope-perms dev-readonly rbd-image read

# Assign role to a user
kubectl -n rook-ceph exec deploy/rook-ceph-tools -- \
  ceph dashboard ac-user-set-roles bob dev-readonly

Available scopes for permissions include hosts, config-opt, pool, osd, monitor, rbd-image, rbd-mirroring, iscsi, rgw, cephfs, nfs-ganesha, manager, log, grafana, prometheus, and dashboard-settings.

Disable, Re-enable, or Delete a User

# Disable user (prevent login)
kubectl -n rook-ceph exec deploy/rook-ceph-tools -- \
  ceph dashboard ac-user-disable alice

# Re-enable
kubectl -n rook-ceph exec deploy/rook-ceph-tools -- \
  ceph dashboard ac-user-enable alice

# Delete user
kubectl -n rook-ceph exec deploy/rook-ceph-tools -- \
  ceph dashboard ac-user-delete alice

Force Password Change on Next Login

kubectl -n rook-ceph exec deploy/rook-ceph-tools -- \
  ceph dashboard ac-user-create \
  --enabled \
  --pwd_update_required \
  alice \
  -i /tmp/alice-password \
  administrator

Summary

Ceph Dashboard RBAC allows assigning built-in roles (administrator, read-only, block-manager, etc.) or custom roles with granular scope-level permissions to each user. Using the ac-user-create and ac-role-add-scope-perms commands, you can implement least-privilege access for development, operations, and monitoring teams on the same dashboard.