{"id":21570500,"url":"https://github.com/gitpod-samples/demo-secrets-management","last_synced_at":"2026-03-19T20:53:42.904Z","repository":{"id":138613489,"uuid":"585215846","full_name":"gitpod-samples/demo-secrets-management","owner":"gitpod-samples","description":"Automate your Doppler secrets \u0026 use them in your developer workflow on a Cloud Dev Environment - Gitpod","archived":false,"fork":false,"pushed_at":"2023-01-13T16:54:28.000Z","size":456,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-24T12:45:31.753Z","etag":null,"topics":["cde","doppler","gitpod","secretops-platform","secrets","secrets-management"],"latest_commit_sha":null,"homepage":"","language":null,"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/gitpod-samples.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":"2023-01-04T15:58:09.000Z","updated_at":"2023-01-05T04:58:20.000Z","dependencies_parsed_at":null,"dependency_job_id":"1cd5fc1d-6687-4219-83eb-4c0babefe45c","html_url":"https://github.com/gitpod-samples/demo-secrets-management","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/gitpod-samples%2Fdemo-secrets-management","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpod-samples%2Fdemo-secrets-management/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpod-samples%2Fdemo-secrets-management/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpod-samples%2Fdemo-secrets-management/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gitpod-samples","download_url":"https://codeload.github.com/gitpod-samples/demo-secrets-management/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244166758,"owners_count":20409179,"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":["cde","doppler","gitpod","secretops-platform","secrets","secrets-management"],"created_at":"2024-11-24T11:12:57.538Z","updated_at":"2026-01-04T03:45:20.574Z","avatar_url":"https://github.com/gitpod-samples.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Secrets management using Doppler on Gitpod\n\nAutomate your [Doppler](https://www.doppler.com/) secrets \u0026 use them in your developer workflow on a Cloud Dev Environment - Gitpod\n\n## Setting it up\n\n### Doppler Service Token\n\n1. Create a Doppler account and a project.\n2. Create a [Doppler service token](https://docs.doppler.com/docs/service-tokens#dashboard-create-service-token) and add it to [Gitpod Environment variables](https://gitpod.io/variables).\n3. Start a Gitpod workspace:\n\n   [![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/gitpod-samples/demo-secrets-management)\n\n### Doppler CLI\n\nGitpod is an ephemeral environment, so we need to install the Doppler CLI on every workspace start, but we can do it more smartly with Gitpod [init tasks](https://www.gitpod.io/docs/config-start-tasks/#init-tasks) \u0026 [Gitpod Dockerfile](https://www.gitpod.io/docs/configure/workspaces/workspace-image#use-a-custom-dockerfile).\n\n#### Example of a [`.gitpod.Dockerfile`](./.gitpod.Dockerfile) file\n\n```dockerfile\nFROM gitpod/workspace-full:latest\n\n# Install \u0026 configure Doppler CLI\nRUN (curl -Ls --tlsv1.2 --proto \"=https\" --retry 3 https://cli.doppler.com/install.sh || wget -t 3 -qO- https://cli.doppler.com/install.sh) | sudo sh\n```\n\n#### Example of a [`.gitpod.yml`](./.gitpod.yml) file\n\n```yml\nimage:\n  file: .gitpod.Dockerfile\n\ntasks:\n  - name: Doppler\n    command: |\n      doppler setup\n```\n\n\u003e **Note**: To speed up Gitpod workspace startup times, you can [configure Gitpod prebuilds](https://www.gitpod.io/docs/configure/projects/prebuilds/#projects-and-prebuilds) to build the Docker image before the first workspace start.\n\n## Add Secrets to Doppler\n\n### Doppler setup\n\n```bash\ndoppler setup\n```\n\n\u003cbr/\u003e\n\n![Doppler Setup Output](./assets/doppler-setup.png)\n\n### Add Doppler secrets to your project\n\n\u003cbr/\u003e\n\n![Add Doppler Secrets](./assets/add-doppler-secrets.png)\n\n## Use Doppler secrets in your Gitpod workspace\n\n### Print all Doppler secrets\n\n```bash\ndoppler secrets --raw\n```\n\n![Print All Doppler Secrets](./assets/print-all-doppler-secrets.png)\n\n### Print a specific Doppler secret\n\n```bash\ndoppler run --command='echo $SENDGRID_API_KEY'\n```\n\n![Print a specific Doppler secret](./assets/print-specific-doppler-secret.png)\n\n## Recommended Doppler Resources\n\n- [Doppler CLI](https://docs.doppler.com/docs/cli)\n- [Doppler Service Tokens](https://docs.doppler.com/docs/service-tokens)\n- [Doppler Secrets](https://docs.doppler.com/docs/secrets)\n- [Doppler Projects](https://docs.doppler.com/docs/projects)\n\n## Recommended Gitpod Resources\n\n- [Gitpod workspaces tasks](https://www.gitpod.io/docs/configure/workspaces/tasks#tasks)\n- [Environment variables](https://www.gitpod.io/docs/environment-variables#using-the-account-settings)\n- [Custom Docker Image](https://www.gitpod.io/docs/config-docker)\n- [Config `.gitpod.yml`](https://www.gitpod.io/docs/config-gitpod-file)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgitpod-samples%2Fdemo-secrets-management","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgitpod-samples%2Fdemo-secrets-management","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgitpod-samples%2Fdemo-secrets-management/lists"}