Bug 1566801

Summary: [RFE] Encrypt swift containers in the undercloud
Product: Red Hat OpenStack Reporter: Ade Lee <alee>
Component: openstack-tripleoAssignee: Christian Schwede (cschwede) <cschwede>
Status: CLOSED CURRENTRELEASE QA Contact: Mike Abrams <mabrams>
Severity: high Docs Contact: RHOS Documentation Team <rhos-docs>
Priority: medium    
Version: 14.0 (Rocky)CC: cschwede, emacchi, gcharot, mburns, pgrist, scohen, tshefi
Target Milestone: ---Keywords: FutureFeature, Triaged, ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-08-21 13:27:28 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ade Lee 2018-04-13 02:42:24 UTC
Description of problem:

* There is a swift container for the overcloud which contains:
    * rendered heat templates for the overcloud deployment
    * autogenerated passwords and every heat parameter we pass
    * Private keys.

* It can be fetched with:
    openstack container list
    mkdir <somewhere to put the container>
    cd <somewhere to put the container>
    openstack container save <container name>
        e.g. openstack container save overcloud

This data -- and any other sensitive data in the undercloud swift containers should be encrypted at rest.  Much of the work to encrypt swift containers is already completed.

For example, here is a set of patches which enable swift encryption using barbican in the undercloud.

https://review.openstack.org/#/q/topic:secret-management+(status:open+OR+status:merged)

Comment 2 Tzach Shefi 2018-07-15 10:25:06 UTC
Thiago, 
Would we need new/missing THT support to enable this feature?