{"id":21217646,"url":"https://github.com/nlamirault/alan","last_synced_at":"2025-07-10T12:30:24.660Z","repository":{"id":44999815,"uuid":"129921884","full_name":"nlamirault/alan","owner":"nlamirault","description":"Bridge between Vault and password managers","archived":false,"fork":false,"pushed_at":"2022-01-14T14:35:44.000Z","size":15780,"stargazers_count":7,"open_issues_count":223,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-05T13:22:15.080Z","etag":null,"topics":["galactus","keepassxc","vault"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nlamirault.png","metadata":{"files":{"readme":"README.md","changelog":"ChangeLog.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-04-17T15:01:22.000Z","updated_at":"2025-02-11T21:33:59.000Z","dependencies_parsed_at":"2022-07-18T04:30:55.711Z","dependency_job_id":null,"html_url":"https://github.com/nlamirault/alan","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nlamirault/alan","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nlamirault%2Falan","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nlamirault%2Falan/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nlamirault%2Falan/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nlamirault%2Falan/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nlamirault","download_url":"https://codeload.github.com/nlamirault/alan/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nlamirault%2Falan/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264578848,"owners_count":23631552,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["galactus","keepassxc","vault"],"created_at":"2024-11-20T21:59:30.195Z","updated_at":"2025-07-10T12:30:21.306Z","avatar_url":"https://github.com/nlamirault.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Alan\n\n[![License Apache 2][badge-license]](LICENSE)\n[![GitHub version](https://badge.fury.io/gh/nlamirault%2Falan.svg)](https://badge.fury.io/gh/nlamirault%2Falan)\n\n* Master : [![pipeline status](https://gitlab.com/nicolas-lamirault/alan/badges/master/pipeline.svg)](https://gitlab.com/nicolas-lamirault/alan/commits/master)\n* Develop : [![pipeline status](https://gitlab.com/nicolas-lamirault/alan/badges/develop/pipeline.svg)](https://gitlab.com/nicolas-lamirault/alan/commits/develop)\n\nAlan is a bridge between [Hashicorp Vault](https://www.vaultproject.io/) and some password managers :\n\n* [ ] KeepassXC\n* [ ] 1password.com\n* [ ] Lastpass\n* [ ] Pwsafe\n\n## Installation\n\nYou can download the binaries :\n\n* Architecture i386 [ [linux](https://bintray.com/artifact/download/nlamirault/oss/alan-0.1.0_linux_386) / [darwin](https://bintray.com/artifact/download/nlamirault/oss/alan-0.1.0_darwin_386) / [freebsd](https://bintray.com/artifact/download/nlamirault/oss/alan-0.1.0_freebsd_386) / [netbsd](https://bintray.com/artifact/download/nlamirault/oss/alan-0.1.0_netbsd_386) / [openbsd](https://bintray.com/artifact/download/nlamirault/oss/alan-0.1.0_openbsd_386) / [windows](https://bintray.com/artifact/download/nlamirault/oss/alan-0.1.0_windows_386.exe) ]\n* Architecture amd64 [ [linux](https://bintray.com/artifact/download/nlamirault/oss/alan-0.1.0_linux_amd64) / [darwin](https://bintray.com/artifact/download/nlamirault/oss/alan-0.1.0_darwin_amd64) / [freebsd](https://bintray.com/artifact/download/nlamirault/oss/alan-0.1.0_freebsd_amd64) / [netbsd](https://bintray.com/artifact/download/nlamirault/oss/alan-0.1.0_netbsd_amd64) / [openbsd](https://bintray.com/artifact/download/nlamirault/oss/alan-0.1.0_openbsd_amd64) / [windows](https://bintray.com/artifact/download/nlamirault/oss/alan-0.1.0_windows_amd64.exe) ]\n* Architecture arm [ [linux](https://bintray.com/artifact/download/nlamirault/oss/alan-0.1.0_linux_arm) / [freebsd](https://bintray.com/artifact/download/nlamirault/oss/alan-0.1.0_freebsd_arm) / [netbsd](https://bintray.com/artifact/download/nlamirault/oss/alan-0.1.0_netbsd_arm) ]\n\n\n## Usage\n\n* CLI help:\n\n        $ alan help\n\n### Local usage\n\n* Start a Vault development server :\n\n        $ vault server -dev\n\n* Setup Vault :\n\n        $ export VAULT_ADDR=\"http://localhost:8200\"\n        $ vault auth list\n        Path      Type     Description\n        ----      ----     -----------\n        token/    token    token based credentials\n\n        $ vault auth enable userpass\n        Success! Enabled userpass auth method at: userpass/\n\n        $ vault auth list\n        Path         Type        Description\n        ----         ----        -----------\n        token/       token       token based credentials\n        userpass/    userpass    n/a\n\n        $ vault secrets list\n        Path          Type         Description\n        ----          ----         -----------\n        cubbyhole/    cubbyhole    per-token private secret storage\n        identity/     identity     identity store\n        secret/       kv           key/value secret storage\n        sys/          system       system endpoints used for control, policy and debugging\n\n        $ vault policy write alan-policy -\u003c\u003cEOF\n        path \"secret/*\" {\n                capabilities = [\"create\", \"read\", \"update\", \"delete\", \"list\"]\n        }\n        EOF\n\n        $ vault policy list\n        alan-policy\n        default\n        root\n\n        $ vault write auth/userpass/users/alan password=turing policies=alan-policy\n        Success! Data written to: auth/userpass/users/alan\n\n        $ vault login -method=userpass username=alan password=turing\n        Success! You are now authenticated. The token information displayed below\n        is already stored in the token helper. You do NOT need to run \"vault login\"\n        again. Future Vault requests will automatically use this token.\n\n        Key                    Value\n        ---                    -----\n        token                  15589767-1e25-6c44-e8c2-9b6c3ac13099\n        token_accessor         5fefe9fe-6da7-b67b-a8f0-47583488057e\n        token_duration         768h\n        token_renewable        true\n        token_policies         [alan-policy default]\n        token_meta_username    foo\n\n        $ vault write secret/foo value=yes\n        Success! Data written to: secret/foo\n        $ vault read secret/foo\n        Key                 Value\n        ---                 -----\n        refresh_interval    768h\n        value               yes\n\n* Display database entries :\n\n        $ alan keepassxc show --database alan.kdbx\n        Please input your password:\n        Dev\n        Github: foo https://github.com\n        Gitlab: foo https://gitlab.com\n        Social\n        Twitter: alan https://twitter.com\n        \u003e\u003e\u003e foo https://fake.social\n        Root\n\n* Import a KeepassXC database into the Vault:\n\n        $ alan keepassxc import --database alan.kdbx\n        Please input your password:\n        Add secret: Dev/Github\n        Add secret: Dev/Gitlab\n        Add secret: Social/Twitter\n\n* Check entries :\n\n        $ alan vault list\n        - Dev/\n        - Social/\n\n        $ alan vault list --path Dev\n        - Github\n        - Gitlab\n\n* Retrieve a secret :\n\n        $ alan vault get --path Dev/Github\n        Username: foo\n        Password: bar\n        URL: https://github.com\n\n\n## Development\n\n* Initialize environment\n\n        $ make init\n\n* Build tool :\n\n        $ make build\n\n* Launch unit tests :\n\n        $ make test\n\n## Contributing\n\nSee [CONTRIBUTING](CONTRIBUTING.md).\n\n\n## License\n\nSee [LICENSE](LICENSE) for the complete license.\n\n\n## Changelog\n\nA [changelog](ChangeLog.md) is available\n\n\n## Contact\n\nNicolas Lamirault \u003cnicolas.lamirault@gmail.com\u003e\n\n[badge-license]: https://img.shields.io/badge/license-Apache2-green.svg?style=flat\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnlamirault%2Falan","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnlamirault%2Falan","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnlamirault%2Falan/lists"}