Giter Site home page Giter Site logo

Credential management about build.edn HOT 5 CLOSED

sunng87 avatar sunng87 commented on June 11, 2024
Credential management

from build.edn.

Comments (5)

liquidz avatar liquidz commented on June 11, 2024 1

@sunng87 Thanks for your suggestion!
My main usage is to deploy from GitHub Actions, so I was expecting the password to be stored as secrets in GitHub.

But it is certainly bad to handle plain passwords when deploying from local, so I agree to be able to use GPG as same as leiningen :)

from build.edn.

liquidz avatar liquidz commented on June 11, 2024 1

@sunng87 Just released v0.3.82. Thank you so much!
https://github.com/liquidz/build.edn/releases/tag/0.3.82

from build.edn.

sunng87 avatar sunng87 commented on June 11, 2024

Just realized the credential is set and used in upstream deps_deploy. I will create an issue there too.

from build.edn.

liquidz avatar liquidz commented on June 11, 2024

@sunng87 Just updated dev branch.
It is still a work in progress for now, but it should work.

In dev branch, build.edn file can have deploy-repository key.

(def ?deploy-repository
[:map
[:id string?]
[:username {:optional true} string?]
[:password {:optional true} string?]
[:url {:optional true} string?]])

e.g.

{:deploy-repository {:id "clojars"}}

Default :id is "clojars", so if you'd like to use clojars.org, the above settings is optional.

If ~/.m2/settings-security.xml exists, build.edn will decrypt password by deps-deploy.maven-settings.
And if corresponding settings does not exists in ~/.m2/settings.xml, build.edn will refer environmental variables as before.

from build.edn.

sunng87 avatar sunng87 commented on June 11, 2024

@liquidz I confirm it works with maven encrypted password. Thank you for super fast response!

from build.edn.

Related Issues (16)

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.