Skip to content

Commit

Permalink
updating docs based on review feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
traviscosgrave committed Dec 15, 2017
1 parent ffc8487 commit f5e1929
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions builtin/credential/cert/path_certs.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,9 @@ At least one must exist in either the Common Name or SANs. Supports globbing.`,

"required_extensions": &framework.FieldSchema{
Type: framework.TypeCommaStringSlice,
Description: `A comma-separated list of extensions
formatted as "$oid:value". All values much match. Supports globbing on $value.`,
Description: `A comma-separated string or array of extensions
formatted as "oid:value". Expects the extension value to be some type of ASN1 encoded string.
All values much match. Supports globbing on "value".`,
},

"display_name": &framework.FieldSchema{
Expand Down
5 changes: 3 additions & 2 deletions website/source/api/auth/cert/index.html.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,9 @@ Sets a CA cert and associated parameters in a role name.
the client certificate with a [globbed pattern]
(https://github.com/ryanuber/go-glob/blob/master/README.md#example). Value is
a comma-separated list of patterns. Authentication requires at least one Name matching at least one pattern. If not set, defaults to allowing all names.
- `required_extensions` `(string: "")` - Require specific Custom Extension OIDs to exist and match the pattern.
Value is a comma separated list of `oid:glob,oid:glob`. All conditions _must_ be met.
- `required_extensions` `(string: "" or array:[])` - Require specific Custom Extension OIDs to exist and match the pattern.
Value is a comma separated string or array of `oid:value`. Expects the extension value to be some type of ASN1 encoded string.
All conditions _must_ be met. Supports globbing on `value`.
- `policies` `(string: "")` - A comma-separated list of policies to set on tokens
issued when authenticating against this CA certificate.
- `display_name` `(string: "")` - The `display_name` to set on tokens issued
Expand Down

0 comments on commit f5e1929

Please sign in to comment.