Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(authn): Add subjectPrincipalRegex edit option to x509 command #715

Merged

Conversation

edwinavalos
Copy link
Contributor

@edwinavalos edwinavalos commented Sep 27, 2017

Forgot to make docs for these commands in the last PR so I ran it this time.

Copy link
Contributor

@johnrengelman johnrengelman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor editorial comments

docs/commands.md Outdated
#### Parameters
* `--deployment`: If supplied, use this Halyard deployment. This will _not_ create a new deployment.
* `--no-validate`: (*Default*: `false`) Skip validation.
* `--role-oid`: The OID that encodes roles that the user specified in the x509 certificatebelongs to
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

missing a space on this line between certificate and belongs

docs/commands.md Outdated
* `--deployment`: If supplied, use this Halyard deployment. This will _not_ create a new deployment.
* `--no-validate`: (*Default*: `false`) Skip validation.
* `--role-oid`: The OID that encodes roles that the user specified in the x509 certificatebelongs to
* `--subject-principal-regex`: The regex used to parse the subject principle name embedded in the x509certificate if necessary
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

missing space after x509

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

also principal not principle

@@ -42,13 +42,21 @@
@Parameter(
names = "--role-oid",
description = "The OID that encodes roles that the user specified in the x509 certificate" +
" belongs to"
"belongs to"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should leave the space here otherwise the string runs together.

)
private String roleOid;

@Parameter(
names = "--subject-principal-regex",
description = "The regex used to parse the subject principle name embedded in the x509" +
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

principal not principle

@Parameter(
names = "--subject-principal-regex",
description = "The regex used to parse the subject principle name embedded in the x509" +
"certificate if necessary"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need a space at the beginning so the string doesn't run together.

@edwinavalos edwinavalos merged commit 994fa1b into spinnaker:master Sep 28, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants