Access Red Hat content for development
Explore how you can access Red Hat internal content for your development tasks.
Abstract
Preface Copy linkLink copied to clipboard!
Configure the Red Hat Authentication extension to use enterprise-grade resources for your local development. By connecting your Red Hat account using the UI, you can authenticate to the container registry (registry.redhat.io) and activate a no-cost developer subscription. This simplifies access to content, such as Red Hat container images, secure RPM packages, and the Developer Sandbox.
Chapter 1. The extension and its purpose Copy linkLink copied to clipboard!
With the Red Hat Authentication extension, you can sign in with Red Hat Single Sign-On (SSO) to use your no-cost developer subscription. This prepares your local environment to pull container images, RPM packages, and developer tools without manual setup.
After configuring this extension, you gain access to the latest RHEL container images and RPMs. You can browse the full catalog of Red Hat certified images and sign in using your Red Hat, Google, GitHub, or Microsoft account. The extension authenticates you to the registry via your Red Hat account, helping you to pull images directly. Additionally, you can use the bootc extension to build bootable containers, utilize Red Hat OpenShift Local and Developer Sandbox to set up and connect to OpenShift environments, and access Red Hat development tools at no cost.
1.1. Configure the Red Hat Authentication extension Copy linkLink copied to clipboard!
You can configure the Red Hat Authentication extension to access Red Hat content for development purposes. The extension is bundled with Red Hat build of Podman Desktop, and you can use it on macOS and Windows.
On Linux, the extension needs a running Podman machine to provide root privileges for subscription-manager package. You can set this up by running the podman machine init command in your terminal. This allows Red Hat build of Podman Desktop and the extension to function.
However, using the extension is optional on Linux. You can instead use native CLI tools to run the subscription-manager register and podman login registry.redhat.io commands manually.
Prerequisites
- You have credentials to log in to your Red Hat account.
If you do not have a Red Hat account, create one or log in by using your Google, Microsoft, or GitHub account.
Procedure
- Go to Settings > Authentication from the left navigation pane.
- Click Sign in. A login page opens in the browser.
- Enter your login credentials, and click Log in to SSO. A successful login notification appears on the page.
- Click Go back to Red Hat build of Podman Desktop.
Verification
On the Authentication page, you can view that you are logged in with your Red Hat account.
Figure 1.1. Successful login with your Red Hat account
Click the Tasks icon in the status bar to check for the completion of the following tasks:
- The Red Hat Container Registry is configured. The Settings > Registries page lists the Red Hat Container Registry for use.
- The Red Hat subscription is activated.
You can now access content available on the Red Hat site or internal repositories.