---
title: Rancher Project List
slug: homologacao-atmosphere/rancher-project-list
description: Learn how to use the "rancher_project_list" command to effortlessly list projects in Rancher. This comprehensive document outlines the necessary parameters, including Rancher API URL, access key, secret key, and project search filters. Additionally, disco
docTags: 
createdAt: 2021-03-25T19:45:25.000Z
---

## Resumo

- Listar projetos do Rancher.

## Parâmetros

| **Parâmetro**                         | **Tipo**   | **Escolhas \| Valor Padrão**                 | **Comentários**                                 |
| ------------------------------------- | ---------- | -------------------------------------------- | ----------------------------------------------- |
| url - *required*                      | string     |                                              | Url da API Rancher.                             |
| access\_key - *required*              | string     |                                              | Chave de acesso da API Rancher.                 |
| secret\_key - *required       &#x20;* | string     |                                              | Rancher Secret.                                 |
| filter - *required*                   | dictionary |                                              | Filtros a serem usados na busca de projetos.    |
| quiet                                 | boolean    | Escolhas:<br />- false (default)<br />- true | Se marcado, retorna apenas os id's dos projetos |



## Exemplos

```yaml
# Exemplo: Listar projetos do Rancher
- rancher_project_list:
    url: http://url/api-version
    access_key: access_key
    secret_key: secret_key
```

