Giter VIP home page Giter VIP logo

murmur's People

Contributors

busser avatar jefflinse avatar renovate[bot] avatar spoukke avatar stvcooke avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

murmur's Issues

Silence "Forwarded Signal" Console Logs

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?

Feature: fetch multiple secrets at once

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.

Workflows fail to authenticate to GCP on PRs from forks

When contributors fork the repo and open a PR, Github Actions workflows fail:

image

The workflow fails to authenticate to GCP:

image

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.

AWS sdk version

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.

Expose ResolveAll for usage as a library

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?

Feature Request: Caching Secrets

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.

Improve logging

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.

Permissions issue downloading whisper

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

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

gomod
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
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

  • Check this box to trigger a request for Renovate to run again on this repository

Feature Request: Pull individual secrets from AWS SM secret objects

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

Action Required: Fix Renovate Configuration

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

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.