Support to use rotate api to rotate token if a project access token already exists

Đang mở
#117 0 bình luận 1 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
42/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
gitlab, go
Lĩnh vực
api, authentication

Hướng nghiên cứu

Start by inspecting the implementation of the GitLab project access token create API and how existing tokens are identified. Compare that flow with the linked rotate API documentation; done means an existing token can be rotated while preserving its bot user, including behavior relevant to protected branches.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

When using create api, every api call will create a new token with a new bot user. While using rotate api, the same bot user (user_id) will be kept which will benefit branch protection configuration if a bot user is allowed to push to some protected branch, eg. release branch.

Ngôn ngữ chính
Go
Star
63
Fork
12
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của splunk/vault-plugin-secrets-gitlab

Tất cả issue của splunk/vault-plugin-secrets-gitlab

Issue tương tự

Thêm issue về Go

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.