Sign in to Next-Gen Trust Security.
Click Insights > Certificate Installations > Machines.
Click New, and then select Google Apigee X.
On the Properties step, in Name, enter a name for the machine.
(Optional) For
Authorized Workspaces, choose the workspaces to share the machine with. Sharing is supported for machines that use credentials you enter directly. To learn what other workspaces can do with a shared machine, see
Sharing Makes a Resource Visible Elsewhere.
For Authentication Method, choose Service Account Key.
Important: Default Credentials (Workload Identity) is selected by default, but don't use it. It signs in with the Google Cloud identity of the host that runs the connector, and the connector runs in Next-Gen Trust Security, which has no Google Cloud identity in your project.
In Service Account Key, paste the entire contents of the service account's JSON key file. Next-Gen Trust Security accepts only Google Cloud service account keys (key type service_account) for googleapis.com.
Note: Next-Gen Trust Security encrypts the credentials you enter and doesn't display them again. On the machine's Properties tab, they appear masked. To keep a stored credential when you edit the machine, leave its masked value unchanged. Keep your own secure record of the credentials in case you need them again.
In Apigee Organization, enter the name of the Apigee organization to manage. The name must start with a lowercase letter or digit, contain only lowercase letters, digits, and hyphens, and be at most 63 characters long.
In Google Cloud Project ID, enter the ID of the Google Cloud project that hosts the Apigee organization.
(Optional) In Environments, enter a comma-separated list of the Apigee environments to manage, for example prod, test. Leave it empty to manage all environments in the organization.
Discovery and provisioning both respect this list. Next-Gen Trust Security ignores names that don't exist in the organization, and it rejects provisioning to an environment that isn't in the list.
Click Test Access. After the connection succeeds, click Continue. The Discovery step opens.
Note: The test reads the Apigee organization. It fails if the key or the organization name is wrong, or if the service account lacks the apigee.organizations.get permission. The test doesn't report why it failed, so check each of these. A successful test doesn't confirm the permissions that discovery and provisioning need.
(Optional) To skip certificates that have already expired, enable Exclude Expired Certificates.
For each environment, discovery reads the deployed configuration: its keystores and aliases, references, and target servers. It finds each certificate that meets the conditions in
Before You Begin and records the keystore, alias, target server, and reference that use it.
(Optional) To discover certificates on a schedule, enable Schedule. For Repeat every, choose Day, Week, or Month, and then in At, enter the time. For Week, select the days of the week. For Month, enter the days in Day of month. Times are in Coordinated Universal Time (UTC).
Click Continue. The Provisioning step opens.
(Optional) To provision certificates on a schedule, enable Schedule. For Repeat every, choose Day, Week, or Month, and then in At, enter the time. For Week, select the days of the week. For Month, enter the days in Day of month. Times are in Coordinated Universal Time (UTC).
Scheduled provisioning pushes only certificates that are queued for deployment, such as renewed certificates, so renewals install during the window you choose.
Click Finish.