:_mod-docs-content-type: ASSEMBLY
[id="running-entitled-builds"]
= Using Red Hat subscriptions in builds
include::_attributes/common-attributes.adoc[]
:context: running-entitled-builds

toc::[]

[role="_abstract"]
Use the following sections to install Red Hat subscription content within {product-title} builds.

include::modules/builds-create-imagestreamtag.adoc[leveloffset=+1]

include::modules/builds-source-secrets-entitlements.adoc[leveloffset=+1]

== Running builds with Subscription Manager

include::modules/builds-strategy-docker-entitled-subman.adoc[leveloffset=+2]

== Running builds with Red Hat Satellite subscriptions

include::modules/builds-source-input-satellite-config.adoc[leveloffset=+2]

include::modules/builds-strategy-docker-entitled-satellite.adoc[leveloffset=+2]

[role="_additional-resources"]
.Additional resources

* link:https://access.redhat.com/solutions/5847331[How to use builds with Red Hat Satellite subscriptions and which certificate to use]

ifndef::openshift-dedicated,openshift-rosa,openshift-rosa-hcp[]
// Beginning of "Running entitled builds with SharedSecret objects" section

// Tech Preview features are not included in ROSA and OSD. When this feature
// is GA, it should be evaluated for possible inclusion in the OSD and ROSA
// docs.

include::modules/builds-running-entitled-builds-with-sharedsecret-objects.adoc[leveloffset=+1]

// End of "Running entitled builds with SharedSecret objects" section
endif::openshift-dedicated,openshift-rosa,openshift-rosa-hcp[]

[role="_additional-resources"]
== Additional resources

// The following two xrefs are not included in the OSD and ROSA docs.
ifndef::openshift-dedicated,openshift-rosa,openshift-rosa-hcp[]
* xref:../../support/remote_health_monitoring/insights-operator-simple-access.adoc#insights-operator-simple-access[Importing simple content access certificates with {insights-operator}]
* xref:../../nodes/clusters/nodes-cluster-enabling-features.adoc#nodes-cluster-enabling-features[Enabling features using feature gates]
endif::openshift-dedicated,openshift-rosa,openshift-rosa-hcp[]
* xref:../../openshift_images/image-streams-manage.adoc#image-streams-managing[Managing image streams]
* xref:../../cicd/builds/build-strategies.adoc#build-strategies[Build strategies]
