Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. App Wishlist
  3. HashiCorp Vault

HashiCorp Vault

Scheduled Pinned Locked Moved Solved App Wishlist
32 Posts 5 Posters 3.9k Views 5 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • girishG Offline
      girishG Offline
      girish
      Staff
      wrote on last edited by
      #21

      @ultraviolet https://github.com/euanmcgregor/vault-cloudron/pull/2 fixes the mlock issue

      fbartelsF 1 Reply Last reply
      1
      • girishG girish

        @ultraviolet https://github.com/euanmcgregor/vault-cloudron/pull/2 fixes the mlock issue

        fbartelsF Offline
        fbartelsF Offline
        fbartels
        App Dev
        wrote on last edited by
        #22

        @girish ah, yes of course. You need to set the capability on the binary to make use of it (as non root).

        1 Reply Last reply
        0
        • girishG Offline
          girishG Offline
          girish
          Staff
          wrote on last edited by
          #23

          We can probably remove the supervisor use entirely and just use gosu exec cloudron:cloudron but maybe it's there for a reason

          1 Reply Last reply
          0
          • ultravioletU Offline
            ultravioletU Offline
            ultraviolet
            App Dev
            wrote on last edited by
            #24

            thanks both, I have never had a pull request before!! I am just looking at them now.

            1 Reply Last reply
            0
            • ultravioletU ultraviolet

              @fbartels I did try to get ldap going, the issue doing it automatically during install is you need to unseal and login to the vault before you can enable the LDAP. Which is hard when the login info is in a text file I am sure it is possible but my knowledge is a bit limited on that, plus it might not be idempotent.

              When I tried it manually it gave me that exact error I am still checking to see what the issue might be but I have kind of drawn a blank at the moment. Will take a fresh look later this week when I get a bit of time.

              fbartelsF Offline
              fbartelsF Offline
              fbartels
              App Dev
              wrote on last edited by fbartels
              #25

              @ultraviolet I managed to get ldap login working. In the end I needed to change the lookup attribute (it weird that you can configure a search filter for groups, but not for users).

              Change is in https://github.com/euanmcgregor/vault-cloudron/pull/4

              Edit: OIDC login is not yet working btw.

              ultravioletU 1 Reply Last reply
              0
              • fbartelsF fbartels

                @ultraviolet I managed to get ldap login working. In the end I needed to change the lookup attribute (it weird that you can configure a search filter for groups, but not for users).

                Change is in https://github.com/euanmcgregor/vault-cloudron/pull/4

                Edit: OIDC login is not yet working btw.

                ultravioletU Offline
                ultravioletU Offline
                ultraviolet
                App Dev
                wrote on last edited by ultraviolet
                #26

                @fbartels awesome stuff on the LDAP. 👍

                I have made a few more tweaks with permissions and I have merged your request too. I have also removed the initial init for the vault. It is now done via the GUI which I like better because there are no keys being added to the container plus the user experience is a bit nicer. I have still kept the logic in in case someone wants to automate it.

                1 Reply Last reply
                0
                • ultravioletU Offline
                  ultravioletU Offline
                  ultraviolet
                  App Dev
                  wrote on last edited by
                  #27

                  Sorted, I think I have been running it for most of the day testing some stuff. Not sure if this is app store worthy but it interesting to learn about.
                  Thanks for your help @fbartels and @girish

                  1 Reply Last reply
                  0
                  • girishG Offline
                    girishG Offline
                    girish
                    Staff
                    wrote on last edited by
                    #28

                    @ultraviolet I think it will be a great addition to the store. Are you able to add a license file to the package? Like https://git.cloudron.io/cloudron/pixelfed-app/-/blob/master/LICENSE (MIT). You can change copyright to be yours.

                    Once you do that, I can fix it up and get it published.

                    @fbartels @ultraviolet How does the LDAP login work ? I don't see ldap-config.sh called from anywhere.

                    ultravioletU 1 Reply Last reply
                    0
                    • girishG girish

                      @ultraviolet I think it will be a great addition to the store. Are you able to add a license file to the package? Like https://git.cloudron.io/cloudron/pixelfed-app/-/blob/master/LICENSE (MIT). You can change copyright to be yours.

                      Once you do that, I can fix it up and get it published.

                      @fbartels @ultraviolet How does the LDAP login work ? I don't see ldap-config.sh called from anywhere.

                      ultravioletU Offline
                      ultravioletU Offline
                      ultraviolet
                      App Dev
                      wrote on last edited by
                      #29

                      @girish sweet. I will do that no problem. The LDAP has to be done manually as the vault needs to be init'd and unsealed so you would need to execute the script manually.

                      1 Reply Last reply
                      0
                      • girishG Offline
                        girishG Offline
                        girish
                        Staff
                        wrote on last edited by
                        #30

                        I will add the LDAP notes to the docs then.

                        ultravioletU 1 Reply Last reply
                        0
                        • girishG girish

                          I will add the LDAP notes to the docs then.

                          ultravioletU Offline
                          ultravioletU Offline
                          ultraviolet
                          App Dev
                          wrote on last edited by
                          #31

                          @girish License has been added to the repo.

                          1 Reply Last reply
                          0
                          • girishG Offline
                            girishG Offline
                            girish
                            Staff
                            wrote on last edited by
                            #32

                            I have now published this as unstable! Thanks @ultraviolet . The repo is at https://git.cloudron.io/cloudron/vault-app and you should have push access already. I am writing tests before marking it as stable.

                            1 Reply Last reply
                            3
                            Reply
                            • Reply as topic
                            Log in to reply
                            • Oldest to Newest
                            • Newest to Oldest
                            • Most Votes


                              • Login

                              • Don't have an account? Register

                              • Login or register to search.
                              • First post
                                Last post
                              0
                              • Categories
                              • Recent
                              • Tags
                              • Popular
                              • Bookmarks
                              • Search