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

Token Role Functions #10

Open
wants to merge 13 commits into
base: master
Choose a base branch
from
Open

Token Role Functions #10

wants to merge 13 commits into from

Conversation

thesmall
Copy link
Member

PR Summary

Adds support for functions that can be used to interact with Token Roles.

Context

These changes continue to build out the utility of the module.

Changes

  • Organizes some token-related functions into sub-folders (accessors, authentication, and roles).
  • Adds support for interacting with token roles: creating, reading, updating, listing and deleting token roles.
  • Adds SupportsShouldProcess to New- and Update- token role functions.
  • Adds a header to the list of functions for policy management.

Ben Small added 11 commits October 14, 2019 08:55
Adds functions for listing, getting, updating, creating and deleting policies.
Adds a function for generating policy documents.
Adds a private function for deriving a specified TTL in seconds, given a string-formatted TTL that Vault recognizes.
Increments psVaultUtils to 1.5.0.
Adds new functions and aliases to the manifest file, and adds new aliases to the module file.
Adds support for formatting objects containing policy information to Format-VaultOutput.
Adds functions Show-VaultKVSecret and Show-VaultTokenAccessor, which could previously not be created due to a lack of knowledge around how to query endpoints that utilize the LIST method, which Invoke-RestMethod does not support.
Updates the README with this information, noting the PowerShell limitation of not being able to use LIST method.
Updates the README with information about Show --> List aliasing.
Updates the module/manifest file with new functions/aliases.
…n roles and functions used for authentication.
…le. Tweaks the wording for SupportsShouldProcess.
'Get-VaultLoginToken'
'Set-VaultLoginToken'

#Token Management
'Get-VaultToken'
'New-VaultToken'
'New-VaultWrappedToken'
'Revoke-VaultToken'
'Show-VaultTokenRole'

Choose a reason for hiding this comment

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

Did you want to remove this line since you reference it in the section below?

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.

3 participants