secret-manager | External secret management for Kubernetes | Identity Management library

 by   itscontained Go Version: v0.3.0 License: Apache-2.0

kandi X-RAY | secret-manager Summary

kandi X-RAY | secret-manager Summary

secret-manager is a Go library typically used in Security, Identity Management applications. secret-manager has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. You can download it from GitHub.

Secret Manager is a Kubernetes add-on to automate the creation and renewal of secrets from various external secret sources. Secret Manager can also reformat the sourced secrets to fit the configuration expected by the workloads using the created secrets. Based on the work from godaddy/kubernetes-external-secrets and with borrowed wisdom from jetstack/cert-manager.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              secret-manager has a low active ecosystem.
              It has 38 star(s) with 12 fork(s). There are 3 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 21 open issues and 23 have been closed. On average issues are closed in 5 days. There are 3 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of secret-manager is v0.3.0

            kandi-Quality Quality

              secret-manager has 0 bugs and 16 code smells.

            kandi-Security Security

              secret-manager has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              secret-manager code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              secret-manager is licensed under the Apache-2.0 License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              secret-manager releases are available to install and integrate.
              Installation instructions are available. Examples and code snippets are not available.
              It has 2982 lines of code, 152 functions and 43 files.
              It has medium code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed secret-manager and discovered the below as its top functions. This is intended to give you an instant insight into secret-manager implemented functionality, and help decide if they suit your requirements.
            • NewController returns a new controller .
            • WaitForSMPod blocks until a SMPod is ready
            • NewDefaultFramework creates a new default framework
            • NewControllerCmd returns a cobra command for controller manager
            • Logs returns the logs for a pod
            • getStoreBackend returns the store backend for the given secret storeSpec
            • SetConditions appends new conditions to Status .
            • CreateNamespace creates a namespace
            • GetStore returns the client for the given store
            • CreateAWSSecretsManagerSecret creates a secret manager secret
            Get all kandi verified functions for this library.

            secret-manager Key Features

            No Key Features are available at this moment for secret-manager.

            secret-manager Examples and Code Snippets

            No Code Snippets are available at this moment for secret-manager.

            Community Discussions

            QUESTION

            The airflow scheduler stops working after updating pypi packages on google cloud composer 2.0.1
            Asked 2022-Mar-27 at 07:04

            I am trying to migrate from google cloud composer composer-1.16.4-airflow-1.10.15 to composer-2.0.1-airflow-2.1.4, However we are getting some difficulties with the libraries as each time I upload the libs, the scheduler fails to work.

            here is my requirements.txt

            ...

            ANSWER

            Answered 2022-Mar-27 at 07:04

            We have found out what was happening. The root cause was the performances of the workers. To be properly working, composer expects the scanning of the dags to take less than 15% of the CPU ressources. If it exceeds this limit, it fails to schedule or update the dags. We have just taken bigger workers and it has worked well

            Source https://stackoverflow.com/questions/70684862

            QUESTION

            Google Cloud Secret Manager - Create a secret in a region
            Asked 2022-Mar-03 at 06:35

            I'm working with the Python library google-cloud-secret-manager and I'm facing some problems in creating a secret within a defined region.

            In the method secretmanager.create_secret seems that there is a metadata parameter that can be filled but I keep receiving errors trying something like:

            ...

            ANSWER

            Answered 2022-Mar-03 at 06:35

            If you want to specify the replication key placement manually, you need to specify it like in the example below:

            Source https://stackoverflow.com/questions/71308043

            QUESTION

            How to access a non-Google MySQL server database (no Cloud SQL!) from Google Cloud Function in Python runtime using SQLAlchemy
            Asked 2022-Jan-17 at 17:11

            I try to connect from a Google Cloud Function in Python runtime to an external MySQL server db that is not hosted by Google Cloud.

            My "requirements.txt":

            ...

            ANSWER

            Answered 2022-Jan-14 at 22:55

            If the database is on a VM, and in your VPC, you can create a VPC connector and attach it to your Cloud Function to access it.

            If it's deployed else where,

            • Either the database has a public IP, and Cloud Functions can directly access it.
            • Or the database has a private IP and you need to create a VPN between your VPC and the private foreign network with your database. And again add a serverless VPC connector to Cloud Functions to allow it to your your VPC and the VPN to access the database.

            Source https://stackoverflow.com/questions/70622948

            QUESTION

            Google Cloud Secrets - Reusing a secret
            Asked 2022-Jan-04 at 15:26

            I am using Google Cloud Secrets in a NodeJS Project. I am moving away from using preset environment variables and trying to find out the best practice to store and reuse secrets.

            The 3 main routes I've found to use secrets are:

            1. Fetching all secrets on startup and set them as ENV variables for later use
            2. Fetching all secrets on startup and set as constant variables
            3. Each time a secret is required, fetch it from Cloud Secrets

            Google's own best practice documentation mentions 2 conflicting things:

            1. Use ENV variables to set secrets at startup (source)
            2. Don't use ENV variables as they can be accessed in debug endpoints and traversal attacks among other things (source)

            My questions are:

            1. Should I store secrets as variables to be re-used or should I fetch them each time?
            2. Does this have an impact on quotas?
            ...

            ANSWER

            Answered 2022-Jan-04 at 15:26

            The best practice is to load one time the secret (at startup, or the first time is it accessed) to optimize performances and prevent API call latency. And yes, the access secret quotas is impacted on each access.

            If a debugger tool is connected to the environment, Variables and Env Var data can be compromised. The threat is roughly the same. Be sure to secure correctly the environment.

            Source https://stackoverflow.com/questions/70579050

            QUESTION

            Importing secrets in Spring Boot application from AWS Secrets Manager
            Asked 2021-Dec-23 at 11:10

            I stored my MySQL DB credentials in AWS secrets manager using the Credentials for other database option. I want to import these credentials in my application.properties file. Based on a few answers I found in this thread "https://stackoverflow.com/questions/56194579/how-to-integrate-aws-secret-manager-with-spring-boot-application", I did the following:

            1. Added the dependency spring-cloud-starter-aws-secrets-manager-config
            2. Added spring.application.name = and spring.config.import = aws-secretsmanager: in application.properties
            3. Used secret keys as place holders in the following properties:
            ...

            ANSWER

            Answered 2021-Dec-16 at 12:48

            You are trying to use spring.config.import, and the support for this was introduced in Spring Cloud 2.3.0:

            https://spring.io/blog/2021/03/17/spring-cloud-aws-2-3-is-now-available

            Secrets Manager

            Source https://stackoverflow.com/questions/70375435

            QUESTION

            Reading django_settings from Google Cloud Platform's Secret Manager does not work
            Asked 2021-Oct-23 at 10:35

            When running the command python manage.py makemigrations locally on my laptop, I get the following error on my console:

            ...

            ANSWER

            Answered 2021-Oct-23 at 10:35

            This is apparently caused by two things:

            • In settings.py, the secret content is loaded into environment variables with env.read_env(io.StringIO(payload)), as mentioned in the question. That read_env() function apparently does the following:

            Source https://stackoverflow.com/questions/69687306

            QUESTION

            Retrieving environment variables in Google Cloud stored in secret manager
            Asked 2021-Oct-14 at 11:19

            I am unable to retrieve an environment variable accessed in code in my bitbucket deployed application. When my application starts, I want to fetch db uri, like this: const uri = process.env.MONGODB_CONNECTION_URI;

            Whenever I build and push the artifact from local, my environment variables are successfully passed from .env-files I have stored locally on my machine. Obviously I do not want to commit this file.

            When I use Bitbucket Pipelines for deploying my application to GCP. I am able to successfully push a new artifact to GCP. But on application startup, it is unable to retrieve my db-uri.

            This article is pretty close to describing what I want to achieve, but I don't see how this addresses the fact that the property value is an actual secret that I cannot commit to my repo, and need to access at application startup from somewhere.

            This question describes how to access variables from secret manager in the Cloud Pipeline, not in the application itself.

            I use the predefined google-app-engine-deploy-pipe. Relevant parts of my bitbucket-pipelines.yml looks like this:

            ...

            ANSWER

            Answered 2021-Sep-27 at 09:55

            I would suggest you refer to this documentation link in order to create and access a secret manager.

            This documentation link provides resources for using Secret Manager with various Google Cloud services.

            For instance, Access Secret Manager secrets and expose them as environment variables or via the filesystem from Cloud Functions. See using Secret Manager secrets with Cloud Functions for detailed information.

            Ensure for Adding a secret version requires the Secret Manager Admin role (roles/secretmanager.admin) on the secret, project, folder, or organization. Roles can't be granted on a secret version.

            Refer to this discussion on a similar question.

            Source https://stackoverflow.com/questions/69314970

            QUESTION

            How can I work with micronaut 3 and google secret manager?
            Asked 2021-Sep-30 at 16:59

            Currently migrating my application to Micronaut 3, I encountered one problem with micronaut-gcp. Especially with the google secret manager. I am using gradle with Kotlin DSL.

            Actual configuration: (not working, using plugin io.micronaut.library version 2.0.4)

            • gradle 7.2
            • micronaut 3.0.1

            Previous configuration: (working with no plugin, using micronaut-bom)

            • gradle 6.5.1
            • micronaut 2.4.0
            • micronautGcp 3.5.0

            I/ The Problem

            My goal is to load some secrets as key/value pairs into a property source. I followed the documentation that says to use a bootstrap.yml as follows:

            ...

            ANSWER

            Answered 2021-Sep-30 at 16:59

            I've been down that rabbit hole. Long story short I got past this by upgrading the google-cloud-secretmanager dependency from 1.6.4 to e.g. 2.0.2

            Like so:

            Source https://stackoverflow.com/questions/69155870

            QUESTION

            pip install module but with fix version in dependency
            Asked 2021-Sep-28 at 16:38

            I recently had to bump a google cloud library due to a conflict that was generating a bug. Long story short, I had

            ...

            ANSWER

            Answered 2021-Sep-28 at 16:38

            You can achieve this with a constraints file. Just put all your constraints into that file:

            Source https://stackoverflow.com/questions/69365009

            QUESTION

            ModuleNotFoundError in Dataflow job
            Asked 2021-Sep-23 at 09:56

            I am trying to execute a apache beam pipeline as a dataflow job in Google Cloud Platform.

            My project structure is as follows:

            ...

            ANSWER

            Answered 2021-Sep-23 at 07:23

            Posting as community wiki. As confirmed by @GopinathS the error and fix are as follows:

            The error encountered by the workers is Beam SDK base version 2.32.0 does not match Dataflow Python worker version 2.28.0. Please check Dataflow worker startup logs and make sure that correct version of Beam SDK is installed.

            To fix this "apache-beam[gcp]>=2.20.0" is removed from install_requires of setup.py since, the '>=' is assigning the latest available version (2.32.0 as of this writing) while the workers version are only 2.28.0.

            Updated setup.py:

            Source https://stackoverflow.com/questions/69227398

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install secret-manager

            Helm installation steps can be found on the chart readme at artifacthub.io.

            Support

            Documentation and examples for supported external secret sources can be found in the docs directory of this project.
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/itscontained/secret-manager.git

          • CLI

            gh repo clone itscontained/secret-manager

          • sshUrl

            git@github.com:itscontained/secret-manager.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Explore Related Topics

            Consider Popular Identity Management Libraries

            vault

            by hashicorp

            k9s

            by derailed

            keepassxc

            by keepassxreboot

            keycloak

            by keycloak

            uuid

            by uuidjs

            Try Top Libraries by itscontained

            AutoMarkWatched

            by itscontainedPython

            automarkwatched

            by itscontainedPython

            vault-context

            by itscontainedGo

            arrSync

            by itscontainedPython

            tautulli_exporter

            by itscontainedGo