Note: If you are the LUSID domain owner, you are automatically assigned the built-in lusid-administrator role, which has all the permissions necessary to perform the operations in this article.
The principle is as follows:
- Decide whether you want to upload information to your Personal area or to the Shared area.
- Create a configuration set (information bucket) in which to store one or more similar items. For example, you might create a configuration set to store your JIRA credentials.
- Create one or more configuration items and add them to a configuration set. For example, you might create one item for your JIRA username and one item for your JIRA password (which you would store as a secret).
You can use either of the following methods:
- Obtain an API access token.
- Call the CreateConfigurationSet API for your LUSID domain, passing in your API access token and specifying a type of either Personal or Shared, and a scope and code that together uniquely identify the configuration set:
Call the AddConfigurationToSet API, passing in your API access token and nominating the type (personal or shared) and the scope and code of the configuration set to assign the item to. For the configuration item itself, specify a key to uniquely identify the item in the set, a type of either secret or text, and a suitable value. For example, to create a JIRA password as a secret, and assign it to the configuration set created above:
Providing the request is successful, the response contains the ref you need (highlighted in red) to reference this information from within other LUSID ecosystem applications:
- Sign in to the LUSID web app using the credentials of a LUSID administrator.
- From the left-hand menu, select System Settings > Configuration store:
- Select either Personal keys or Shared keys to upload to the appropriate area, and click the Add configuration set button.
- Specify a Scope and Code to uniquely identify the configuration set.
- Specify a Key (at the bottom) to uniquely identify the item within the configuration set, enter appropriate values, and click the Add item button:
- Click the Save button to create the configuration set. You can add more items to the set at any time.