Skip to content

Commit

Permalink
Fix for #55
Browse files Browse the repository at this point in the history
  • Loading branch information
robmoffat committed Sep 10, 2020
1 parent 1fc384a commit 44411be
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion symphony-api-spring-boot-starter/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,23 @@ This will be loaded into a bean called `botIdentity` of class `SymphonyIdentity`

You can control whether the bot is authenticated with RSA or certificates using `symphony.bot.auth-with=RSA|CERT`.

### Step 5: Dependency Injection
### Step 5: Trust Store Configuration (Optional)

If you want to add a trust store for the bot to use, configure it in the YAML like this:

```
symphony:
trust-store:
location: classpath:/some-file.crt
type: PEMS / JKS / PKCS12
password: optional
```

Where `location` is a spring resource location, starting with `classpath:` or `file:`, and `type` is the type of file, one of `PEMS`, `JKS` or `PKCS12`.
If you don't supply the trust store, Java's main one is used instead.

### Step 6: Dependency Injection

You can now build a really simple spring component like so:

Expand Down

0 comments on commit 44411be

Please sign in to comment.