From: Marcus Watts <mwatts@redhat.com>
To: ceph-devel@vger.kernel.org, Daniel Oliveira <doliveira@suse.com>
Subject: Re: Cephx kerberization support
Date: Fri, 2 Sep 2016 00:58:07 -0400 [thread overview]
Message-ID: <20160902045807.GE10138@degu.eng.arb.redhat.com> (raw)
In-Reply-To: <alpine.DEB.2.11.1609011927560.31624@piezo.us.to>
I think the two most challenging bits of integrating kerberos in w/
ceph will be dealing with authorization and dealing with keytabs.
So the keytab thing is simple. kerberos entirely uses symmetric
encryption so it requires each host or service have a keytab. Possession
of the keytab = ability to impersonate anyone (to that host and/or service);
hence needs to be suitably protected. Deploying an additional osd/mon
requires properly creating or propagating a keytab to that host. This is
just a provisioning problem, and is not really any different than cephx
of course.
Authorization is more complex. ldap is one way to go, and particularly
for enterprise environments with lots of users, has lots of obvious
advantages. So, for external identities, this is certainly what you want.
You probably don't want these things replicated to a "ceph identity"
or have a separate identity database replicating what ldap does for this.
At the same time, you are probably going to want a least a bit of
logic between ldap, because ldap dn's and groups are
not a thing of obvious beauty for storage acls, or, really,
ldap gives you way more rope than you want.
For internal identities (ie, the various bits of ceph as they talk to each
other) - ldap may not be a good choice. For these you might find a more
special purpose local data store that's probably more strictly internal
to ceph to be appropriate for this. The choices you make above for
the keytab (per host or per service) will influence your choices here.
If you go with a single global per-service key (no per-host...) for
instance, then you your internal identity authorization needs become
very simple: either it knows the per-service key (and is "god") or it
doesn't. If you go with finer grained keytabs, then you can be somewhat
more elaborate in your security choices.
-Marcus Watts
next prev parent reply other threads:[~2016-09-02 4:58 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-24 2:34 Cephx kerberization support Daniel Oliveira
2016-09-01 19:41 ` Sage Weil
2016-09-02 4:58 ` Marcus Watts [this message]
2016-09-02 14:14 ` Sage Weil
2016-09-02 17:26 ` Matt Benjamin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160902045807.GE10138@degu.eng.arb.redhat.com \
--to=mwatts@redhat.com \
--cc=ceph-devel@vger.kernel.org \
--cc=doliveira@suse.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox