Hanzo
PlatformHanzo IAMIntegrationsJava

Apache IoTDB

Using Hanzo IAM with Apache IoTDB

Hanzo IAM can easily connect to Apache IoTDB.

Apache IoTDB Web Workbench already includes Hanzo IAM support. Configure the backend application.yml and enable the front-end switch.

Step 1: Deploy Hanzo IAM

Deploy Hanzo IAM. See Server installation. Ensure the server is running and you can sign in at the Hanzo IAM login page.

Step 2: Configure Hanzo IAM

Create an organization and an application in Hanzo IAM (see Application and Organization).

2.1 Create an organization

organization

2.2 Create an application

application

Step 3: Activate Apache IoTDB Web Workbench front-end switch

Open this switch to send the code and state to the back-end.

This switch can be found in iotdb-web-workbench/fronted/.env file.

frontSwitch

Step 4: Configure the back-end code

Configure Hanzo IAM in iotdb-web-workbench/backend/src/main/resources/application.properties.

iam.endpoint = http://localhost:8000
iam.clientId = <client id from previous step>
iam.clientSecret = <client secret from previous step>
iam.certificate=<client certificate from previous step>
hanzo.aianizationName=IoTDB
iam.applicationName=app-IoTDB

## Result

![result](/img/integration/java/IoTDB/iotdb.gif)

How is this guide?

Last updated on

On this page