Closed izgeri closed 4 years ago
@sgnn7 / @JakeQuilty I added you both here the same as in the Java card, for @JakeQuilty to review the functionality available and @sgnn7 to review the tech debt.
@JakeQuilty if you run into issues using this with Conjur OSS, please let us know right away (before continuing to profile)
I've updated the post and I'll start opening up issues for those now.
REVIEWING ca-conjur-api-dotnet-v5-master BRANCH
Review this repo and document items in the following categories with links to filed issues.
In addition, document succinctly whether this integration works with Conjur OSS / DAP and what methods are supported.
Supported flows
Note which flows are supported, and next to each that is supported note the method name. We can use this to improve the README documentation.
conjur list
)Methods
Client
Client Client(uri, account)
LogIn(string userName, string password)
TrustedCertificates.ImportPem (string certPath)
<Client>.Credential = new NetworkCredential(string userName, string apiKey)
IEnumerable<Variable> ListVariables(string query = null)
uint CountVariables(string query = null)
Host CreateHost(string name, string hostFactoryToken)
Policy
Policy <Client>.Policy(string policyName)
policy.LoadPolicy(Stream policyContent)
Variable
Variable <Client>.Variable(string name)
Boolean Check(string privilege)
AddSecret(string val)
String GetValue()
Improvements to release process
dll
artifact (#52)Repo documentation improvements
USAGE
says to use-h
in theconjur init
command, this did not work in Conjur OSS and I needed to use-u
(Conjur v4 leftover?) (#53)Test suite improvements (in particular, tests to add to alert us early to breakages)
mono
- I'm guessing this can be made better by .NET Core move (#24)Repo standard maintenance tasks
Enhancement requests to consider
.NET Framework
base should be ideally moved to.NET Core
. (#24)Conjur
->CyberArk
(#23)## Bugs
- Fix error handling for policy loading for users/hosts w/ api_key_enabled (unconfirmed) - (#38)
Visual Studio 2019
api-dotnet.test.Conjur.Test.AuthenticatorTest.TestTokenCaching
api-dotnet.test.Conjur.Test.AuthenticatorTest.TestTokenThreadSafe
api-dotnet.test.Conjur.Test.ClientTest.ActingAsTest
api-dotnet.test.Conjur.Test.ClientTest.TestLogin
api-dotnet.test.Conjur.Test.HostFactoryTest.TestCreateHost
api-dotnet.test.Conjur.Test.ResourceTest.TestCheck
api-dotnet.test.Conjur.Test.UserTest.ListUserTest
api-dotnet.test.Conjur.Test.VariablesTest.GetVariableTest
api-dotnet.test.Conjur.Test.VariablesTest.ListVariableTest