{"id":22002940,"url":"https://github.com/rssnyder/drone-harness-secret","last_synced_at":"2026-05-16T08:34:50.414Z","repository":{"id":108372330,"uuid":"598285686","full_name":"rssnyder/drone-harness-secret","owner":"rssnyder","description":"create/update a harness secret","archived":false,"fork":false,"pushed_at":"2023-02-06T23:10:32.000Z","size":24,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-28T12:39:45.206Z","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":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rssnyder.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2023-02-06T19:41:58.000Z","updated_at":"2023-02-06T20:00:35.000Z","dependencies_parsed_at":null,"dependency_job_id":"af901c8c-b511-4ec5-be8a-af3591a0b5e8","html_url":"https://github.com/rssnyder/drone-harness-secret","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rssnyder%2Fdrone-harness-secret","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rssnyder%2Fdrone-harness-secret/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rssnyder%2Fdrone-harness-secret/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rssnyder%2Fdrone-harness-secret/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rssnyder","download_url":"https://codeload.github.com/rssnyder/drone-harness-secret/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245061390,"owners_count":20554563,"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-29T23:42:07.001Z","updated_at":"2026-05-16T08:34:45.382Z","avatar_url":"https://github.com/rssnyder.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"A plugin to .\n\n# Usage\n\nThe following settings changes this plugin's behavior.\n\n* NAME the name of the secret\n* VALUE the content of the secret\n* SECRET_MANAGER (optional) the secrets manager to use\n\nFor authentication and scope, use the following environment variables:\n\n- HARNESS_PLATFORM_API_KEY: harness nextgen api key\n- HARNESS_ACCOUNT_ID: harness account id\n- HARNESS_PLATFORM_ORGANIZATION: organization id\n- HARNESS_PLATFORM_PROJECT: project id\n\nBelow is an example `.drone.yml` that uses this plugin.\n\n```yaml\nkind: pipeline\nname: default\n\nsteps:\n- name: run rssnyder/drone-harness-secret plugin\n  image: rssnyder/drone-harness-secret\n  pull: if-not-exists\n  settings:\n    NAME: API_KEY\n    VALUE: sdflsdjf03239hwip2du\n```\n\n# Building\n\nBuild the plugin binary:\n\n```text\nscripts/build.sh\n```\n\nBuild the plugin image:\n\n```text\ndocker build -t rssnyder/drone-harness-secret -f docker/Dockerfile .\n```\n\n# Testing\n\nExecute the plugin from your current working directory:\n\n```text\ndocker run --rm -e PLUGIN_PARAM1=foo -e PLUGIN_PARAM2=bar \\\n  -e DRONE_COMMIT_SHA=8f51ad7884c5eb69c11d260a31da7a745e6b78e2 \\\n  -e DRONE_COMMIT_BRANCH=master \\\n  -e DRONE_BUILD_NUMBER=43 \\\n  -e DRONE_BUILD_STATUS=success \\\n  -w /drone/src \\\n  -v $(pwd):/drone/src \\\n  rssnyder/drone-harness-secret\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frssnyder%2Fdrone-harness-secret","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frssnyder%2Fdrone-harness-secret","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frssnyder%2Fdrone-harness-secret/lists"}