Bug 1198586

Summary: [RFE] Package/include oauth credentials when creating certs tar for capsule
Product: Red Hat Satellite Reporter: Corey Welton <cwelton>
Component: InstallationAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED WONTFIX QA Contact: Katello QA List <katello-qa-list>
Severity: medium Docs Contact:
Priority: unspecified    
Version: UnspecifiedCC: bkearney, stbenjam, sthirugn
Target Milestone: UnspecifiedKeywords: FutureFeature, Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-06-22 14:43:32 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 Corey Welton 2015-03-04 12:49:55 UTC
When a user installs the ca-cert file from /pub on a satellite, part of what it does is go ahead and update rhsm.conf with the appropriate settings for eventual registration of client to satellite.  This is very convenient.

We should have a similar analogue when creating/using the certs tar.  

Pressently, after running `capsule-certs-generate` on Satellite, user is given a very long (and not easily pasteable) `capsule-installer` and associated string of flags, which includes various oauth keys/secrets parsed from locations across a sat6 install.

The RFE here is to  package the oauth credentials into the certs.tar and store it somewhere that can be retrieved during install. Just as we prepopulate rhsm.conf when doing katello ca cert, it seems it would be similarly useful to prepopulate this oauth stuff somewhere else, so user doesn't have to manually input on an install attempt.

Less stuff entered at install time = less room for error.

Comment 1 Bryan Kearney 2016-07-08 20:32:23 UTC
Per 6.3 planning, moving out non acked bugs to the backlog

Comment 3 Stephen Benjamin 2016-12-19 15:17:35 UTC
Created redmine issue http://projects.theforeman.org/issues/17739 from this bug