{"id":27131300,"url":"https://github.com/131/vvauth","last_synced_at":"2026-03-14T03:30:48.039Z","repository":{"id":279860459,"uuid":"940265660","full_name":"131/vvauth","owner":"131","description":"Vault credential helper","archived":false,"fork":false,"pushed_at":"2025-03-19T22:41:14.000Z","size":42,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-28T05:33:24.108Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/131.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-02-27T22:08:30.000Z","updated_at":"2025-03-19T22:41:15.000Z","dependencies_parsed_at":"2025-03-01T16:31:38.004Z","dependency_job_id":null,"html_url":"https://github.com/131/vvauth","commit_stats":null,"previous_names":["131/vcreds","131/vvauth"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/131%2Fvvauth","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/131%2Fvvauth/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/131%2Fvvauth/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/131%2Fvvauth/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/131","download_url":"https://codeload.github.com/131/vvauth/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247729929,"owners_count":20986400,"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":[],"created_at":"2025-04-07T20:53:00.205Z","updated_at":"2026-03-14T03:30:48.007Z","avatar_url":"https://github.com/131.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Vault Creds manager\r\n\r\nThis projects helps you log yourself in a HCL vault and retrieve VAULT_TOKEN through different auth methods\r\n* jwt login\r\n* ssh (with agent) login\r\n\r\n\r\n# Vauth configuration\r\n## Vauth configuration file location\r\nvauth configuration file lies on a `.vauthrc` file (this name can be controlled by the VAUTHRC env var).\r\nvauth will try to find\r\n* if specified, the VAUTHRC file\r\n* fallback to a .vauthrc file in the current directory\r\n* fallback to a .vauthrc file in the current user home directory\r\n\r\n##  Vauth configuration format\r\nvauth configuration file is a simple yaml file with a specific macro expansion syntax for dynamic parts.\r\nThe configuration file should abide the following schema\r\n\r\n### configuration macro expansion set\r\n* $${profile.XXX} expand to vault entity metadata/custom_metadata vars\r\n* $${env.XXX} expand to local environement vars\r\n* $${secrets.XXX} expand to remote scrapped secrets (see the env.paths)\r\n\r\n```\r\n# vauth URL\r\nvault_addr: https://vauth.myserver.org\r\n\r\n# for vauth-auth-plugin-ssh, configure the binding role here\r\nssh_auth:\r\n  role: $${env.VAUTH_USER_LOGIN}\r\nenv:\r\n  map:\r\n    TF_HTTP_USERNAME: $${profile.VAUTH_USER_LOGIN}\r\n    TF_HTTP_PASSWORD: $${profile.GITLAB_API_TOKEN}\r\n    AWS_ACCESS_KEY_ID: $${secrets.AWS_ACCESS_KEY_ID}\r\n    AWS_SECRET_ACCESS_KEY: $${secrets.AWS_SECRET_ACCESS_KEY}\r\n\r\n  # remote secrets mecanism\r\n  # set the secrets mount point - default to secrets\r\n  [path: secrets]\r\n  # list extra secrets to be reached and populated into the $${secrets.XXX} macro\r\n  paths:\r\n    - /some/pa4-backend.creds\r\n\r\n```\r\n\r\n\r\n# Credits\r\n* [Francois Leurent](https://github.com/131)\r\n\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F131%2Fvvauth","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F131%2Fvvauth","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F131%2Fvvauth/lists"}