Foreman Proxy deployment requires OAuth credentials (key/secret) generated during Foreman installation. In foreman-installer we used to get a output of foreman-proxy-certs-generate , which contained keys/secret and user just copies that command and run on proxy server.
In foremanctl we have certificate-bundle command to genreate certificate bundle, but we don't give any way for users to know about the oauth credentials. today they must inspect key and secret on foreman server as below and pass them as cli options in proxy deployment
cat /var/lib/foremanctl/foreman-oauth-consumer-key
cat /var/lib/foremanctl/foreman-oauth-consumer-secret
Possible Solutions:
- Output OAuth credentials as part of foremanctl certificate-bundle
- Add a dedicated command (e.g. foremanctl proxy-credentials)
- Include oauth key/secret files into bundle and in extraction we put them in /var/lib/foremanctl/ path on proxy server
Foreman Proxy deployment requires OAuth credentials (key/secret) generated during Foreman installation. In foreman-installer we used to get a output of
foreman-proxy-certs-generate, which contained keys/secret and user just copies that command and run on proxy server.In foremanctl we have
certificate-bundlecommand to genreate certificate bundle, but we don't give any way for users to know about the oauth credentials. today they must inspect key and secret on foreman server as below and pass them as cli options in proxy deploymentPossible Solutions: