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

Token lookup #77

Merged
merged 4 commits into from
Jun 17, 2019
Merged

Token lookup #77

merged 4 commits into from
Jun 17, 2019

Conversation

ewjoachim
Copy link
Contributor

@ewjoachim ewjoachim commented Jun 17, 2019

Check list:

  • Write unit tests (100% coverage ?)
  • Write or edit integration tests, if applicable ?
  • Add a line in CHANGELOG.md

When ran locally, this returns:

$ vault lookup-token
---
auth: null
data:
  accessor: PptiQERWCCcWIge8hsJmrMre
  creation_time: 1560765829
  creation_ttl: 2764800
  display_name: userpass-userpass-login
  entity_id: c58f567e-baad-332a-33c2-fb19a95132c6
  expire_time: '2019-07-19T10:03:49.229173137Z'
  explicit_max_ttl: 0
  id: s.rppRveFUYXvDyTPdW0dljGJ2
  issue_time: '2019-06-17T10:03:49.2291729Z'
  meta:
    username: userpass-login
  num_uses: 0
  orphan: true
  path: auth/userpass/login/userpass-login
  policies:
  - default
  - dev-policy
  renewable: true
  ttl: 2764800
  type: service
lease_duration: 0
lease_id: ''
renewable: false
request_id: a8b81e80-1268-9e13-92ce-2bb95bfc8bcf
warnings: null
wrap_info: null

@codecov-io
Copy link

codecov-io commented Jun 17, 2019

Codecov Report

Merging #77 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff          @@
##           master    #77   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files          12     12           
  Lines         600    611   +11     
  Branches       75     75           
=====================================
+ Hits          600    611   +11
Flag Coverage Δ
#integration 67.92% <81.81%> (+0.25%) ⬆️
#unit 100% <100%> (ø) ⬆️
Impacted Files Coverage Δ
vault_cli/client.py 100% <100%> (ø) ⬆️
vault_cli/testing.py 100% <100%> (ø) ⬆️
vault_cli/cli.py 100% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update dd95e65...3d80737. Read the comment docs.

README.md Outdated Show resolved Hide resolved
Co-Authored-By: Yannick PÉROUX <yannick.peroux@gmail.com>
@ewjoachim ewjoachim merged commit 5e76db9 into master Jun 17, 2019
@ewjoachim ewjoachim deleted the token-lookup branch June 17, 2019 13:48
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.

None yet

3 participants