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

DOC: Add an example of adding a user_password credential #103

Merged
merged 2 commits into from
Aug 25, 2022

Conversation

mslw
Copy link
Collaborator

@mslw mslw commented Aug 24, 2022

This adds an example of how to set a new credential of type user_password, with a given user property, to the examples in the
credentials command. For some reason, I always had to think twice before adding a new user_password credentials based on the existing docs (maybe it's just me). I thought this usage could have an explicit example.

The added example shows that type and user need to be defined as properties, and entry of the secret is interactive. While it was probably clear from the other examples and command description, now it's explicit. Also, it is the first example where more than one property is being given.

This adds an example of how to set a new credential of type
user_password, with a given user property, to the examples if the
credentials command.

It shows that type and user need to be defined as properties, and
entry of the secret is interactive. While it was probably clear from
the other examples and command description, now it's explicit.
@mslw mslw marked this pull request as ready for review August 24, 2022 12:16
@mslw mslw requested a review from mih as a code owner August 24, 2022 12:16
@codecov
Copy link

codecov bot commented Aug 24, 2022

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 53.07%. Comparing base (6de1e06) to head (01feee5).
Report is 1466 commits behind head on main.

❗ There is a different number of reports uploaded between BASE (6de1e06) and HEAD (01feee5). Click for more details.

HEAD has 7 uploads less than BASE
Flag BASE (6de1e06) HEAD (01feee5)
8 1
Additional details and impacted files
@@             Coverage Diff             @@
##             main     #103       +/-   ##
===========================================
- Coverage   94.50%   53.07%   -41.44%     
===========================================
  Files          32       16       -16     
  Lines        2966     1611     -1355     
===========================================
- Hits         2803      855     -1948     
- Misses        163      756      +593     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@mih mih left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thx!

@mih mih merged commit 10cf56b into datalad:main Aug 25, 2022
@mslw mslw deleted the credentials-example branch January 12, 2024 11:37
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

Successfully merging this pull request may close these issues.

2 participants