[[["易于理解","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-25。"],[],[],null,["# Access control\n\nTo use the generative AI features on Vertex AI, the principals (for\nexample, users, groups, and\n[service accounts](/vertex-ai/docs/general/access-control#service-agents))\nin your project need to be granted the appropriate IAM role. You\ncan also create custom roles to grant a user-defined set of permissions to a\nprincipal. This page shows you the applicable IAM roles to grant\nand the specific permissions needed for each operation so you can create custom\nroles.\n\nPredefined roles\n----------------\n\nYou can grant the users or groups in your project one of the following\npredefined roles to give them access to the generative AI features on\nVertex AI:\n\n- [Vertex AI Administrator (`roles/aiplatform.admin`)](/vertex-ai/docs/general/access-control#aiplatform.admin)\n- [Vertex AI User (`roles/aiplatform.user`)](/vertex-ai/docs/general/access-control#aiplatform.user)\n\nTo learn more about Vertex AI IAM roles, see\n[Vertex AI access control with IAM](/vertex-ai/docs/general/access-control).\n\nPermissions\n-----------\n\nThe following table maps generative AI operations to the permissions required\nfor the operation. If you need fine-grained access control, you can refer to\nthese mappings to create custom roles.\n\nTo learn more about Vertex AI IAM permissions, see\n[IAM permissions](/vertex-ai/docs/general/iam-permissions).\n\nWhat's next\n-----------\n\n- Learn how to [enable Data Access audit logs](/vertex-ai/generative-ai/docs/enable-audit-logs).\n- Learn more about [access control with IAM](/vertex-ai/docs/general/access-control).\n- Learn how to [tune a foundation model](/vertex-ai/generative-ai/docs/models/tune-models).\n- Learn about [responsible AI best practices and Vertex AI's safety filters](/vertex-ai/generative-ai/docs/learn/responsible-ai)."]]