The Simplest Way to Make Ceph and Onelogin Work Like They Should

Published
Length
3 min read

Luis Felipe Dias

All posts

Pairing ceph and onelogin links your storage cluster to one central user directory. This setup lets engineers log in with their own work accounts to manage data. Storage clusters hold vital company files, object buckets, and block volumes. Without a central login system, teams pass around static keys on chat apps. Linking your identity tool to your storage web dashboard fixes this bad habit. Admins can grant or revoke storage roles from one main screen. How ceph and onelogin handle logins and

Your coding agents run with your access.

Claude Code reaches prod with a developer's credentials, and approval prompts get clicked through. hoop.dev checks every query, masks sensitive data, and holds risky changes for a human.

Pairing ceph and onelogin links your storage cluster to one central user directory. This setup lets engineers log in with their own work accounts to manage data.

Storage clusters hold vital company files, object buckets, and block volumes. Without a central login system, teams pass around static keys on chat apps. Linking your identity tool to your storage web dashboard fixes this bad habit. Admins can grant or revoke storage roles from one main screen.

How ceph and onelogin handle logins and roles

Ceph runs a built-in web dashboard and an object storage interface. OneLogin acts as the single source of truth for user identities and groups. You can link the two systems using standard web login protocols like SAML. You can also use OpenID Connect for object storage requests.

When an engineer opens the storage dashboard, the cluster sends them to OneLogin. The user enters their password and passes a second factor check. OneLogin then sends a signed message back to the storage cluster. This message holds the user email and their assigned group names.

The storage cluster reads these group names and maps them to local roles. A read-only group lets a developer view cluster health and disk space. A storage admin group lets an operator create pools or change disk settings. For object buckets, the cluster checks the token before allowing file reads or writes.

Common failure modes and how to scope roles

Many teams set up single sign-on for the web dashboard and stop there. They still use shared admin keys for command line tools and scripts. When five engineers share one master key, your audit logs lose all value. You cannot tell who deleted a bucket or changed a pool rule.

Overbroad roles cause another big problem in storage setups. Teams often map every user in OneLogin to the full cluster admin role. A junior developer only needs to view bucket sizes or check slow requests. Giving that user full rights puts raw disks and system pools at risk.

OneLogin + End-to-End Encryption: architecture patterns and best practices

Continue reading? Get the full guide.

Free. No spam. Unsubscribe anytime.

To fix this, split your OneLogin groups by job duty right away. Create separate groups for viewing metrics, managing object buckets, and fixing disks. Map each group to the smallest possible role inside the storage cluster. Turn off local password logins for standard users so everyone uses the central flow.

Network paths between your users and the storage nodes also need tight rules. Do not expose the storage dashboard or object endpoints to the public internet. Place the cluster management ports on a private network segment. Allow traffic only from trusted internal subnets and verified admin hosts.

Protecting sensitive data in storage buckets

Object buckets and block volumes often store customer files and database backups. These files can contain emails, phone numbers, card numbers, or national IDs. Even with strong login rules, broad read roles let users pull raw files.

Teams should separate test buckets from production buckets at the role level. Developers working on app bugs should only read buckets with safe test data. If a workflow queries structured data from storage, data masking rewrites matched fields in results. This keeps sensitive strings like card numbers and emails out of local laptops.

Review your active storage sessions and role mappings every month. When an engineer changes teams, remove their old storage group in OneLogin right away. Short token lifetimes also help limit the risk of stolen login sessions. Set your identity tool to expire storage tokens at the end of each workday.

Add runtime guardrails and masking beside your databases and APIs

Login rules, role grants, and CI checks govern who connects to your stack. Yet any allowed script, engineer, or AI agent still runs commands with the full scope of its role. For workloads on Postgres, MySQL, SQL Server, MongoDB, ClickHouse, Kubernetes, SSH, or internal HTTP services, hoop.dev sits beside the service as an open-source proxy, a sidecar for your database or API.

Before a query runs, hoop.dev guardrails check the statement against your rules. An AI Analyzer you configure can score intent or hold risky calls for human review. Next, hoop.dev data masking rewrites sensitive fields in responses, and each verdict is logged per listener. Explore the MIT-licensed project on GitHub.

Frequently asked questions

Can OneLogin control command line access to Ceph?

Ceph uses SAML mainly for its web dashboard and OpenID Connect for object storage. Standard cluster command line tools still rely on native Ceph keys on the host.

How do we map OneLogin groups to Ceph dashboard roles?

You configure group attributes in your OneLogin app settings to send team names. The storage dashboard reads those attributes at login and assigns the matching local role.

What happens if a user leaves the company?

When you disable the user in OneLogin, they cannot start new dashboard sessions. You should also clear any active sessions and rotate shared command line keys.

The query runs. The emails stay hidden.