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

Provide the ability to configure GitHub App PEM contents via ENV VAR #4854

Open
scottford-io opened this issue Nov 13, 2024 · 0 comments
Open

Comments

@scottford-io
Copy link
Contributor

Is your feature request related to a problem? Please describe.
I want to be able to configure Google Cloud Build to scan my GitHub organization using the Mondoo GitHub App. To do this, I need to store the PEM file created by the GitHub App in Google Cloud Secrets Manager and then use that file to authenticate my scan.

Today, cnspec provides the --app-private-key flag which expects a path to the PEM file. To use that with Google Cloud Build I need to retrieve the PEM file from Secrets Manager, cat the contents to a file, and then pass that file path to the --app-private-key flag.

Describe the solution you'd like
I would like to be able to pull the PEM file from Secrets Manager and set its contents directly via an ENV VAR.

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

1 participant