After creating the key, you can register your system using a single command instead of interactive credentials. :
# subscription-manager register --activationkey="Your_Key_Name" --org="Your_Org_ID" Use code with caution.
Once your subscription is active, you can create the key through the Red Hat Hybrid Cloud Console:
# rhc connect --activation-key="Your_Key_Name" --organization="Your_Org_ID" Use code with caution.
To generate an activation key, you first need a valid Red Hat subscription. The is the most popular way to get this. Step 1: Sign Up for a Free Developer Subscription
Visit the Red Hat Developer Portal and register for a free account.