{"id":19622144,"url":"https://github.com/commercetools/vaultier","last_synced_at":"2025-04-28T03:32:23.409Z","repository":{"id":193017563,"uuid":"685902880","full_name":"commercetools/vaultier","owner":"commercetools","description":"Vault secrets reader","archived":false,"fork":false,"pushed_at":"2025-01-06T13:09:31.000Z","size":32,"stargazers_count":16,"open_issues_count":0,"forks_count":1,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-04-20T15:18:00.235Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://docs.rs/vaultier","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/commercetools.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-MIT","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-09-01T09:17:38.000Z","updated_at":"2025-01-06T13:06:34.000Z","dependencies_parsed_at":"2024-06-24T13:47:29.094Z","dependency_job_id":"e14915b1-2edb-4ec2-a0ed-c51ce90485a3","html_url":"https://github.com/commercetools/vaultier","commit_stats":null,"previous_names":["commercetools/vaultier"],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/commercetools%2Fvaultier","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/commercetools%2Fvaultier/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/commercetools%2Fvaultier/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/commercetools%2Fvaultier/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/commercetools","download_url":"https://codeload.github.com/commercetools/vaultier/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251246336,"owners_count":21558762,"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":"2024-11-11T11:26:11.664Z","updated_at":"2025-04-28T03:32:22.871Z","avatar_url":"https://github.com/commercetools.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Vaultier `/slɒθ/` :sloth:\n\nSmall crate to read secrets from Hashicorp Vault. Based on [vaultrs](https://github.com/jmgilman/vaultrs).\n\n## Usage\n\n```rust\nuse vaultier::SecretClient;\nuse serde::Deserialize;\n\n#[derive(Deserialize)]\nstruct MySecrets {\n    pub username: String,\n    pub password: String,\n}\n\nlet address = \"\u003cvault instance address\u003e\";\nlet mount = String::from(\"\u003cmount\u003e\");\nlet base_path = String::from(\"\u003cbase_path\u003e\");\n\n// With token or default feature enabled\nlet client = SecretClient::new(address, mount, base_path, None).unwrap();\n\n// With auth feature enabled\nlet auth_mount = \"\u003cmount to vault auth\u003e\";\nlet role = \"\u003cyour role\u003e\";\nlet client = SecretClient::create(address, auth_mount, role, mount, base_path).unwrap();\n\n// read secrets from that base path\nlet secrets = client.read_secrets::\u003cMySecrets\u003e().await.unwrap();\n\n// read secrets from the passed path relative to the base path: mount/data/base_path/my-secrets\nlet secrets = client.read_secrets_from::\u003cMySecrets\u003e(\"my-secrets\").await.unwrap();\n\n```\n\n## License\n\n[MIT](./LICENSE-MIT)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcommercetools%2Fvaultier","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcommercetools%2Fvaultier","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcommercetools%2Fvaultier/lists"}