Info |
---|
This article explains how to set up the Cloudaware application in ServiceNow. Cloudaware extends the Configuration Item table in ServiceNow with additional cloud inventory data. |
...
c) Go back to setting up the JWT key. In Signing Keystore, click the magnifier icon (Lookup using list) and select the certificate Google JWT Certificate in a pop-up window.
...
Click Submit.
2. Сreate Set up JWT Provider.
Go to All → System OAuth → JWT Providers:
...
WHERE
Name: set up a meaningful name, e.g. Google JWT Provider
Signing Configuration: click the magnifier icon (Lookup using list) and select the configured Google JWT Key from the list
...
Click on the name of the JWT provider (in this example, Google JWT Provider) to drill down into details. edit settings.
Select the tab 'Standard Claims'. Add the following claims:
iss - string - Service Account email address provided by Cloudaware
sub - string - Service Account email address provided by Cloudaware
aud - string - https://oauth2.googleapis.com/token
...
Click Update.
3. Сreate Set up Application Registry:
Go to All → System OAuth → Application Registry.
...
Click New → select 'Connect to a third party OAuth Provider' from the list.
Fill out the form:
...
WHERE
Name: set up a meaningful name, e.g. … Google JWT
Client ID: set up as notneeded
Client secret: set up as notneeded
Default Grant type: select 'JWT Bearer' from the list
Token: click the lock icon to insert https://oauth2.googleapis.com/token → click the lock icon again to save.
Default grant type: select 'JWT Bearer' from the list
Click Submit.
Click on the name of OAuth Entity Profile (in this example, Google JWT default_profile) .
<…>
In to edit settings:
...
Next to the JWT Provider, click the magnifier icon (Lookup using list) and select 'the Google JWT Provider' from the list.<…>
Click Update.
4. Go back to JWT Providers. Select the configured Google JWT Provider from the list.
Select the tab 'Custom Claims'. Add a new claim: scope - string - https://www.googleapis.com/auth/bigquery.readonly
...
Click Update.
5. Create Connection:. Set up Credentials.
Go to All → Connections & Credentials → Credentials.
...
Click New .<…>
Select → select 'Auth 2.0 Credentials' from the list. For the oAuth Entity Profile, select 'Google JWT Profile' that was created earlier. Using the right-click on the upper part of the page, select Save.
<…>Fill out the form:
...
WHERE
Name: set up a meaningful name, e.g. Google JWT Credentials
OAuth Entity Profile: select the configured OAuth Entity Profile (in this example, Google JWT default_profile)
Click Update.
Click Get OAuth Token to test the connection.
Go to All → Connections & Credentials Aliases. Click New.
Set the name alias as 'Google JWT ' and save it by right-clicking on the upper grey menu.
...
In the table section that appears below, click New to create a HTTP(s) Connection.
...
Fill out the form:
...
WHERE
Name: set up a meaningful name, e.g. Google JWT Connection
For Credential, : select Google JWT Credentials record created earlier. from the list
Check the box 'URL builder - in Host input '. Insert the link http://bigquery.googleapis.com; in Base path input the link - in 'Host'; insert /bigquery/v2/
Save in 'Base path’.
Click Submit.
Install the Cloudaware application
...