Skip to content

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

Closed

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

Activity

  1. arvind4501 commented on Aug 3, 2026

    @arvind4501
    ContributorAuthor

    Closing as done in #698 with inclusion of oauth into bundle

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    Red Hat Jira

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions