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

Accessor paths for lookup and revocation of tokens #1188

Merged
merged 20 commits into from Mar 9, 2016
Merged

Conversation

vishalnayak
Copy link
Member

API documentation and Tests pending. Do Not Merge.

@@ -28,6 +28,7 @@ type Secret struct {
// SecretAuth is the structure containing auth information if we have it.
type SecretAuth struct {
ClientToken string `json:"client_token"`
AccessorID string `json:"accessor_id"`
Copy link
Member

Choose a reason for hiding this comment

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

I know this is going to be an annoying code change, but...I don't like "AccessorID". I used "Accessor" in the RFC because it's a noun; calling it an AccessorID means that it's an ID of the accessor, which is not what it is. "AccessID" could work, but I preferred Accessor over AccessID because AccessID could be confused as the actual important value (a value to "access Vault").

Copy link
Member Author

Choose a reason for hiding this comment

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

Not an annoying change :) I'll do it.

@jefferai
Copy link
Member

jefferai commented Mar 9, 2016

Looking pretty good, left a few comments.

@vishalnayak vishalnayak changed the title AccessorID paths for lookup and revocation of tokens Accessor paths for lookup and revocation of tokens Mar 9, 2016
@jefferai
Copy link
Member

jefferai commented Mar 9, 2016

LGTM!

vishalnayak added a commit that referenced this pull request Mar 9, 2016
Accessor paths for lookup and revocation of tokens
@vishalnayak vishalnayak merged commit c2d8536 into master Mar 9, 2016
@vishalnayak vishalnayak deleted the token-accessors branch March 9, 2016 20:38
rajanadar added a commit to rajanadar/VaultSharp that referenced this pull request Aug 30, 2016
rajanadar added a commit to rajanadar/VaultSharp that referenced this pull request Aug 31, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants