Identity Broker Documentation Index
Command-Line Tool Reference Home

sample-data-loader

Description
Subcommands
Arguments

Description

Install sample data for Identity Broker testing and demonstration. Data installed includes example applications, OAuth2 scopes, resources, user consents, and XACML authorization requests. As a prerequisite the tool requires that two users exist in Identity Broker User Store who can be used as consent owners. After installation, the provided sample authorization requests can be sent to Identity Broker PDP endpoint to demonstrate and test policy evaluations.

This tool provides data that can help demonstrate the use of Identity Broker by adding, removing, and testing against pre-defined sample data. See the --help-subcommands option for a list of supported subcommands.

Subcommands

install
remove

install

Install sample data into the Identity Broker


install Arguments

--owner1 {owner1}

Description The uid of the first of two test users that will be used for creating sample data. The user must already exist in the backend user store
Required Yes
Multi-Valued No

--owner2 {owner2}

Description The uid of the second of two test users that will be used for creating sample data. The user must already exist in the backend user store
Required Yes
Multi-Valued No

remove

Remove all sample data from the Identity Broker


Arguments

-V
--version

Description Display Identity Broker version information

-H
--help

Description Display general usage information

--help-debug

Description Display help for using debug options
Advanced Yes

-h {host}
--hostname {host}

Description Identity Broker hostname or IP address
Default Value localhost
Required No
Multi-Valued No

-p {port}
--httpPort {port}

Description Identity Broker HTTP/S port number [Default: from the local Identity Broker configuration]
Required No
Multi-Valued No

-Z
--useSSL

Description Use SSL for secure communication with the server [Default: from the local Identity Broker configuration]

-X
--trustAll

Description Trust all server SSL certificates

-P {trustStorePath}
--trustStorePath {trustStorePath}

Description Certificate trust store path
Required No
Multi-Valued No

--propertiesFilePath {propertiesFilePath}

Description Path to the file that contains default property values used for command-line arguments
Required No
Multi-Valued No

--noPropertiesFile

Description Specify that no properties file will be used to get default command-line argument values

-n
--no-prompt

Description Use non-interactive mode. If data in the command is missing, you will not be prompted and the tool will fail

--adminHostname {host}

Description The Identity Broker Admin service hostname or IP address, if it differs from that of the OAuth service [Default: from the local Identity Broker configuration]
Required No
Multi-Valued No

--adminHttpPort {port}

Description The Identity Broker Admin service HTTP(S) port number, if it differs from that of the OAuth service [Default: from the local Identity Broker configuration]
Required No
Multi-Valued No

-u {authid}
--authId {authid}

Description The administrator or user ID used to authenticate with the server
Required No
Multi-Valued No

-w {password}
--authPassword {password}

Description The administrator or user password used to authenticate with the server
Required No
Multi-Valued No

-j {path}
--authPasswordFile {path}

Description The path to a file containing the administrator or user password used to authenticate with the server
Required No
Multi-Valued No

--authClientID {client_id}

Description The client ID of the internal Identity Broker application, needed by the tool itself to obtain a bearer token to access the server [Default: from the local Identity Broker configuration]
Required No
Multi-Valued No

--authClientSecret {client_secret}

Description The client secret of the internal Identity Broker application, needed by the tool itself to obtain a bearer token to access the server [Default: from the local Identity Broker configuration]
Required No
Multi-Valued No

--privacyHostname {host}

Description The Identity Broker Privacy service hostname or IP address, if it differs from that of the OAuth service [Default: from the local Identity Broker configuration]
Required No
Multi-Valued No

--privacyHttpPort {port}

Description The Identity Broker Privacy service HTTP(S) port number, if it differs from that of the OAuth service [Default: from the local Identity Broker configuration]
Required No
Multi-Valued No

--dry-run

Description Show what would be done but do not perform any operation

--help-subcommands

Description Display all subcommands