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 the way to access git repository by using Personal Access Token(PAT) #4106

Closed
kevin-namba opened this issue Jan 6, 2023 · 1 comment · Fixed by #4571
Closed

Add the way to access git repository by using Personal Access Token(PAT) #4106

kevin-namba opened this issue Jan 6, 2023 · 1 comment · Fixed by #4571
Assignees
Labels
good first issue Good for newcomers

Comments

@kevin-namba
Copy link
Contributor

What would you like to be added:
We would like to make the option to access repository by using Personal Access Token(PAT) in addition to using SSH key.

apiVersion: pipecd.dev/v1beta1
kind: Piped
spec:
  git:
     # sshKeyFile: {PATH _TO_SSH_KEY_FILE}
     personalAccessToken:
        userName: <user-name>
        userToken: <user-token>

Why is this needed:
Now Pipecd uses SSH key to access repositories. But we can not control access policies to repositories when using SSH keys .
We should use Github Personal Access Token instead of SSH key.

ex. fluxCD adopt PAT to access repositories. https://fluxcd.io/flux/get-started/

@khanhtc1202 khanhtc1202 added the good first issue Good for newcomers label Apr 14, 2023
@kentakozuka kentakozuka self-assigned this Jul 9, 2023
@sZma5a
Copy link
Contributor

sZma5a commented Jul 10, 2023

🙋

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
No open projects
Status: In Progress
Status: In Progress
Status: Done
Development

Successfully merging a pull request may close this issue.

4 participants