{"id":18710729,"url":"https://github.com/apify/actor-example-secret-input","last_synced_at":"2026-01-26T04:33:12.959Z","repository":{"id":103060549,"uuid":"554713237","full_name":"apify/actor-example-secret-input","owner":"apify","description":"Example actor showcasing the secret input fields","archived":false,"fork":false,"pushed_at":"2023-12-15T08:29:17.000Z","size":53,"stargazers_count":4,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2026-01-13T16:41:26.934Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Dockerfile","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/apify.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":"2022-10-20T09:07:58.000Z","updated_at":"2025-07-20T15:30:46.000Z","dependencies_parsed_at":null,"dependency_job_id":"21276278-0c95-49ad-ab74-6e51e8824c6b","html_url":"https://github.com/apify/actor-example-secret-input","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/apify/actor-example-secret-input","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apify%2Factor-example-secret-input","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apify%2Factor-example-secret-input/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apify%2Factor-example-secret-input/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apify%2Factor-example-secret-input/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/apify","download_url":"https://codeload.github.com/apify/actor-example-secret-input/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apify%2Factor-example-secret-input/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28766886,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-26T03:54:34.369Z","status":"ssl_error","status_checked_at":"2026-01-26T03:54:33.031Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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-07T12:35:27.191Z","updated_at":"2026-01-26T04:33:12.939Z","avatar_url":"https://github.com/apify.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Example secret input actor\n\nThis Apify actor showcases how to use secret fields in the actor input.\n\n## Setting an input field as secret\n\nTo make an input field secret, just set `\"isSecret\": true` to the field in the actor's `INPUT_SCHEMA.json`, like this:\n\n```jsonc\n{\n    // ...\n    \"properties\": {\n        // ...\n        \"password\": {\n            \"title\": \"Password\",\n            \"type\": \"string\",\n            \"description\": \"A secret, encrypted input field\",\n            \"editor\": \"textfield\",\n            \"isSecret\": true\n        },\n        // ...\n    },\n    // ...\n}\n```\n\nThe editor for this input field will then turn into a secret input, and when you edit the field value, it will be stored encrypted.\n\u003cimg src=\"docs/res/secret-input-editor.png\" alt=\"Secret input editor\" style=\"width: 100%; max-width: 822px;\"/\u003e\n\n## Reading secret input fields\n\nWhen you read the actor input through `Actor.getInput()`, the encrypted fields are automatically decrypted, without any additional code needed.\n\n```js\n\u003e await Actor.getInput();\n{\n    username: 'username',\n    password: 'password'\n}\n```\n\nIf you read the `INPUT` key from the actor run's default key-value store directly, you will still get the original, encrypted input value.\n\n```js\n\u003e await Actor.getValue('INPUT');\n{\n    username: 'username',\n    password: 'ENCRYPTED_VALUE:Hw/uqRMRNHmxXYYDJCyaQX6xcwUnVYQnH4fWIlKZL2Vhtq1rZmtoGXQSnhIXmF58+DjKlMZpTlK2zN3YUXk1ylzU6LfXyysOG/PISAfwm27FUgy3IfdgMyQggQ4MydLzdlzefX0mPRyixBviRcFhRTC+K7nK9lkATt3wJpj91YAZm104ZYkcd5KmsU2JX39vxN0A0lX53NjIenzs3wYPaPYLdjKIe+nqG9fHlL7kALyi7Htpy91ZgnQJ1s9saJRkKfWXvmLYIo5db69zU9dGCeJzUc0ca154O+KYYP7QTebJxqZNQsC8EH6sVMQU3W0qYKjuN8fUm1fRzyw/kKFacQ==:VfQd2ZbUt3S0RZ2ciywEWYVBbTTZOTiy'\n}\n```\n\n## Further information\n\nYou can find out more about the secret input feature in the [secret input docs](https://docs.apify.com/actors/development/secret-input).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapify%2Factor-example-secret-input","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fapify%2Factor-example-secret-input","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapify%2Factor-example-secret-input/lists"}