-
Notifications
You must be signed in to change notification settings - Fork 13
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
Add Secret Engine for LDAP #119
Conversation
de7dd80
to
738edbc
Compare
…nchmark into ldap-secret-engine-v2
benchmarktests/target_secret_ldap.go
Outdated
}, | ||
}, | ||
} | ||
|
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.
Missing error message for environment variable and config not set, error out.
@ltcarbonell This implementation looks to only be the dynamic credentials api for the secret engine (https://developer.hashicorp.com/vault/api-docs/secret/ldap#dynamic-role-passwords) but this secret engine also supports static roles (https://developer.hashicorp.com/vault/api-docs/secret/ldap#static-roles). I think we need to change the name of some structs and docs to call this out. |
func (r *LDAPStaticSecretTest) Setup(client *api.Client, randomMountName bool, mountName string) (BenchmarkBuilder, error) { | ||
var err error | ||
secretPath := mountName | ||
r.logger = targetLogger.Named(LDAPDynamicSecretTestType) |
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.
should this be static?
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.
Yeah let me add this
Co-authored-by: Ellie <ellie.sterner@hashicorp.com>
Adds the LDAP secret engine benchmark tests