Configuring security

From the web console, we can click on the previously configured UAA, and then on Open Service Instance. We will then be redirected to the management console of UAA. Please take note of the URL of UAA at the bottom of the page. The URL should be have the following format:

https://<UUID provided>.predix-uaa.run.aws-usw02-pr.ice.predix.io

For example, it might look as follows:

https://1ee56fd2-4d8a-48dc-b629-d1b6b48749c7.predix-uaa.run.aws-usw02-pr.ice.predix.io

The following is the UAA user interface:

 UAA web configuration interface

We need to configure a client to access our time-series and ingest the data. From the UAA console, we have to add a new client by providing their username and password, and then add the services that they are authorized for, as follows:

Configuration of the client

We also have to authorize access to the TSDB. We have to take note of the zonesId parameter. The zonesId is defined as the ID of your partition on the Predix TSDB.

In the scopes and authorities or spaces, we have to add the following:

timeseries.zones.<your zonesId>.ingest
timeseries.zones.<your zonesId>.query
timeseries.zones.<your zonesId>.user

Replace <your zonesId> with the zone's UUID, which was annotated in the previous step.

Take note of the zonesId of Predix TS, the UAA URL, the client ID, and the client password.

We now have to create a user to log into our application:

Creating a new user with the right privileges
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset