cyberark / conjur-api-dotnet

.NET client for the CyberArk Conjur API
Apache License 2.0
15 stars 11 forks source link

Review technical debt in repo and make plan for nearterm enhancements #41

Closed izgeri closed 4 years ago

izgeri commented 4 years ago

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.

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

Repo documentation improvements

Test suite improvements (in particular, tests to add to alert us early to breakages)

Repo standard maintenance tasks

Enhancement requests to consider



## Bugs



- Fix error handling for policy loading for users/hosts w/ api_key_enabled (unconfirmed) - (#38)

Visual Studio 2019

izgeri commented 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)

sgnn7 commented 4 years ago

I've updated the post and I'll start opening up issues for those now.