{"id":18811739,"url":"https://github.com/logicmonitor/vault-plugin-secrets-logicmonitor","last_synced_at":"2025-08-02T10:06:34.302Z","repository":{"id":150954065,"uuid":"133986701","full_name":"logicmonitor/vault-plugin-secrets-logicmonitor","owner":"logicmonitor","description":null,"archived":false,"fork":false,"pushed_at":"2018-11-29T19:24:46.000Z","size":18443,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-05-22T03:38:29.182Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/logicmonitor.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":"2018-05-18T17:48:34.000Z","updated_at":"2018-05-22T04:59:07.000Z","dependencies_parsed_at":null,"dependency_job_id":"3e61e9f5-91fa-481a-a77c-4f8886ca18ba","html_url":"https://github.com/logicmonitor/vault-plugin-secrets-logicmonitor","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/logicmonitor/vault-plugin-secrets-logicmonitor","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/logicmonitor%2Fvault-plugin-secrets-logicmonitor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/logicmonitor%2Fvault-plugin-secrets-logicmonitor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/logicmonitor%2Fvault-plugin-secrets-logicmonitor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/logicmonitor%2Fvault-plugin-secrets-logicmonitor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/logicmonitor","download_url":"https://codeload.github.com/logicmonitor/vault-plugin-secrets-logicmonitor/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/logicmonitor%2Fvault-plugin-secrets-logicmonitor/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268370083,"owners_count":24239762,"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","status":"online","status_checked_at":"2025-08-02T02:00:12.353Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-07T23:27:30.203Z","updated_at":"2025-08-02T10:06:34.255Z","avatar_url":"https://github.com/logicmonitor.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# vault-plugin-secrets-logicmonitor\n\n# Overview\nThis project provides a custom Vault secret plugin for generating temporary\nLogicMonitor account API tokens.\n\n# Getting Started\nReference: https://github.com/hashicorp/vault-auth-plugin-example/blob/master/README.md\n\n## Adding the plugin to the Vault plugin catalog\nThis step assumes you have configured a Vault plugin directory and that the\nplugin binary exists in that directory.\n\n    $ export SHA256=$(shasum -a 256 \"./vault-plugin-secrets-logicmonitor\" | cut -d' ' -f1)\n    $ vault write sys/plugins/catalog/lm-secrets-plugin \\\n    \u003e     sha_256=\"${SHA256}\" \\\n    \u003e     command=\"vault-plugin-secrets-logicmonitor\"\n    Success! Data written to: sys/plugins/catalog/lm-secrets-plugin\n\n## Mount the plugin\n\n    $ vault secrets enable \\\n    \u003e     -path=\"lm\" \\\n    \u003e     -plugin-name=\"lm-secrets-plugin\" plugin\n    Success! Enabled the lm-secrets-plugin plugin at: lm/\n\n# Configuring the backend\nThe secret backend requires authentication information for identifying and\ninteracting with your LogicMonitor account.\n\n#### Arguments\n* access_id      - Required. LogicMonitor API token Access ID with permissions to create new user accounts and set account roles\n* access_key     - Required. LogicMonitor API token Access Key with permissions to create new user accounts and set account roles\n* account_domain - Required. LogicMonitor account domain. Example: vault.logicmonitor.com\n\n      $ vault write lm/config \\\n      \u003e     account_domain=account.logicmonitor.com \\\n      \u003e     access_id='YOUR_API_ACCESS_ID' \\\n      \u003e     access_key='YOUR_API_ACCESS_KEY'\n      Success! Data written to: lm/config\n\n      $ vault read lm/config\n      Key            Value\n      ---               -----\n      access_id         YOUR_API_ACCESS_ID\n      access_key        \u003csensitive\u003e\n      account_domain    account.logicmonitor.com\n      max_ttl           0\n      ttl               0\n\n# Creating Roles\nIn order to begin generating tokens, you must first configure a role in the\nVault backend. This role controls the permissions the granted to generated API\ntokens.\n\n#### Arguments\n* roles - Required. Comma-separated list of LogicMonitor account roles to bind to this role.\n\nBehind the scenes, for each Vault role, Vault will\ncreate a LogicMonitor user that is a member of the specified groups. Generated\ntokens will belong to the LogicMonitor user associated with the Vault role\nthat created them.\n\n    $ vault write lm/roles/dev \\\n    \u003e     roles=\"readonly,dev\"\n    Success! Data written to: lm/roles/test\n\n# Generating Tokens\nYou can generate tokens for a given role by reading /lm/tokens/{role}. Note\nthat tokens will be disabled and removed from your account when the lease\nexpires or is revoked.\n\n    $ vault read /lm/tokens/dev\n    Key                Value\n    ---                -----\n    lease_id           lm/tokens/dev/5790895b-c318-725c-0fba-a7abcdfe3ae7\n    lease_duration     768h\n    lease_renewable    true\n    access_id          enP8w1234z7HJ3Y6B84L\n    access_key         =xz1234XEsBL(4y]B$mJ34567JE5=x39y)(T!_E4\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flogicmonitor%2Fvault-plugin-secrets-logicmonitor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flogicmonitor%2Fvault-plugin-secrets-logicmonitor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flogicmonitor%2Fvault-plugin-secrets-logicmonitor/lists"}