Step by step
1
Choose what the partner works with
The API field is the
field of a scope entry; the Console shows the name in the first column.Each value is the ID that Lerian STA returns when you create the credential.The scope catalog lists the Lerian STA restriction. Read it with Retrieve a productβs scope catalog for
br-sta.Some rules apply to every scope:- A request that does not name an STA credential is refused. For example, a partner cannot list the credentials, the transfers or the inbound sources of your installation.
- A query that lists several credentials is refused when any one of them is outside the scope.
2
Give the partner its permissions and scope
Create the partner, or change it, in the Console or with the Identity API. The product slug is
br-sta.- Add at least one scope entry for Lerian STA. Without one, Access Manager refuses the partner with
400andIDE-1060. - Check the resources and actions. The most you can give is what the editor role of
br-staholds in your tenant.
400 and IDE-1056 (a write) or IDE-1052 (a read no request of the partner can reach). The Console marks the line Outside the scope. In Lerian STA, these are creating STA credentials, reading, retrying and cancelling transfers, marking an inbound transfer urgent, reading, changing, deleting and polling inbound sources, the audit exports and the runtime configuration.The permissions a partner can receive are credentials with credentials:read, credentials:update, credentials:delete, credentials:test and credentials:rotate; transfers with transfers:create; inbound-source-configs with inbound-source-configs:create; and audit with audit:read.3
Create its Lerian STA application
Create the partnerβs application with the product
br-sta. See Create the partnerβs applications in the API guide, or in the Console. Send the client ID and the client secret to the partner through a secure channel.4
Tell the partner how to name its credentials
On the credential routes the STA credential is already in the path. On the others, the partner names it in the body or the query that Lerian STA already has.
5
Confirm that it works
This check assumes the partner has the Send the same request with an STA credential outside the scope. The answer is
credentials resource with the credentials:read action on Lerian STA, and a scope with one STA credential. Use the partnerβs credential. Read the STA credential in its scope. The answer is 200:403. To see the code, drop -o /dev/null: the response body carries STA-0004.If something fails
The answer does not say whether the permissions or the scope refused the request. This is on purpose: a partner cannot use a refusal to learn which credentials exist outside its scope.
For every other code, see the Lerian STA error list. For the refusals when you create or change a partner, see Error codes in the API guide.

