+
+ By default, Tower collects and transmits analytics data on Tower usage
+ to Red Hat. There are two categories of data collected by Tower. For
+ more information, see{' '}
+
+ . Uncheck the following boxes to disable this feature.
+
+
+
+ Upload a Red Hat Subscription Manifest containing your
+ subscription. To generate your subscription manifest, go to{' '}
+ {' '}
+ on the Red Hat Customer Portal.
+
+
+
+
+ A subscription manifest is an export of a Red Hat
+ Subscription. To generate a subscription manifest, go to{' '}
+
+ . For more information, see the{' '}
+
+ .
+
+ >
+ }
+ />
+ }
+ >
+ manifestHelpers.setError(true),
+ }}
+ onChange={(value, filename) => {
+ if (!value) {
+ manifestHelpers.setValue(null);
+ manifestFilenameHelpers.setValue('');
+ usernameHelpers.setValue(usernameMeta.initialValue);
+ passwordHelpers.setValue(passwordMeta.initialValue);
+ return;
+ }
+
+ try {
+ const raw = new FileReader();
+ raw.readAsBinaryString(value);
+ raw.onload = () => {
+ const rawValue = btoa(raw.result);
+ manifestHelpers.setValue(rawValue);
+ manifestFilenameHelpers.setValue(filename);
+ };
+ } catch (err) {
+ manifestHelpers.setError(err);
+ }
+ }}
+ />
+
+ >
+ ) : (
+ <>
+
+ {i18n._(t`Provide your Red Hat or Red Hat Satellite credentials
+ below and you can choose from a list of your available subscriptions.
+ The credentials you use will be stored for future use in
+ retrieving renewal or expanded subscriptions.`)}
+