Visitar URL original
Support group-level service-accounts · Issue #2812 · python-gitlab/python-gitlab · GitHub
Skip to content

Support group-level service-accounts #2812

Description

@sven-hergenhahn-dmtech

Since 16.1, the gitlab-api supports the creation of group-level service-accounts and group-level service-account tokens (They are not the same as group access tokens!)
So far they can not yet be created via the Web UI.

It would be great to have this feature added to python-gitlab.

The gitlab API documentation is here: https://docs.gitlab.com/ee/api/groups.html#service-accounts

Activity

  1. nejch commented on Aug 7, 2024

    @nejch
    Member

    Service accounts were added in #2851 - we can track adding the tokens here though.

  2. djmcgreal-cc commented on Sep 18, 2024

    @djmcgreal-cc

    Tokens would be handy - not much point having service accounts without them?

  3. added
    EEIssues related to the enterprise version of GitLab
    on Sep 18, 2024
  4. added 3 commits that reference this issue on Jan 29, 2025
    c20565d
    89efd92
    e9f8dd1
  5. added 2 commits that reference this issue on Feb 8, 2025
    199be9f
    468fed7
  6. added a commit that references this issue on Apr 17, 2025
    80bc508
  7. added a commit that references this issue on Jun 7, 2025
    ec818f3
  8. github-actions commented on Jul 9, 2025

    @github-actions

    This issue was marked stale because it has been open 60 days with
    no activity. Please remove the stale label or comment on this
    issue. Otherwise, it will be closed in 15 days.

    As an open-source project, we rely on community contributions to
    address many of the reported issues. Without a proposed fix or
    active work towards a solution it is our policy to close inactive
    issues. This is documented in CONTRIBUTING.rst

    How to keep this issue open:

    • If you are still experiencing this issue and are willing to
      investigate a fix, please comment and let us know.
    • If you (or someone else) can propose a pull request with a
      solution, that would be fantastic.
    • Any significant update or active discussion indicating progress
      will also prevent closure.

    We value your input. If you can help provide a fix, we'd be happy
    to keep this issue open and support your efforts.

    This is documented in CONTRIBUTING.rst
    https://github.com/python-gitlab/python-gitlab/blob/main/CONTRIBUTING.rst

  9. svenXY commented on Jul 9, 2025

    @svenXY

    I don't think that service-account-tokens have been added meanwhile, so this is still something I'd like to see in python-gitlab

  10. github-actions commented on Sep 9, 2025

    @github-actions

    This issue was marked stale because it has been open 60 days with
    no activity. Please remove the stale label or comment on this
    issue. Otherwise, it will be closed in 15 days.

    As an open-source project, we rely on community contributions to
    address many of the reported issues. Without a proposed fix or
    active work towards a solution it is our policy to close inactive
    issues. This is documented in CONTRIBUTING.rst

    How to keep this issue open:

    • If you are still experiencing this issue and are willing to
      investigate a fix, please comment and let us know.
    • If you (or someone else) can propose a pull request with a
      solution, that would be fantastic.
    • Any significant update or active discussion indicating progress
      will also prevent closure.

    We value your input. If you can help provide a fix, we'd be happy
    to keep this issue open and support your efforts.

    This is documented in CONTRIBUTING.rst
    https://github.com/python-gitlab/python-gitlab/blob/main/CONTRIBUTING.rst

  11. 4 remaining items

  12. svenXY commented on Nov 17, 2025

    @svenXY

    I don't think that service-account-tokens have been added meanwhile, so this is still something I'd like to see in python-gitlab

  13. syphernl commented on Nov 18, 2025

    @syphernl
    Contributor

    There is an open PR that adds this functionality, but it has been stalled for a long time now..

  14. added a commit that references this issue on Nov 18, 2025
    a0777d4
  15. github-actions commented on Jan 18, 2026

    @github-actions

    This issue was marked stale because it has been open 60 days with
    no activity. Please remove the stale label or comment on this
    issue. Otherwise, it will be closed in 15 days.

    As an open-source project, we rely on community contributions to
    address many of the reported issues. Without a proposed fix or
    active work towards a solution it is our policy to close inactive
    issues. This is documented in CONTRIBUTING.rst

    How to keep this issue open:

    • If you are still experiencing this issue and are willing to
      investigate a fix, please comment and let us know.
    • If you (or someone else) can propose a pull request with a
      solution, that would be fantastic.
    • Any significant update or active discussion indicating progress
      will also prevent closure.

    We value your input. If you can help provide a fix, we'd be happy
    to keep this issue open and support your efforts.

    This is documented in CONTRIBUTING.rst
    https://github.com/python-gitlab/python-gitlab/blob/main/CONTRIBUTING.rst

  16. sven-hergenhahn-dmtech commented on Jan 19, 2026

    @sven-hergenhahn-dmtech
    Author

    I don't think that service-account-tokens have been added meanwhile, so this is still something I'd like to see in python-gitlab

  17. syphernl commented on Jan 19, 2026

    @syphernl
    Contributor

    There has been some activity in the PR 2 months ago but since then nothing happened: #3109

    While this issue may be "stale", this functionality is still something multiple users would like to see.

  18. github-actions commented on Mar 21, 2026

    @github-actions

    This issue was marked stale because it has been open 60 days with
    no activity. Please remove the stale label or comment on this
    issue. Otherwise, it will be closed in 15 days.

    As an open-source project, we rely on community contributions to
    address many of the reported issues. Without a proposed fix or
    active work towards a solution it is our policy to close inactive
    issues. This is documented in CONTRIBUTING.rst

    How to keep this issue open:

    • If you are still experiencing this issue and are willing to
      investigate a fix, please comment and let us know.
    • If you (or someone else) can propose a pull request with a
      solution, that would be fantastic.
    • Any significant update or active discussion indicating progress
      will also prevent closure.

    We value your input. If you can help provide a fix, we'd be happy
    to keep this issue open and support your efforts.

    This is documented in CONTRIBUTING.rst
    https://github.com/python-gitlab/python-gitlab/blob/main/CONTRIBUTING.rst

  19. syphernl commented on Mar 21, 2026

    @syphernl
    Contributor

    There is still a PR waiting for review..

    #3361

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    EEIssues related to the enterprise version of GitLab

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions