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

Research and doc authenticate-client API endpoint #430

Open
4 tasks
iansk opened this issue Mar 25, 2021 · 4 comments
Open
4 tasks

Research and doc authenticate-client API endpoint #430

iansk opened this issue Mar 25, 2021 · 4 comments
Assignees

Comments

@iansk
Copy link
Collaborator

iansk commented Mar 25, 2021

  • Determine and doc exactly how this flow works.
  • Doc the requirements for the certificate (which fields are used for auth)
  • Reproduce the flow on Linux. @pfox1969 Has a PowerShell script that works on Linux, and depends on the certificate manager feature (certmgr.msc).
  • Example should show (1) getting the token (2) Calling an endpoint with the token, e.g. image scan reports
@iansk iansk self-assigned this Mar 25, 2021
@sgordon46
Copy link
Collaborator

sgordon46 commented Mar 25, 2021

@iansk
Here are my steps for generating a cert and using it for auth.
https://gist.github.com/sgordon46/3ddf4eb8c8e6ee263248f6eb0a9df5a0

@iansk
Copy link
Collaborator Author

iansk commented Mar 25, 2021

@sgordon46 You're awesome!! Thank you :)

@KICKdesigns
Copy link
Collaborator

@iansk @sgordon46 I wasn't able to get the steps fully working. I tried installing LDAP first as described in this article: https://www.techrepublic.com/article/how-to-install-openldap-on-ubuntu-18-04/ but wasn't able to successfully complete those steps either (the credentials fail when trying to call ldapadd).

In any case, I think what we have in the current /authenticate-client/post.md file is still correct - just can't verify the response from the POST example.

Is there anything else you want in the post.md file?

@iansk
Copy link
Collaborator Author

iansk commented Mar 30, 2021

Thanks, @KICKdesigns The post.md file looks fine to me. Nothing else is required.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants