busser / murmur Goto Github PK
View Code? Open in Web Editor NEWPass secrets as environment variables to a process
License: Apache License 2.0
Pass secrets as environment variables to a process
License: Apache License 2.0
Murmur 0.6 seems to have a console log related to forwarding children to child processes. For our usecase it's not interesting to have these logs in development and production environments. Any chance this can be moved perhaps behind a -debug
flag or similar?
Whisper's internal clients to various external secret managers are thread-safe: they can fetch multiple secrets concurrently. However, whisper currently uses these providers sequentially.
When whisper needs to fetch a large number of secrets, fetching them concurrently would improve overall runtime.
When contributors fork the repo and open a PR, Github Actions workflows fail:
The workflow fails to authenticate to GCP:
The error message is:
Error: google-github-actions/auth failed with: retry function failed after 4 attempts: gitHub Actions did not inject $ACTIONS_ID_TOKEN_REQUEST_TOKEN or $ACTIONS_ID_TOKEN_REQUEST_URL into this job. This most likely means the GitHub Actions workflow permissions are incorrect, or this job is being run from a fork. For more information, please see https://docs.github.com/en/actions/security-guides/automatic-token-authentication#permissions-for-the-github_token
The problem is that the workflow attempts to authenticate to GCP through OIDC. This requires the id-token: write
permission. We set this permission correctly in the workflow configuration file, and workflows work as expected for PRs that are not from forks.
However Github enforces a "Maximum access for pull requests from public forked repositories" of id-token: read
, as detailed in this documentation.
Currently a maintainer must pull the source branch from the fork and manually run the end-to-end tests in order to know if the proposed changes break anything.
Ideally we want approved PRs to run end-to-end tests so that contributors can get quick feedback on their contribution.
To track interest and discussion on adding a vault provider.
Hello 👋
The AWS sdk version is not using the latest one which is v2.
You should migrate to this one because they have versioned their sdk by modules which allows for a smaller binary overall.
I have a use case where I want to use murmur in golang integration tests within Visual Studio Code. VS Code has an option to set a .env file e.g. go.testEnvFile
in settings, but as far as I can tell there isn't a way to run murmur before the test or debug is started from within the ide e.g. when clicking "debug test" above a test function.
If ResolveAll is exposed outside of internal
I can call it from within the tests and manually set the env vars to their secrets, would you be open to moving this outside of the internal package?
If a developer specifies the same secret across multiple envvars, and perhaps applies different filters to those variables, whisper should ideally not query the root secret store multiples times. e.g.
SECRET1=awssm:12345|somefilter1
SECRET2=awssm:12345|somefilter2
SECRET3=awssm:12345|somefilter3
Ideally this would generate one query to AWS SM for 12345
and then apply the three different filters to generate the three different output variables.
We have long-term plans for a Kubernetes mutating webhook that injects the entrypoint into pods. A quick win would be to provide a Kyverno policy that does just that.
Currently murmur logs very little and doesn't have options to enable more or less logging.
With Go 1.21's new structured logging package, we should be able to add robust logging without adding any complex dependencies to murmur.
Love this idea, thanks for creating this package. Was googling for "Berglas for AWS" and hoping to find exactly this package.
Using the example Dockerfile:
Step 1/3 : FROM alpine
---> c059bfaa849c
Step 2/3 : COPY --from=ghcr.io/busser/whisper:latest /whisper /bin/whisper
invalid from flag value ghcr.io/busser/whisper:latest: Head "https://ghcr.io/v2/busser/whisper/manifests/latest": unauthorized
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
These updates have all been created already. Click a checkbox below to force a retry/rebase of any.
github.com/Azure/azure-sdk-for-go/sdk/azcore
, github.com/aws/aws-sdk-go-v2
, github.com/aws/aws-sdk-go-v2/config
, github.com/aws/aws-sdk-go-v2/service/secretsmanager
, github.com/scaleway/scaleway-sdk-go
, github.com/spf13/cobra
, k8s.io/client-go
)aws
, azuread
, azurerm
, github
, google
, google-beta
, scaleway
)go.mod
go 1.22.2
cloud.google.com/go/secretmanager v1.13.1
github.com/Azure/azure-sdk-for-go/sdk/azcore v1.11.1
github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.5.2
github.com/Azure/azure-sdk-for-go/sdk/keyvault/azsecrets v0.12.0
github.com/aws/aws-sdk-go-v2 v1.27.0
github.com/aws/aws-sdk-go-v2/service/secretsmanager v1.29.1
github.com/google/go-cmp v0.6.0
github.com/google/uuid v1.6.0
github.com/hashicorp/go-multierror v1.1.1
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.27
github.com/spf13/cobra v1.8.0
k8s.io/client-go v0.30.1
github.com/aws/aws-sdk-go-v2/config v1.27.16
terraform/layers/aws-secrets-manager/_providers.tf
terraform/layers/aws-secrets-manager/_settings.tf
aws 5.0.1
github 6.2.1
hashicorp/terraform ~> 1.4
terraform/layers/azure-keyvault/_providers.tf
terraform/layers/azure-keyvault/_settings.tf
azuread 2.39.0
azurerm 3.58.0
github 6.2.1
hashicorp/terraform ~> 1.4
terraform/layers/bootstrap/_providers.tf
terraform/layers/bootstrap/_settings.tf
scaleway 2.19.0
hashicorp/terraform ~> 1.4
terraform/layers/gcp-secret-manager/_providers.tf
terraform/layers/gcp-secret-manager/_settings.tf
github 6.2.1
google 5.23.0
google-beta 5.23.0
hashicorp/terraform ~> 1.4
terraform/layers/scw-secret-manager/_providers.tf
terraform/layers/scw-secret-manager/_settings.tf
github 6.2.1
scaleway 2.19.0
hashicorp/terraform ~> 1.4
AWS's default behavior is to store secrets as a JSON object with lots of secrets as key/values on that object. It'd be nice to be able to pull an individual value from that secret object. Something like
awssm:arn:aws:secretsmanager:us-west-2:1111111111:secret:mysecretobject.somepassword
It would be handy to have a flag for whisper that causes it to produce a summary of what secrets it loaded successfully/unsuccessfully to the console
If Murmur receives a signal, like SIGTERM for example, then it won't pass it on to the underlying command.
There is an error with this repository's Renovate configuration that needs to be fixed. As a precaution, Renovate will stop PRs until it is resolved.
Location: .github/renovate.json5
Error type: Invalid JSON5 (parsing failed)
Message: JSON5.parse error: JSON5: invalid character 'a' at 18:3
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.