{"id":23009576,"url":"https://github.com/devolutions/secretmanagement.devolutionshub","last_synced_at":"2025-08-14T04:32:45.388Z","repository":{"id":43650067,"uuid":"356000301","full_name":"Devolutions/SecretManagement.DevolutionsHub","owner":"Devolutions","description":null,"archived":false,"fork":false,"pushed_at":"2024-09-09T15:11:11.000Z","size":64,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":8,"default_branch":"master","last_synced_at":"2024-09-09T18:38:13.282Z","etag":null,"topics":["security"],"latest_commit_sha":null,"homepage":"","language":"PowerShell","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/Devolutions.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":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2021-04-08T17:46:50.000Z","updated_at":"2024-09-09T15:11:13.000Z","dependencies_parsed_at":"2024-02-21T21:25:28.694Z","dependency_job_id":"cb714fc3-2275-41c1-bb99-a821727f801e","html_url":"https://github.com/Devolutions/SecretManagement.DevolutionsHub","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Devolutions%2FSecretManagement.DevolutionsHub","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Devolutions%2FSecretManagement.DevolutionsHub/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Devolutions%2FSecretManagement.DevolutionsHub/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Devolutions%2FSecretManagement.DevolutionsHub/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Devolutions","download_url":"https://codeload.github.com/Devolutions/SecretManagement.DevolutionsHub/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":229800399,"owners_count":18126028,"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":["security"],"created_at":"2024-12-15T09:15:01.964Z","updated_at":"2024-12-15T09:15:02.555Z","avatar_url":"https://github.com/Devolutions.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SecretManagement.DevolutionsHub\n\nThis module is an implementation of Powershell SecretManagement for Devolutions Hub.\n\n**Note:** Due to the encryption model of Devolutions Hub, operations are much faster when providing the id of an entry rather than its name. The _vault id_ and _entry id_ appear in the URL when opening an entry in Hub (eg. `https://myvault.devolutions.app/assets/\u003cvault-id\u003e/\u003centry-id\u003e/overview`).\n\n## Quick Start\n\nInstall SecretManagement.DevolutionsHub from [PSGallery](https://www.powershellgallery.com/packages/SecretManagement.DevolutionsHub).\n\n```powershell\nInstall-Module SecretManagement.DevolutionsHub\n```\n\nTo use this module, create an [application user](https://helphub.devolutions.net/hub_application_users.html) and take note of the application key and application secret. The vault id appears in the URL when navigating a vault. (eg.\nhttps://myvaut.devolutions.app/assets/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx).\n\nRegister the vault with the following command:\n\n```powerShell\nRegister-SecretVault -Name 'hubVaultName' -ModuleName 'SecretManagement.DevolutionsHub' -VaultParameters @{\n    Url = \"https://myvault.devolutions.app\"\n    ApplicationKey = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx;xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n    ApplicationSecret = \"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\"\n    VaultId = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n}\n```\n\nTo confirm that the access to the vault works, use the following command:\n\n```powershell\nTest-SecretVault 'hubVaultName'\n```\n\n## Usage\n\nAdd an entry to the stored vault:\n\n```powershell\nSet-Secret -Vault 'hubVaultName' -Name 'entryName' -Secret $credentials\n```\n\nGet a list of available entries from the stored vault:\n\n```powershell\nGet-SecretInfo -Vault 'hubVaultName'\n```\n\nGet an entry using the stored vault. Providing an ID in the name field will be much faster than the entry's name. Only `Credential` entries are supported at the moment.\n\n```powershell\nGet-Secret -Vault 'hubVaultName' -Name 'entryID'\n```\n\nRemove an entry from the stored vault.\n\n```powershell\nRemove-Secret -Vault 'hubVaultName' -Name 'entryID'\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevolutions%2Fsecretmanagement.devolutionshub","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevolutions%2Fsecretmanagement.devolutionshub","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevolutions%2Fsecretmanagement.devolutionshub/lists"}