open-vault/builtin/credential/cert
joe miller d39ffc9e25 add allowed_organiztaional_units parameter to cert credential backend (#5252)
Specifying the `allowed_organiztaional_units` parameter to a cert auth
backend role will require client certificates to contain at least one of
a list of one or more "organizational units" (OU).

Example use cases:

Certificates are issued to entities in an organization arrangement by
organizational unit (OU). The OU may be a department, team, or any other logical
grouping of resources with similar roles. The entities within the OU
should be granted the same policies.

```
$ vault write auth/cert/certs/ou-engineering \
    certificate=@ca.pem \
    policies=engineering \
    allowed_organiztaional_units=engineering

$ vault write auth/cert/certs/ou-engineering \
    certificate=@ca.pem \
    policies=engineering \
    allowed_organiztaional_units=engineering,support
```
2018-09-27 19:04:55 -05:00
..
test-fixtures add allowed_organiztaional_units parameter to cert credential backend (#5252) 2018-09-27 19:04:55 -05:00
backend.go Add context to storage backends and wire it through a lot of places (#3817) 2018-01-19 01:44:44 -05:00
backend_test.go add allowed_organiztaional_units parameter to cert credential backend (#5252) 2018-09-27 19:04:55 -05:00
cli.go Spelling (#4119) 2018-03-20 14:54:10 -04:00
path_certs.go add allowed_organiztaional_units parameter to cert credential backend (#5252) 2018-09-27 19:04:55 -05:00
path_config.go Errwrap everywhere (#4252) 2018-04-05 11:49:21 -04:00
path_crls.go Errwrap everywhere (#4252) 2018-04-05 11:49:21 -04:00
path_login.go add allowed_organiztaional_units parameter to cert credential backend (#5252) 2018-09-27 19:04:55 -05:00