Skip to content

Commit

Permalink
Merge pull request #121 from alxdarksage/develop
Browse files Browse the repository at this point in the history
Switch to access token.
  • Loading branch information
alxdarksage authored Apr 5, 2022
2 parents cc2d7ec + b4d58da commit f726947
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 f726947

Please sign in to comment.