Set up an Elastic connector
Capabilities
Sync user identities from Elastic to ConductorOne
Resources supported:
- Organizations
- Deployment users (optional)
- Deployment roles (optional)
- Role mappings
Provisioning supported:
- Deployment role assignments
Add a new Elastic connector
This task requires either the Connector Administrator or Super Administrator role in ConductorOne.
In ConductorOne, click Connectors > Add connector.
Search for Elastic and click Add.
Choose how to set up the new Elastic connector:
Add the connector to a currently unmanaged app (select from the list of apps that were discovered in your identity, SSO, or federation provider that aren’t yet managed with ConductorOne)
Add the connector to a managed app (select from the list of existing managed apps)
Create a new managed app
Do you SSO into Elastic using your identity, SSO, or federation provider? If so, make sure to add the connector to the unmanaged Elastic app that was created automatically when you integrated your provider with ConductorOne, rather than creating a new managed app.
Set the owner for this connector. You can manage the connector yourself, or choose someone else. Setting multiple owners is allowed.
A Elastic connector owner must have the following permissions:
- Connector Administrator or Super Administrator role in ConductorOne
- Organization owner role in Elastic Cloud
- Click Next.
Next steps
If you are the connector owner, proceed to Configure your Elastic connector.
If someone else is the connector owner, ConductorOne will notify them by email that their help is needed to complete the setup process.
Configure your Elastic connector
A user with the Connector Administrator or Super Administrator role in ConductorOne and the Organization owner role in Elastic must perform this task.
Step 1: Generate an Elastic Cloud API key
In the Elasticsearch Service Console, click your avatar in the upper right corner and select Organization.
Navigate to the API keys tab and click Create API key.
Give the new API key a name, such as “ConductorOne integration”.
Select an expiration for the API key.
In the Assign roles area, give the API key the Organization owner role.
Click Create API key.
Carefully and copy and save the new API key. We’ll use it in Step 3.
(Optional) Step 2: Generate an Elastic deployment API key and look up the deployment’s endpoint
The credentials generated in this step are required for ConductorOne to sync information on Elastic deployment users and deployment roles, and to provision Elastic deployment role assignments. If you do not want to sync or provision deployment users or deployment roles, skip ahead to Step 3.
Back on the Elasticsearch Service Console homepage, find the Hosted deployments area of the page and click the name of the deployment you want to integrate.
On the deployment’s page, click Manage permissions.
In the sidebar, click API keys > Create API key.
Give the new API key a name, such as “ConductorOne deployment info integration”.
Select the Personal API key option.
Click Create API key.
Carefully and copy and save the new API key. We’ll use it in Step 3.
We also need to look up the deployment’s Elasticsearch endpoint. Click the Elastic logo to return to your deployment’s home page.
Click Add integrations.
In the upper right corner of the screen, click Connection details.
Carefully copy and save the Elasticsearch endpoint. We’ll use it in Step 3.
Step 2: Add your Elastic credentials to ConductorOne
In ConductorOne, navigate to the Elastic connector by either:
Clicking the Set up connector link in the email you received about configuring the connector.
Navigate to Connectors > Elastic (if there is more than one Elastic listed, click the one with your name listed as owner and the status Not connected).
Find the Settings area of the page and click Edit.
Paste the API key you generated in Step 1 into the API key field.
Optional. If you completed Step 2, paste the credentials you generated into the Deployment API key and Deployment endpoint fields.
Optional. By default, ConductorOne will sync information about all users in all organizations. If you want to limit the sync to a single organization, paste that organization’s ID into the Organization ID field.
Click Save.
The connector’s label changes to Syncing, followed by Connected. View the logs to ensure that information is syncing.
That’s it! Your Elastic connector is now pulling access data into ConductorOne.
Configure the Elastic integration using Terraform
As an alternative to the integration process described above, you can use Terraform to configure the integration between Elastic and ConductorOne.
See the ConductorOne Elastic integration resource page in the ConductorOne Terraform registry for example usage and the full list of required and optional parameters.