Configure Access Policies for Bulk API
Let's create a new client and an access policy that allows the client to use only bulk API
1
PUT /
2
​
3
- resourceType: Client
4
id: bulk-client
5
secret: secret
6
grant_types: ['basic']
7
​
8
- resourceType: AccessPolicy
9
id: bulk-client-dump
10
engine: matcho
11
matcho:
12
$one-of:
13
- uri: /$dump-sql
14
request-method: post
15
- uri: "#/.*/\\$dumpquot;
16
request-method: get
17
- uri: "#/.*/\\$dump-csvquot;
18
request-method: get
19
- uri:
20
$one-of:
21
- /$import
22
- /fhir/$import
23
request-method: post
24
- uri:
25
$one-of:
26
- /$load
27
- /fhir/$load
28
- "#/.*/\\$loadquot;
29
link:
30
- {id: 'bulk-client', resourceType: 'Client'}
Copied!
Last modified 4mo ago
Copy link