Waldemar Quevedo
625dd18974
Add support for SPIFFE x.509 SVIDs for auth
This can be enabled by using `verify_and_map`.
```
tls {
cert_file: "server.pem"
key_file: "server.key"
ca_file: "ca.pem"
timeout: 5
verify_and_map: true
}
authorization {
users = [
{
user = "spiffe://localhost/my-nats-service/user-a"
},
{
user = "spiffe://localhost/my-nats-service/user-b",
permissions = { subscribe = { deny = ">" }}
},
]
}
```
Signed-off-by: Waldemar Quevedo <wally@synadia.com>
2020-05-27 13:10:42 -07:00
..
2020-05-13 23:29:11 +02:00
2019-10-15 23:55:13 +08:00
2020-05-19 14:15:11 -07:00
2020-05-19 14:26:46 -07:00
2020-05-19 16:38:19 -07:00
2018-08-22 20:41:48 -07:00
2020-05-27 13:10:42 -07:00
2020-03-18 10:09:23 -06:00
2020-05-21 12:15:20 -06:00
2020-05-25 06:58:23 -07:00
2019-12-04 17:04:58 -07:00
2019-11-21 14:32:46 -07:00
2020-05-19 16:44:42 -07:00
2020-05-26 09:01:04 -07:00
2020-02-25 19:53:09 -05:00
2020-05-19 14:33:06 -07:00
2020-05-19 14:26:46 -07:00
2020-05-22 15:20:16 +02:00
2020-05-20 15:23:39 -07:00
2020-05-26 09:01:04 -07:00
2020-05-25 06:58:23 -07:00
2020-05-22 13:01:17 -06:00
2020-05-22 15:20:16 +02:00
2020-05-22 16:08:44 +02:00
2020-05-25 12:17:18 -07:00
2020-05-20 13:54:56 -06:00
2020-05-19 15:39:18 -04:00
2020-05-25 06:58:23 -07:00
2020-05-22 15:26:04 -06:00
2020-03-02 20:10:15 -05:00
2020-03-04 13:54:15 -05:00
2020-05-19 14:21:27 -07:00
2020-05-19 14:33:06 -07:00
2019-05-06 15:41:38 -07:00
2020-05-13 23:29:11 +02:00
2020-05-20 11:14:39 -06:00
2019-12-12 11:58:24 -07:00
2018-12-06 15:09:14 -08:00
2020-05-25 06:58:23 -07:00
2020-05-21 11:37:53 -04:00
2020-05-27 16:22:47 +02:00
2020-05-19 14:33:06 -07:00
2020-05-19 14:33:06 -07:00
2019-05-10 15:11:30 -07:00
2020-05-25 06:58:23 -07:00
2020-05-20 11:14:39 -06:00
2018-10-06 14:06:14 -07:00
2020-03-23 12:25:51 -04:00
2020-05-21 12:15:20 -06:00
2020-05-25 06:58:23 -07:00
2020-05-24 11:38:49 -06:00
2020-05-26 11:37:59 -06:00
2018-03-15 22:31:07 -07:00
2019-11-14 20:05:32 -07:00
2018-03-15 22:31:07 -07:00
2019-06-03 19:45:47 -06:00
2019-11-14 20:05:32 -07:00
2019-11-14 20:05:32 -07:00
2019-12-12 11:58:24 -07:00
2020-05-19 14:33:06 -07:00
2020-05-22 16:08:44 +02:00
2020-05-19 14:33:06 -07:00
2020-05-19 14:33:06 -07:00
2018-12-02 20:34:33 -08:00
2020-05-19 14:16:03 -07:00
2020-05-20 11:14:39 -06:00
2020-05-25 06:58:23 -07:00
2020-05-20 11:14:39 -06:00