-
Notifications
You must be signed in to change notification settings - Fork 325
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Credential Provisioning for SFT authentication (#3915)
- Loading branch information
1 parent
d161579
commit 10aefd6
Showing
26 changed files
with
580 additions
and
174 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
There is a new optional Boolean option, `multiSFT.enabled`, in `brig.yaml`, | ||
allowing calls between federated SFT servers. If provided, the field | ||
`is_federating` in the response of `/calls/config/v2` will reflect | ||
`multiSFT.enabled`'s value. | ||
|
||
Example: | ||
|
||
``` | ||
# [brig.yaml] | ||
multiSFT: | ||
enabled: true | ||
``` | ||
|
||
Also, the optional object `sftToken` with its fields `ttl` and `secret` define | ||
whether an SFT credential would be rendered in the response of | ||
`/calls/config/v2`. The field `ttl` determines the seconds for the credential to | ||
be valid and `secret` is the path to the secret shared with SFT to create | ||
credentials. | ||
|
||
Example: | ||
|
||
``` | ||
# [brig.yaml] | ||
sft: | ||
sftBaseDomain: sft.wire.example.com | ||
sftSRVServiceName: sft | ||
sftDiscoveryIntervalSeconds: 10 | ||
sftListLength: 20 | ||
sftToken: | ||
ttl: 120 | ||
secret: /path/to/secret | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,6 +33,8 @@ data: | |
host: spar | ||
port: 8080 | ||
multiSFT: false | ||
# TODO remove this | ||
federator: | ||
host: federator | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.