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

Support batch tokens in renewer and caching proxy for transit auto-unseal #7441

Merged
merged 8 commits into from
Sep 9, 2019

Conversation

jefferai
Copy link
Member

@jefferai jefferai commented Sep 6, 2019

This is a series of small changes.

The first makes api.Renewer work properly with batch tokens. It will not attempt to renew them, and instead will simply exit when it is time to reauthenticate, using the same logic to calculate that time as service tokens.

The others make it possible to use agent's caching proxy with Transit auto unseal. This includes allowing token to be passed in, and not trying to start a renewer if no token is passed in.

@jefferai jefferai added this to the 1.2.3 milestone Sep 6, 2019
@jefferai jefferai requested review from kalafut and calvn September 6, 2019 13:55
api/renewer.go Outdated Show resolved Hide resolved
@jefferai jefferai merged commit 9ee93b6 into master Sep 9, 2019
@jefferai jefferai deleted the batch-renewer branch September 9, 2019 19:58
jefferai added a commit that referenced this pull request Sep 9, 2019
…seal (#7441)

Currently this uses a fork of the api.Renewer code, which we should consolidate in 1.3.
jefferai added a commit that referenced this pull request Sep 9, 2019
…seal (#7441) (#7454)

Currently this uses a fork of the api.Renewer code, which we should consolidate in 1.3.
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.

2 participants