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

Add possibility to rotate personal tokens via CLI #2766

Open
anpszcz opened this issue Jan 18, 2024 · 0 comments
Open

Add possibility to rotate personal tokens via CLI #2766

anpszcz opened this issue Jan 18, 2024 · 0 comments

Comments

@anpszcz
Copy link

anpszcz commented Jan 18, 2024

Description of the problem, including code/CLI snippet

Thank you for adding possibility to rotate the personal tokens. It would be really great to add this possibility to CLI as well.

Expected Behavior

gitlab personal-access-token rotate --id <token id> --expires_at <date>

Actual Behavior

Right now it is not supported in CLI.

Specifications

  • python-gitlab version: 4.4.0
  • API version you are using (v3/v4): v4
  • Gitlab server version (or gitlab.com): 16.6
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

1 participant