[openstack-dev] [Barbican] Providing service user read access to all tenant's certificates
Vijay Venkatachalam
Vijay.Venkatachalam at citrix.com
Fri Sep 18 20:15:31 UTC 2015
Typos corrected.
From: Vijay Venkatachalam
Sent: 18 September 2015 00:36
To: OpenStack Development Mailing List (not for usage questions) <openstack-dev at lists.openstack.org>
Subject: RE: [openstack-dev] [Barbican] Providing service user read access to all tenant's certificates
Yes Dave, that is what is happening today.
But that approach looks a little untidy, because tenant admin has to do some infrastructure work.
It will be good from the user/tenant admin's perspective to just do 2 things
1. Upload certificates info
2. Create LBaaS Configuration with certificates already uploaded
Now because barbican and LBaaS does *not* work nicely with each other, every tenant admin has to do the following
1. Upload certificates info
2. Read a document or finds out there is a LBaaS service user and somehow gets hold of LBaaS service user's userid. Assigns read rights to that certificate to LBaaS service user.
3. Creates LBaaS Configuration with certificates already uploaded
This does not fit the "As a service" model of OpenStack where tenant's just configure whatever they want and the infrastructure takes care of automating the rest.
Thanks,
Vijay V.
From: Dave McCowan (dmccowan) [mailto:dmccowan at cisco.com]
Sent: 17 September 2015 18:20
To: OpenStack Development Mailing List (not for usage questions) <openstack-dev at lists.openstack.org<mailto:openstack-dev at lists.openstack.org>>
Subject: Re: [openstack-dev] [Barbican] Providing service user read access to all tenant's certificates
The tenant admin from Step 1, should also do Step 2.
From: Vijay Venkatachalam <Vijay.Venkatachalam at citrix.com<mailto:Vijay.Venkatachalam at citrix.com>>
Reply-To: "OpenStack Development Mailing List (not for usage questions)" <openstack-dev at lists.openstack.org<mailto:openstack-dev at lists.openstack.org>>
Date: Wednesday, September 16, 2015 at 9:57 PM
To: "OpenStack Development Mailing List (not for usage questions)" <openstack-dev at lists.openstack.org<mailto:openstack-dev at lists.openstack.org>>
Subject: Re: [openstack-dev] [Barbican] Providing service user read access to all tenant's certificates
How does lbaas do step 2?
It does not have the privilege for that secret/container using the service user.
Should it use the keystone token through which user created LB config and assign read access for the secret/container to the LBaaS service user?
Thanks,
Vijay V.
From: Fox, Kevin M [mailto:Kevin.Fox at pnnl.gov]
Sent: 16 September 2015 19:24
To: OpenStack Development Mailing List (not for usage questions) <openstack-dev at lists.openstack.org<mailto:openstack-dev at lists.openstack.org>>
Subject: Re: [openstack-dev] [Barbican] Providing service user read access to all tenant's certificates
Why not have lbaas do step 2? Even better would be to help with the instance user spec and combined with lbaas doing step 2, you could restrict secret access to just the amphora that need the secret?
Thanks,
Kevin
________________________________
From: Vijay Venkatachalam
Sent: Tuesday, September 15, 2015 7:06:39 PM
To: OpenStack Development Mailing List (openstack-dev at lists.openstack.org<mailto:openstack-dev at lists.openstack.org>)
Subject: [openstack-dev] [Barbican] Providing service user read access to all tenant's certificates
Hi,
Is there a way to provide read access to a certain user to all secrets/containers of all project/tenant's certificates?
This user with universal "read" privilege's will be used as a service user by LBaaS plugin to read tenant's certificates during LB configuration implementation.
Today's LBaaS users are following the below mentioned process
1. tenant's creator/admin user uploads a certificate info as secrets and container
2. User then have to create ACLs for the LBaaS service user to access the containers and secrets
3. User creates LB config with the container reference
4. LBaaS plugin using the service user will then access container reference provided in LB config and proceeds to implement.
Ideally we would want to avoid step 2 in the process. Instead add a step 5 where the lbaas plugin's service user checks if the user configuring the LB has read access to the container reference provided.
Thanks,
Vijay V.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20150918/958449cb/attachment.html>
More information about the OpenStack-dev
mailing list