Prerequisites
- OpenHound installed with the Okta collector included. The Okta collector is included by default in the OpenHound container image.
- For BloodHound Community Edition, install the OpenHound CLI.
- For BloodHound Enterprise, deploy OpenHound as a container.
- An Okta account with permissions to access the Okta API. See the options below for recommended roles and permissions.
OAuth 2.0 Service Application (Recommended)
Register the OpenHound Okta collector as a service application in Okta. Grant the application limited read-only permissions and configure authentication with an asymmetric RSA public/private key pair.API Token (SSWS)
The OpenHound Okta collector can also authenticate using API tokens (also known as SSWS tokens) associated with specific Okta Super Administrator accounts. This is the least secure option, but the easiest one to set up.Configure OpenHound
The following OpenHound configuration parameters are required to run the Okta collector. These can either be set via the[sources.source.okta.credentials] section of the secrets file or via environment variables using the SOURCES__OKTA__CREDENTIALS prefix.
Option 1: Service Application with JSON Key File
Use this option when you prefer to store the Okta private key in a file. Setprivate_key_path to the path of the complete private key JSON that Okta displays when you generate the key pair.
Example Configuration
secrets.toml
Option 2: Service Application with Base64-Encoded JSON Key String
Use this option when you prefer not to store the Okta private key in a standalone file.
Example Configuration
secrets.toml
private_key_b64 to the base64-encoded contents of the complete private key JSON that Okta displays when you generate the key pair.
The JSON has the following general structure. The values below are placeholders and are not a usable key.
Option 3: API Token (SSWS)
Use this option when you want to authenticate with an API token (SSWS) associated with a specific Okta Super Administrator account.
Example Configuration
secrets.toml