Escolha se você quer tornar o repositório privado ou público. Escolha um
repositório público para ativar o acesso não autenticado ou um
repositório privado para o acesso autenticado.
Se o repositório for privado, o Apt vai usar o auxiliar de credenciais do Apt para
autenticar o acesso com base nas permissões do Identity and Access Management.
Se o repositório for público, ele estará disponível para
qualquer pessoa na Internet, sem autenticação. É possível configurar
o acesso baseado em rede a um repositório público usando um perímetro de serviço
da VPC. Consulte
Como proteger repositórios em um perímetro de serviço
para mais informações.
[[["Fácil de entender","easyToUnderstand","thumb-up"],["Meu problema foi resolvido","solvedMyProblem","thumb-up"],["Outro","otherUp","thumb-up"]],[["Difícil de entender","hardToUnderstand","thumb-down"],["Informações incorretas ou exemplo de código","incorrectInformationOrSampleCode","thumb-down"],["Não contém as informações/amostras de que eu preciso","missingTheInformationSamplesINeed","thumb-down"],["Problema na tradução","translationIssue","thumb-down"],["Outro","otherDown","thumb-down"]],["Última atualização 2025-08-18 UTC."],[[["\u003cp\u003eArtifact Registry manages Debian packages using Apt.\u003c/p\u003e\n"],["\u003cp\u003eRepositories can be set as private, requiring authentication with IAM permissions, or public, enabling unauthenticated access.\u003c/p\u003e\n"],["\u003cp\u003eAccess to private repositories requires granting permissions to the VMs that will be utilizing it.\u003c/p\u003e\n"],["\u003cp\u003eApt package managers and the repository must be configured so that the virtual machine can install packages.\u003c/p\u003e\n"],["\u003cp\u003eYou can manage packages in Artifact Registry by adding, viewing, installing, and deleting them.\u003c/p\u003e\n"]]],[],null,["# Manage Debian packages\n\nArtifact Registry supports Debian packages that you manage with Apt.\n\nOverview\n--------\n\nTo get familiar with Apt repositories in Artifact Registry, you can try the\n[Quickstart for Apt](/artifact-registry/docs/os-packages/debian/apt-quickstart).\n\nWhen you are ready to learn more, read the following information:\n\n1. [Create a repository](/artifact-registry/docs/repositories/create-repos) for the package type that you want to use.\n2. Choose whether you want to make your repository private or public. Choose a public repository to enable unauthenticated access, or choose a private repository for authenticated access.\n - If your repository is private, Apt uses the Apt credential helper to authenticate access to based on Identity and Access Management permissions.\n - If your repository is public, your repository is available to anyone on the internet, without authentication. You can configure network-based access to a public repository by using a VPC service perimeter. See [Securing repositories in a service perimeter](/artifact-registry/docs/securing-with-vpc-sc) for more information.\n3. Configure access to your repository.\n - If your repository is private, [grant repository access permissions](/artifact-registry/docs/access-control#compute) to your VM.\n - If your repository is public, [configure public access to the repository](/artifact-registry/docs/access-control#public).\n4. [Configure](/artifact-registry/docs/os-packages/debian/configure) the package manager and the repository so that VMs can install packages.\n5. [Add, view, install, and delete](/artifact-registry/docs/os-packages/debian/manage-packages) packages."]]