-
-
Notifications
You must be signed in to change notification settings - Fork 135
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
Missing information from lookup-self #18
Comments
thanks @Ginja for crisply calling out the expected vs. actual. was thrown off by Vault's documentation site showing the following stale format. have sent a PR for the Vault team as well. |
Thanks for such a quick fix, @rajanadar! I haven't tested anything yet, but just looking at your changes (note, I am rusty with C#). Would it still return the Token ID underneath the |
The TokenAccessorInfo itself has a base class TokenInfo, which has the Id field along with some others. |
Right! Missed that. Thanks again. |
@Ginja VaultSharp 0.6.4 is now live. please go get it to see this fix! |
Sorry I should have posted back. Once you merged it, I forked your repo, built the latest solution, & manually referenced it in my project. Works beautifully! Thank you for the quick response. |
very cool. |
From my testing it appears the data returned from running
await this.Client.GetCallingTokenInfoAsync();
should include the token's accessor, ttl, & creation time underneath its Data field:What's available now:
What's returned via the
lookup-self
API:The text was updated successfully, but these errors were encountered: