-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Allow Vault Agent to run as a Windows service #10231
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TIL. This is pretty cool, thanks for working on this!
One comment/suggestion but otherwise looks good.
type serviceWindows struct{} | ||
|
||
func init() { | ||
interactive, err := wsvc.IsAnInteractiveSession() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like this func is deprecated, and the recommendation is to use IsWindowsService
instead. Found an example of the usage in here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, good catch, thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It turns out IsWindowsService
hasn't been released yet. I updated this PR to use it and it won't compile, even with go 1.15.4. I'm going to revert that change.
b4cdb72
to
3b74e04
Compare
@raskchanky Looks like CI is not happy that the package is not vendored.
|
c3c9cd7
to
901c78b
Compare
CHANGELOG.md
Outdated
@@ -955,7 +960,7 @@ KNOWN ISSUES: | |||
* OSS binaries of 1.5.1, 1.4.4, 1.3.8, and 1.2.5 were built without the Vault UI. Enterprise binaries are not affected. | |||
* AWS IAM logins may return an error depending on the headers sent with the request. | |||
For more details and a workaround, see the [1.2.5 Upgrade Guide](https://www.vaultproject.io/docs/upgrading/upgrade-to-1.2.5) | |||
|
|||
BUG FIXES: | |||
* seal: (enterprise) Fix issue causing stored seal and recovery keys to be mistaken as sealwrapped values | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Apologies for the spam in this file. My editor is configured to strip all trailing whitespace on save.
489d4b5
to
c134d6b
Compare
f23b1b6
to
7ec84a4
Compare
Closes #7609