Skip to content

Commit

Permalink
Switch to access token.
Browse files Browse the repository at this point in the history
  • Loading branch information
alxdarksage committed Apr 4, 2022
1 parent 522ba8e commit b4d58da
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ public SynapseClient synapseClient() {

SynapseClient synapseClient = new SynapseAdminClientImpl();
synapseClient.setUsername(config.get("synapse.user"));
synapseClient.setApiKey(config.get("synapse.api.key"));
synapseClient.setBearerAuthorizationToken(config.get("synapse.access.token"));
return synapseClient;
}

Expand Down
1 change: 1 addition & 0 deletions src/main/resources/BridgeExporter.conf
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ bridge.worker.password=your-worker-account-here

synapse.user=your-username-here
synapse.api.key=your-api-key-here
synapse.access.token=your-access-token-here
synapse.principal.id=your-principal-id-here

exporter.request.sqs.sleep.time.millis=125
Expand Down

0 comments on commit b4d58da

Please sign in to comment.