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

Issue 1445 vaultdefaultlease #1446

Closed

Conversation

nritholtz
Copy link
Contributor

@nritholtz nritholtz commented Jan 19, 2021

Add support for vault default_lease_duration

Addresses #1445

Wanted to get the conversation going, so I am definitely OK with making changes.

@hashicorp-cla
Copy link

hashicorp-cla commented Jan 19, 2021

CLA assistant check
All committers have signed the CLA.

@nritholtz nritholtz changed the title Issue 1443 vaultdefaultlease Issue 1445 vaultdefaultlease Jan 19, 2021
@vfoucault
Copy link
Contributor

vfoucault commented Feb 24, 2021

Definitively what I was looking for !
In time, it will be a big deal to wait 5 * time.Minute before each path discovery ! Can't wait for this to be released.

GG.

@eikenb
Copy link
Contributor

eikenb commented Feb 25, 2021

Thanks for the PR @nritholtz and for chiming in @vfoucault!

We've been focused on the development of a new project and are preparing for it's initial release. Once out we'll have more time for our other projects again and we'll get these PRs reviewed.

@@ -852,6 +852,9 @@ func (r *Runner) init() error {
}
log.Printf("[DEBUG] (runner) final config: %s", result)

//Set VaultDefaultLeaseDuration
dep.VaultDefaultLeaseDuration = config.TimeDurationVal(r.config.Vault.DefaultLeaseDuration)
Copy link
Contributor

Choose a reason for hiding this comment

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

Not a huge fan of using a module/global variable for this but there is no other good place for now. That is I'm considering this OK for the merge but will probably want to revisit this later... maybe when I port it to hashicat.

Consider this more an internal note to myself than anything that needs to be changed here.

README.md Show resolved Hide resolved
@eikenb eikenb added hashicat-update-required Changes that need to be ported to hashicat waiting-reply labels Apr 23, 2021
@eikenb
Copy link
Contributor

eikenb commented May 26, 2021

I had to do the PR locally and worked on it there such that github doesn't recognize it as this PR.

Closing with manually merged.

@eikenb eikenb closed this May 26, 2021
@eikenb eikenb added this to the 0.26.0 milestone May 26, 2021
@eikenb eikenb added the hashicat-update-complete Completed porting changes to hashicat label Nov 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement hashicat-update-complete Completed porting changes to hashicat hashicat-update-required Changes that need to be ported to hashicat
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants