{"id":20187770,"url":"https://github.com/bitrise-steplib/steps-authenticate-host-with-netrc","last_synced_at":"2025-04-10T06:44:23.091Z","repository":{"id":46570902,"uuid":"88044138","full_name":"bitrise-steplib/steps-authenticate-host-with-netrc","owner":"bitrise-steplib","description":null,"archived":false,"fork":false,"pushed_at":"2023-08-18T08:18:36.000Z","size":84,"stargazers_count":4,"open_issues_count":0,"forks_count":5,"subscribers_count":11,"default_branch":"master","last_synced_at":"2025-03-24T07:52:20.375Z","etag":null,"topics":["bitrise","bitrise-step","ci","production-code"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bitrise-steplib.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-04-12T11:26:33.000Z","updated_at":"2024-09-11T21:07:15.000Z","dependencies_parsed_at":"2024-06-19T17:35:10.278Z","dependency_job_id":"bf68dc76-02df-42cb-b52b-7952ba545aca","html_url":"https://github.com/bitrise-steplib/steps-authenticate-host-with-netrc","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitrise-steplib%2Fsteps-authenticate-host-with-netrc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitrise-steplib%2Fsteps-authenticate-host-with-netrc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitrise-steplib%2Fsteps-authenticate-host-with-netrc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitrise-steplib%2Fsteps-authenticate-host-with-netrc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bitrise-steplib","download_url":"https://codeload.github.com/bitrise-steplib/steps-authenticate-host-with-netrc/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248173826,"owners_count":21059595,"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":["bitrise","bitrise-step","ci","production-code"],"created_at":"2024-11-14T03:25:56.409Z","updated_at":"2025-04-10T06:44:23.071Z","avatar_url":"https://github.com/bitrise-steplib.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Authenticate host with netrc\n\n[![Step changelog](https://shields.io/github/v/release/bitrise-steplib/steps-authenticate-host-with-netrc?include_prereleases\u0026label=changelog\u0026color=blueviolet)](https://github.com/bitrise-steplib/steps-authenticate-host-with-netrc/releases)\n\nAdds your authentication configuration to the `.netrc` file.\n\n\u003cdetails\u003e\n\u003csummary\u003eDescription\u003c/summary\u003e\n\n[This Step](https://github.com/bitrise-steplib/steps-authenticate-host-with-netrc) adds the authentication configuration (host name, login name and password string) to the `.netrc` file .\nThe Step lets you store your remote credentials on the build VM once so that later steps can use the credentials for authentication instead of requiring manual input. Examples include HTTPS git clone URLs with OAuth token-based authentication (instead of authenticating with SSH key).\nPlease note that if you already have a `.netrc` file, the Step will create a backup of the original, and appends the configs to the current one.\n\n### Configuring the Step\n1.Add the **Host** name, where the username and password will be used, for example, github.com.\n2.Add the **Username**.\n3.Add the password or the authentication token/ access token in the respective field which will be used by the host to authenticate you.\n\n### Useful links\n- [Learn more what the .netrc file format comprises of](https://everything.curl.dev/usingcurl/netrc#the-netrc-file-format)\n\n### Related Steps\n- [Activate SSH key (RSA private key)](https://www.bitrise.io/integrations/steps/activate-ssh-key)\n- [Connect to OpenVPN Server](https://www.bitrise.io/integrations/steps/flutter-installer)\n\u003c/details\u003e\n\n## 🧩 Get started\n\nAdd this step directly to your workflow in the [Bitrise Workflow Editor](https://devcenter.bitrise.io/steps-and-workflows/steps-and-workflows-index/).\n\nYou can also run this step directly with [Bitrise CLI](https://github.com/bitrise-io/bitrise).\n\n## ⚙️ Configuration\n\n\u003cdetails\u003e\n\u003csummary\u003eInputs\u003c/summary\u003e\n\n| Key | Description | Flags | Default |\n| --- | --- | --- | --- |\n| `host` | The host where the username and password will be used. For example: github.com | required |  |\n| `username` | The username used for the host to authenticate. | required, sensitive |  |\n| `password` | The password (or Auth Token/Access Token) used for the host to authenticate. | required, sensitive |  |\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003eOutputs\u003c/summary\u003e\nThere are no outputs defined in this step\n\u003c/details\u003e\n\n## 🙋 Contributing\n\nWe welcome [pull requests](https://github.com/bitrise-steplib/steps-authenticate-host-with-netrc/pulls) and [issues](https://github.com/bitrise-steplib/steps-authenticate-host-with-netrc/issues) against this repository.\n\nFor pull requests, work on your changes in a forked repository and use the Bitrise CLI to [run step tests locally](https://devcenter.bitrise.io/bitrise-cli/run-your-first-build/).\n\nLearn more about developing steps:\n\n- [Create your own step](https://devcenter.bitrise.io/contributors/create-your-own-step/)\n- [Testing your Step](https://devcenter.bitrise.io/contributors/testing-and-versioning-your-steps/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbitrise-steplib%2Fsteps-authenticate-host-with-netrc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbitrise-steplib%2Fsteps-authenticate-host-with-netrc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbitrise-steplib%2Fsteps-authenticate-host-with-netrc/lists"}