Show Table of Contents
3.2. Activating a subscription with an activation key in the command line
An on-premise application can pre-configure subscriptions to use for a system, and that pre-configured set of subscriptions is identified by an activation key. That key can then be used to attach those subscriptions on a local system.
- Install the configuration RPM or manually configure Subscription Manager to point to the subscription application. For example:
[root@server ~]# rpm -ivh http://sam.example.com/pub/candlepin-cert-consumer-latest.noarch.rpm
- Run the register command with the --activationkey parameter to attach the configured subscriptions:
# subscription-manager register --username=jsmith --password=secret --org="IT Dept" --activationkey=abcd1234

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.