{"id":18820637,"url":"https://github.com/valentinfunk/secrets-api","last_synced_at":"2025-07-31T12:08:32.887Z","repository":{"id":76051393,"uuid":"157739264","full_name":"ValentinFunk/secrets-api","owner":"ValentinFunk","description":null,"archived":false,"fork":false,"pushed_at":"2018-11-15T16:16:31.000Z","size":142,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-02T23:02:02.264Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/ValentinFunk.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-11-15T16:16:23.000Z","updated_at":"2018-11-15T16:16:34.000Z","dependencies_parsed_at":"2023-03-24T07:48:20.351Z","dependency_job_id":null,"html_url":"https://github.com/ValentinFunk/secrets-api","commit_stats":null,"previous_names":["valentinfunk/secrets-api","kamshak/secrets-api"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ValentinFunk%2Fsecrets-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ValentinFunk%2Fsecrets-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ValentinFunk%2Fsecrets-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ValentinFunk%2Fsecrets-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ValentinFunk","download_url":"https://codeload.github.com/ValentinFunk/secrets-api/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239758832,"owners_count":19692034,"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-08T00:29:21.275Z","updated_at":"2025-02-20T00:45:32.704Z","avatar_url":"https://github.com/ValentinFunk.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Easy HTTP Interface to get Runtime Configuration for CI.\n\nTo create a new config (needs access to the secrets project in gcloud):\n```\ngcloud beta runtime-config configs create 'projectname-production'\ngcloud beta runtime-config configs create 'projectname-staging'\n```\n\nTo set variables (Variable names will be transformed from lowercase to uppercase, separated by underscores):\n```\ngcloud beta runtime-config configs variables set \\\n    my-variable-name my-value \\\n    --is-text --config-name projectname-staging\n```\nWill make MY_VARIABLE_NAME=my-value available.\n\nMeant to be consumed like this:\n```\nexport `curl -H \"Accept: text/x-shell-export\" https://secrets-service/${PROJECT}/staging -H \"Authorization: ${GCP_SERVICE_ACC}\"`\n```\n\n### Endpoints\n\n\n#### Reading Configuration in ENV compatible format\n\n**/projects/\\\u003cprojectname\\\u003e**\n\nAuthorization: \\\u003cJSON Service Account\\\u003e\n\n**Returns:**\nAll stored variables. Pass Accept: text/x-shell-export header to get the variables as shell escaped, space separated variables\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvalentinfunk%2Fsecrets-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvalentinfunk%2Fsecrets-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvalentinfunk%2Fsecrets-api/lists"}