{"id":13532273,"url":"https://github.com/secrethub/actions","last_synced_at":"2025-12-15T21:11:44.055Z","repository":{"id":52928158,"uuid":"244312128","full_name":"secrethub/actions","owner":"secrethub","description":"Load secrets into GitHub Actions","archived":true,"fork":false,"pushed_at":"2021-04-13T16:24:15.000Z","size":73,"stargazers_count":46,"open_issues_count":0,"forks_count":16,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-21T09:36:38.128Z","etag":null,"topics":["devops","github-actions","hacktoberfest","secret-management","secrets","security"],"latest_commit_sha":null,"homepage":"https://secrethub.io","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/secrethub.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-03-02T07:56:33.000Z","updated_at":"2024-09-13T15:37:31.000Z","dependencies_parsed_at":"2022-08-24T13:11:11.203Z","dependency_job_id":null,"html_url":"https://github.com/secrethub/actions","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/secrethub%2Factions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/secrethub%2Factions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/secrethub%2Factions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/secrethub%2Factions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/secrethub","download_url":"https://codeload.github.com/secrethub/actions/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246709923,"owners_count":20821297,"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":["devops","github-actions","hacktoberfest","secret-management","secrets","security"],"created_at":"2024-08-01T07:01:09.655Z","updated_at":"2025-12-15T21:11:38.739Z","avatar_url":"https://github.com/secrethub.png","language":"Shell","readme":"\u003chr/\u003e\n\u003cp align=\"center\"\u003e\n  \u003csub\u003e\u003cimg src=\"https://1password.com/img/logo-v1.svg\" alt=\"1Password\" width=\"20\" /\u003e\u003c/sub\u003e \u003cb\u003eSecretHub has joined 1Password!\u003c/b\u003e Find out more on the \u003ca href=\"https://secrethub.io/blog/secrethub-joins-1password/\"\u003eSecretHub blog\u003c/a\u003e. 🎉\n\u003c/p\u003e\n\u003chr/\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://secrethub.io/img/integrations/github-actions/github-banner.png?v2\" alt=\"GitHub Actions + SecretHub\" width=\"390\"\u003e\n\u003c/p\u003e\n\u003cbr/\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://secrethub.io/integrations/github-actions/\"\u003e\u003cimg alt=\"Learn More\" src=\"https://secrethub.io/img/buttons/github/learn-more.png?v2\" height=\"28\" /\u003e\u003c/a\u003e\n\u003c/p\u003e\n\u003cbr/\u003e\n\n\n# Actions\n\n[![](https://github.com/secrethub/actions/workflows/.github/workflows/main.yml/badge.svg)](https://github.com/secrethub/actions/actions)\n[![](https://img.shields.io/github/release/secrethub/actions.svg)](https://github.com/secrethub/actions/releases/latest)\n[![](https://img.shields.io/badge/chat-on%20discord-7289da.svg?logo=discord)](https://discord.gg/NWmxVeb)\n\n\u003e [SecretHub](https://secrethub.io) is a secrets management tool that works for every engineer. Securely provision passwords and keys throughout your entire stack with just a few lines of code.\n\nNo more copy-pasting sensitive values into a GUI. Securely load secrets into GitHub Actions and sync them automatically using SecretHub.\n\nThis Action is officially supported and actively maintained by SecretHub, but community contributions are very welcome. \n\n## secrethub/actions/env-export\n\nThe `env-export` action reads all referenced secrets from environment variables prefixed by `secrethub://` and secrets specified in the `secrethub.env` template file, and makes the secret values available as environment variables to the rest of the job.\n\nIt leverages GitHub's output masking feature, so if secret values are (accidentally) logged, they get replaced with `*****`.\n\n### Usage\n\n```yml\non: push\njobs:\n  notify-slack:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - uses: secrethub/actions/env-export@v0.2.1\n        env:\n          SECRETHUB_CREDENTIAL: ${{ secrets.SECRETHUB_CREDENTIAL }}\n          SLACK_WEBHOOK: secrethub://company/app/slack/webhook\n      - name: Print environment with masked secrets\n        run: printenv\n      - name: Notify Slack\n        # This action expects SLACK_WEBHOOK to be set, which is now done automatically\n        uses: Ilshidur/action-slack@2.0.1\n        with:\n          args: Sent from GitHub Actions with secrets from SecretHub 🔑\n```\n\n## Credential\n\nThe example above passes the `SECRETHUB_CREDENTIAL` environment variable. This credential is used to authenticate to SecretHub and decrypt your secrets.\n\nYou can obtain a credential by creating a [service account](https://secrethub.io/docs/reference/cli/service). Service accounts are completely separate accounts from your personal account, which means you can [manage their access](https://secrethub.io/docs/reference/cli/acl/) separately and you can identify them in the [audit log](https://secrethub.io/docs/reference/cli/audit/).\n\nAfter you've obtained a credential for SecretHub, you [store it in a GitHub secret](https://help.github.com/en/actions/configuring-and-managing-workflows/creating-and-storing-encrypted-secrets#creating-encrypted-secrets-for-a-repository), so that it can be fetched in your action as shown above.\n","funding_links":[],"categories":["Community Resources","Shell"],"sub_categories":["Static Analysis"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsecrethub%2Factions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsecrethub%2Factions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsecrethub%2Factions/lists"}