Skip to content

feat: add flags to the plugin and implement show config token flag #168

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

Merged
merged 3 commits into from
Mar 10, 2025

Conversation

ilijamt
Copy link
Owner

@ilijamt ilijamt commented Mar 10, 2025

No description provided.

Copy link

codecov bot commented Mar 10, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.36%. Comparing base (19620ef) to head (ddc0165).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #168      +/-   ##
==========================================
+ Coverage   95.32%   95.36%   +0.03%     
==========================================
  Files          19       20       +1     
  Lines        1713     1726      +13     
==========================================
+ Hits         1633     1646      +13     
  Misses         57       57              
  Partials       23       23              
Flag Coverage Δ
unittests 95.36% <100.00%> (+0.03%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

🚀 New features to boost your workflow:
  • Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@F21
Copy link

F21 commented Mar 10, 2025

It works for me:

$ vault write gitlab/config/default token=REDACTED base_url="https://www.gitlab.com" auto_rotate_token=true type=saas
$ vault read gitlab/config/default
Key                     Value
---                     -----
auto_rotate_before      24h0m0s
auto_rotate_token       true
base_url                https://www.gitlab.com
gitlab_is_enterprise    true
gitlab_revision         6b99fc7270b
gitlab_version          17.10.0-pre
name                    default
scopes                  api
token                   REDACTED
token_created_at        2025-03-10T23:19:48Z
token_expires_at        2025-04-10T00:00:00Z
token_id                13464860
token_sha1_hash         REDACTED
type                    saas

@ilijamt ilijamt merged commit 0e10834 into main Mar 10, 2025
6 checks passed
@ilijamt ilijamt deleted the add-flag-to-show-config-token branch March 10, 2025 23:44
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