Secure Apache Ozone in four layers: authenticate every user and service with Kerberos, authorise with Apache Ranger policies on volumes, buckets and keys, encrypt data in transit and at rest, and keep audit logs you can export. Use the checklist below to review a cluster, and record the evidence with a date.
Auth
Ozone's Kerberos configuration page covers authentication for the Ozone services and users. Cloudera clusters normally run Kerberos already, so the question is whether every Ozone role and client uses it.
| Check | Evidence |
|---|---|
| Kerberos is enabled for all Ozone services | Service configuration |
| Clients authenticate with a user or service principal, not a shared account | Principal list |
| Application access uses a service account per application | Service account register |
| S3 access keys are issued per service account, shown once and stored in a vault | Credential process and vault entry |
| S3 credentials are rotated or revoked when staff or applications change | Rotation record |
| The S3 Gateway runs in secure mode in every non-test environment | Gateway configuration |
S3 secrets deserve special care. Cloudera's documentation notes they work like Kerberos passwords, giving access to the user's Ozone buckets. See S3-compatible access for the flow.
Encryption
Encryption covers data on the network and data on disk.
| Layer | What Ozone offers | Check |
|---|---|---|
| In transit | TLS for service and client connections; see the HTTPS configuration page and the page on network encryption | Certificates are valid, from your authority and monitored for expiry |
| At rest | Transparent data encryption per bucket, using a key management server such as Hadoop KMS or Ranger KMS, described on the encryption page | Which buckets are encrypted, who holds the keys, and how keys are backed up |
| Keys | Held in the key management server, with access set by policy | Access to keys is separate from access to data, and logged |
Transparent encryption is chosen when a bucket is created, so decide per data class before you load data. Check with your Cloudera team which key management server and key rotation process your release supports.
Policies
Ranger has supported Ozone authorisation since version 2.0. The Ozone Manager asks Ranger whether an action is allowed, using the Ranger plugin, which the Ranger integration page describes. Cloudera clusters usually ship with this enabled. Review these points:
- Native ACLs are on, and the Ranger authoriser is set, so policy is enforced at the Ozone Manager.
- Policies are written for groups, not individuals, and by volume or bucket.
- Default broad access, such as a public group on a volume, is removed.
- Admin rights on Ozone and on Ranger are held by few people.
- Each sensitive bucket has an owner who reviews its policy each quarter.
- Policies for S3 users match policies for file system users, so one path is not looser than the other.
Our guides on Ranger policy design and tag-based access control cover the design.
Audit
An examiner will ask who accessed what. Ranger records access decisions through its audit feature, and Ozone services write their own audit logs. Confirm in your release documentation where each lives and how long it is kept.
| Question | Where to find the answer | Retention to confirm |
|---|---|---|
| Who was allowed or denied access to a bucket? | Ranger audit | Set by your records policy |
| Who created, changed or deleted a bucket or key? | Ozone audit logs | Set by your records policy |
| Who changed a policy? | Ranger policy history | Set by your records policy |
| Who got an S3 secret? | Service logs and your credential process | Set by your records policy |
Ship these logs to your central evidence store, test one sample question each quarter and save the answer with its date. Our Ranger audit evidence scenario shows the habit.
Common gaps
- Two paths with different rules. S3 users and file system users reach the same data through different routes. Check that Ranger policy covers both.
- Long-lived S3 secrets. Keys issued once and never rotated, held by a person who has since moved.
- Encryption chosen after loading. Transparent encryption is set when a bucket is created, so late decisions mean copying data.
- Key access too broad. If everyone who can read a bucket can also read its keys, the encryption adds little. Separate the two.
- Audit that nobody reads. Logs kept but never tested. Run a sample question each quarter.
- Test clusters with security off. They hold copies of real data. Apply the same controls, or use synthetic data.
Close these before you look at finer settings. They are the findings an examiner is most likely to raise.
Hardening beyond the basics
Once the four layers are in place, look at the surrounding controls. Limit network access to Ozone services with firewall rules, so only known clients reach the Ozone Manager, DataNodes and S3 Gateway. Keep Ozone, Ranger and the key management server patched in a tested order. Back up the Ozone Manager and Storage Container Manager metadata, and protect the backups like the data. Separate the people who administer storage from those who administer policy, so no single account can both grant and use access.
How to use the checklist
Score each row pass, partial or fail. Give each partial or fail an owner and a date. Re-run after any upgrade, new bucket class or change to the key management setup. Duczer East Ozone consulting can run the review with your security team.



