Giter Club home page Giter Club logo

Comments (4)

pawnu avatar pawnu commented on September 25, 2024 1

I can look into it when I get some time although I'm not very familiar with go. There will be some work required due to short expiration time of the app token.

https://docs.github.com/en/rest/apps/apps#create-an-installation-access-token-for-an-app

Creates an installation access token that enables a GitHub App to make authenticated API requests for the app's installation on an organization or individual account. Installation tokens expire one hour from the time you create them.

from sbom-operator.

ckotzbauer avatar ckotzbauer commented on September 25, 2024 1

fyi, I'm currently working on this.

from sbom-operator.

ckotzbauer avatar ckotzbauer commented on September 25, 2024

I think this should be possible without huge efforts. I like the idea. Maybe this is a good starting point: https://github.com/mlioo/go-github-app-token-generator

Would you mind open a PR for that?

from sbom-operator.

muellerst-hg avatar muellerst-hg commented on September 25, 2024

Github provides deploy keys to authenticate non-human access at repository scope.
https://docs.github.com/en/developers/overview/managing-deploy-keys#deploy-keys

If your purpose is to push sboms to a single git repo, then deploy keys are the most simple solution.

from sbom-operator.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.