Closed szh closed 2 years ago
@jdumas I'd love to hear your input on this since you were the one behind #324. Does this solve your use case? Are you able to test this locally and see if it works for you?
Sorry I'm not using Conjur much these days, so I won't be able to test this for a while :(
Depends on #410, https://github.com/cyberark/conjur-api-python/pull/23
Desired Outcome
The
conjur init
command should support LDAP authentication. It should be possible to specify the authentication type using the-t
or--authn-type
option. The default value should beauthn
(same as current), and it should additionally supportldap
. When usingldap
, a--service-id
option should be mandatory. If the--service-id
option is specified, then--authn-type
should default toldap
.The CLI implementation should be straightforward. It needs to support the new CLI arguments in the
init
command, and it will need to pass them to the conjur-api-python library.Create new and update existing unit and integration tests.
Implemented Changes
Connected Issue/Story
Resolves #264, #324
CyberArk internal issue link: ONYX-20431
Definition of Done
conjur init
supports--authn-type
and--service-id
parametersChangelog
Test coverage
Documentation
README
s) were updated in this PRBehavior
Security