Skip to content

Figure out how user gets oauth key/secret for proxy deployment #613

Description

@arvind4501

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions