8000 how to resolve authencation in github action · Issue #68 · troyready/git-lfs-s3 · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

how to resolve authencation in github action #68

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

Closed
chaishiqi opened this issue Jan 19, 2025 · 1 comment
Closed

how to resolve authencation in github action #68

chaishiqi opened this issue Jan 19, 2025 · 1 comment

Comments

@chaishiqi
Copy link

The authencation of default is interactive, but github workflow doesn't support. what's the best practice in github action?

@troyready
Copy link
Owner

The best thing would probably be to configure the git-lfs-s3 auth process to trust GitHub Actions via OIDC (i.e. conditional on the Subject claim matching your repo), and then configure your GitHub Actions workflow to:

As is (without needing to modify the existing code), you could store a Cognito user's credentials as a GitHub Actions secret and then use it with the credential helper as linked above.

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

2 participants
0