[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["很难理解","hardToUnderstand","thumb-down"],["信息或示例代码不正确","incorrectInformationOrSampleCode","thumb-down"],["没有我需要的信息/示例","missingTheInformationSamplesINeed","thumb-down"],["翻译问题","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-08-11。"],[],[],null,["# Create and manage credentials\n\nAs part of your data collection process, you need to define one or more\ncredentials that discovery client can use to access your assets.\n\nA credential provides a way to access parts of your infrastructure that\nshare the same credentials.\ndiscovery client uses this credential to access all the assets attached\nto it, unless you specify different credentials for an individual asset.\n\nWhen you add a set of credentials, they are saved locally in your system and\nencrypted. **Credentials are never sent to Migration Center**, even if\nyou're using the discovery client in connected mode.\n\nThis document describes how to create a credential and add assets to it.\n\n### Before you begin\n\n- To add credentials for Windows servers, you need an account with administrator rights to the servers.\n- To add credentials for Linux servers, you need an account with user-level access (no sudo or root privileges required).\n\n### Limitations\n\n- The discovery client supports adding up to 1000 credentials.\n\n### Add credentials for servers\n\nTo scan Linux and Windows servers, add new operating system credentials in the\ndiscovery client with the following steps:\n\n1. Click **Credentials** , then click **Add credentials**.\n2. To enter the details, click **Add OS credentials**.\n3. Enter a name to identify your credentials, then select one of the credential types available.\n - **Username \\& Password** : applicable to both Windows and Linux collections.\n - Enter domain accounts as \u003cvar translate=\"no\"\u003eDOMAIN\u003c/var\u003e`\\`\u003cvar translate=\"no\"\u003eUSERNAME\u003c/var\u003e.\n - Enter local accounts as `.\\`\u003cvar translate=\"no\"\u003eUSERNAME\u003c/var\u003e.\n - **SSH Key / Certificate** (Linux only): you can connect to a Linux machine using SSH with a certificate-based authentication instead of using a username and password combination. Enter the username and password for the certificate, then upload a new private key in the PEM format.\n4. To confirm, click **Save**.\n\n### Add vCenter Credentials\n\nTo scan a vCenter source, add the new vCenter credentials in the discovery client with the following steps:\n\n1. Click **Credentials** , then click **Add credentials**.\n2. To enter the details, click Select **Add vCenter credentials**.\n3. Enter a name to identify the credentials.\n4. Enter the username.\n5. Enter the password.\n6. To confirm, click **Save**.\n\nWhat's next\n-----------\n\n- Learn how to [add servers to a credential](/migration-center/docs/add-servers)."]]