> [!WARNING]
>
> **Preview**
>
>
> This product or feature is
>
> subject to the "Pre-GA Offerings Terms" in the General Service Terms section
> of the [Service Specific
> Terms](https://docs.cloud.google.com/terms/service-terms#1).
>
> Pre-GA products and features are available "as is" and might have limited support.
>
> For more information, see the
> [launch stage descriptions](https://cloud.google.com/products/#product-launch-stages).

This document describes how to get a list of all parameter templates within a project
and view metadata associated with each parameter template.

A parameter template acts as a container for its versions. While the parameter template stores
metadata such as name and format, the individual parameter template versions hold the
data payload.

## Required roles


To get the permissions that
you need to list parameter templates,

ask your administrator to grant you the
[Parameter Manager Parameter Viewer](https://docs.cloud.google.com/iam/docs/roles-permissions/parametermanager.md.txt#parametermanager.parameterViewer) (`roles/parametermanager.parameterViewer`) IAM role on the project, folder, or organization.


For more information about granting roles, see [Manage access to projects, folders, and organizations](https://docs.cloud.google.com/iam/docs/granting-changing-revoking-access.md.txt).


This predefined role contains

the permissions required to list parameter templates. To see the exact permissions that are
required, expand the **Required permissions** section:


#### Required permissions

The following permissions are required to list parameter templates:

- List all the parameter templates: `parametermanager.templates.list`
- View the details of a parameter template: `parametermanager.templates.get`


You might also be able to get
these permissions
with [custom roles](https://docs.cloud.google.com/iam/docs/creating-custom-roles.md.txt) or
other [predefined roles](https://docs.cloud.google.com/iam/docs/roles-overview.md.txt#predefined).

## List all parameter templates

To list all parameter templates in a project, folder, or organization, use one of the
following methods:

**Global parameters**

### Console

1. In the Google Cloud console, go to the **Parameter Manager** page.


   [Go to Parameter Manager](https://console.cloud.google.com/security/parametermanager/parameters)
2. Navigate to the **Templates** tab. You'll see a list of all the parameter templates
   in that project.

### REST


Before using any of the request data,
make the following replacements:

- <var translate="no">PROJECT_ID</var>: the Google Cloud project ID


HTTP method and URL:

```
GET https://parametermanager.googleapis.com/v1/projects/PROJECT_ID/locations/global/templates
```


Request JSON body:

```
{}
```

To send your request, choose one of these options:

#### curl

> [!NOTE]
> **Note:** The following command assumes that you have logged in to the `gcloud` CLI with your user account by running [`gcloud init`](https://docs.cloud.google.com/sdk/gcloud/reference/init) or [`gcloud auth login`](https://docs.cloud.google.com/sdk/gcloud/reference/auth/login.md.txt) , or by using [Cloud Shell](https://docs.cloud.google.com/shell/docs.md.txt), which automatically logs you into the `gcloud` CLI . You can check the currently active account by running [`gcloud auth list`](https://docs.cloud.google.com/sdk/gcloud/reference/auth/list.md.txt).


Save the request body in a file named `request.json`,
and execute the following command:

```
curl -X GET \
     -H "Authorization: Bearer $(gcloud auth print-access-token)" \
     -H "Content-Type: application/json; charset=utf-8" \
     -d @request.json \
     "https://parametermanager.googleapis.com/v1/projects/PROJECT_ID/locations/global/templates"
```

#### PowerShell

> [!NOTE]
> **Note:** The following command assumes that you have logged in to the `gcloud` CLI with your user account by running [`gcloud init`](https://docs.cloud.google.com/sdk/gcloud/reference/init) or [`gcloud auth login`](https://docs.cloud.google.com/sdk/gcloud/reference/auth/login.md.txt) . You can check the currently active account by running [`gcloud auth list`](https://docs.cloud.google.com/sdk/gcloud/reference/auth/list.md.txt).


Save the request body in a file named `request.json`,
and execute the following command:

```
$cred = gcloud auth print-access-token
$headers = @{ "Authorization" = "Bearer $cred" }

Invoke-WebRequest `
    -Method GET `
    -Headers $headers `
    -ContentType: "application/json; charset=utf-8" `
    -InFile request.json `
    -Uri "https://parametermanager.googleapis.com/v1/projects/PROJECT_ID/locations/global/templates" | Select-Object -Expand Content
```

You should receive a JSON response similar to the following:

```
{
  "templates": [
    {
      "name": "projects/123456789012/locations/global/templates/payment_service_blueprint",
      "createTime": "2026-03-02T09:21:02.978190Z",
      "updateTime": "2026-03-02T09:21:55.050862Z",
      "labels": {
        "env": "prod",
        "team": "payments"
      },
      "format": "TEMPLATE_FORMAT_YAML"
    },
    {
      "name": "projects/123456789012/locations/global/templates/user_profile_template",
      "createTime": "2026-03-11T10:34:25.682009Z",
      "updateTime": "2026-03-11T10:34:25.824904Z",
      "format": "TEMPLATE_FORMAT_YAML"
    }
  ]
}

```

**Regional parameters**

### Console

1. In the Google Cloud console, go to the **Parameter Manager** page.


   [Go to Parameter Manager](https://console.cloud.google.com/security/parametermanager/parameters)
2. Navigate to the **Templates** tab. You'll see a list of all the parameter templates
   in that project.

### REST


Before using any of the request data,
make the following replacements:

- <var translate="no">PROJECT_ID</var>: the Google Cloud project ID
- <var translate="no">LOCATION</var>: the Google Cloud [location](https://docs.cloud.google.com/secret-manager/docs/locations.md.txt) of the parameters


HTTP method and URL:

```
GET https://parametermanager.googleapis.com/v1/projects/PROJECT_ID/locations/LOCATION/templates
```


Request JSON body:

```
{}
```

To send your request, choose one of these options:

#### curl

> [!NOTE]
> **Note:** The following command assumes that you have logged in to the `gcloud` CLI with your user account by running [`gcloud init`](https://docs.cloud.google.com/sdk/gcloud/reference/init) or [`gcloud auth login`](https://docs.cloud.google.com/sdk/gcloud/reference/auth/login.md.txt) , or by using [Cloud Shell](https://docs.cloud.google.com/shell/docs.md.txt), which automatically logs you into the `gcloud` CLI . You can check the currently active account by running [`gcloud auth list`](https://docs.cloud.google.com/sdk/gcloud/reference/auth/list.md.txt).


Save the request body in a file named `request.json`,
and execute the following command:

```
curl -X GET \
     -H "Authorization: Bearer $(gcloud auth print-access-token)" \
     -H "Content-Type: application/json; charset=utf-8" \
     -d @request.json \
     "https://parametermanager.googleapis.com/v1/projects/PROJECT_ID/locations/LOCATION/templates"
```

#### PowerShell

> [!NOTE]
> **Note:** The following command assumes that you have logged in to the `gcloud` CLI with your user account by running [`gcloud init`](https://docs.cloud.google.com/sdk/gcloud/reference/init) or [`gcloud auth login`](https://docs.cloud.google.com/sdk/gcloud/reference/auth/login.md.txt) . You can check the currently active account by running [`gcloud auth list`](https://docs.cloud.google.com/sdk/gcloud/reference/auth/list.md.txt).


Save the request body in a file named `request.json`,
and execute the following command:

```
$cred = gcloud auth print-access-token
$headers = @{ "Authorization" = "Bearer $cred" }

Invoke-WebRequest `
    -Method GET `
    -Headers $headers `
    -ContentType: "application/json; charset=utf-8" `
    -InFile request.json `
    -Uri "https://parametermanager.googleapis.com/v1/projects/PROJECT_ID/locations/LOCATION/templates" | Select-Object -Expand Content
```

You should receive a JSON response similar to the following:

```
{
  "templates": [
    {
      "name": "projects/123456789012/locations/us-central1/templates/payment_service_blueprint",
      "createTime": "2026-03-02T09:21:02.978190Z",
      "updateTime": "2026-03-02T09:21:55.050862Z",
      "labels": {
        "env": "prod",
        "team": "payments"
      },
      "format": "TEMPLATE_FORMAT_YAML"
    },
    {
      "name": "projects/123456789012/locations/us-central1/templates/user_profile_template",
      "createTime": "2026-03-11T10:34:25.682009Z",
      "updateTime": "2026-03-11T10:34:25.824904Z",
      "format": "TEMPLATE_FORMAT_YAML"
    }
  ]
}

```

## View parameter template details

To view the details of a specific parameter template, use one of the following methods:

**Global parameters**

### Console

1. In the Google Cloud console, go to the **Parameter Manager** page.


   [Go to Parameter Manager](https://console.cloud.google.com/security/parametermanager/parameters)
2. Navigate to the **Templates** tab. You'll see a list of all the parameter templates
   in that project.

3. Click the name of the parameter template to view its details.

4. On the parameter template details page, click the **Overview** tab, where the general details
   and metadata associated with the parameter template are displayed.

### REST


Before using any of the request data,
make the following replacements:

- <var translate="no">PROJECT_ID</var>: the Google Cloud project ID
- <var translate="no">TEMPLATE_ID</var>: the name of the parameter template


HTTP method and URL:

```
GET https://parametermanager.googleapis.com/v1/projects/PROJECT_ID/locations/global/templates/TEMPLATE_ID
```


Request JSON body:

```
{}
```

To send your request, choose one of these options:

#### curl

> [!NOTE]
> **Note:** The following command assumes that you have logged in to the `gcloud` CLI with your user account by running [`gcloud init`](https://docs.cloud.google.com/sdk/gcloud/reference/init) or [`gcloud auth login`](https://docs.cloud.google.com/sdk/gcloud/reference/auth/login.md.txt) , or by using [Cloud Shell](https://docs.cloud.google.com/shell/docs.md.txt), which automatically logs you into the `gcloud` CLI . You can check the currently active account by running [`gcloud auth list`](https://docs.cloud.google.com/sdk/gcloud/reference/auth/list.md.txt).


Save the request body in a file named `request.json`,
and execute the following command:

```
curl -X GET \
     -H "Authorization: Bearer $(gcloud auth print-access-token)" \
     -H "Content-Type: application/json; charset=utf-8" \
     -d @request.json \
     "https://parametermanager.googleapis.com/v1/projects/PROJECT_ID/locations/global/templates/TEMPLATE_ID"
```

#### PowerShell

> [!NOTE]
> **Note:** The following command assumes that you have logged in to the `gcloud` CLI with your user account by running [`gcloud init`](https://docs.cloud.google.com/sdk/gcloud/reference/init) or [`gcloud auth login`](https://docs.cloud.google.com/sdk/gcloud/reference/auth/login.md.txt) . You can check the currently active account by running [`gcloud auth list`](https://docs.cloud.google.com/sdk/gcloud/reference/auth/list.md.txt).


Save the request body in a file named `request.json`,
and execute the following command:

```
$cred = gcloud auth print-access-token
$headers = @{ "Authorization" = "Bearer $cred" }

Invoke-WebRequest `
    -Method GET `
    -Headers $headers `
    -ContentType: "application/json; charset=utf-8" `
    -InFile request.json `
    -Uri "https://parametermanager.googleapis.com/v1/projects/PROJECT_ID/locations/global/templates/TEMPLATE_ID" | Select-Object -Expand Content
```

You should receive a JSON response similar to the following:

```
{
  "name": "projects/123456789012/locations/global/templates/payment_service_blueprint",
  "createTime": "2026-03-02T09:21:02.978190Z",
  "updateTime": "2026-03-02T09:21:55.050862Z",
  "labels": {
    "env": "prod",
    "team": "payments"
  },
  "format": "TEMPLATE_FORMAT_YAML"
}
```

**Regional parameters**

### Console

1. In the Google Cloud console, go to the **Parameter Manager** page.


   [Go to Parameter Manager](https://console.cloud.google.com/security/parametermanager/parameters)
2. Navigate to the **Templates** tab. You'll see a list of all the parameter templates
   in that project.

3. Click the name of the parameter template to view its details.

4. On the parameter template details page, click the **Overview** tab, where the general details
   and metadata associated with the parameter template are displayed.

### REST


Before using any of the request data,
make the following replacements:

- <var translate="no">PROJECT_ID</var>: the Google Cloud project ID
- <var translate="no">LOCATION</var>: the Google Cloud [location](https://docs.cloud.google.com/secret-manager/docs/locations.md.txt) of the parameter
- <var translate="no">TEMPLATE_ID</var>: the name of the parameter template


HTTP method and URL:

```
GET https://parametermanager.googleapis.com/v1/projects/PROJECT_ID/locations/LOCATION/templates/TEMPLATE_ID
```


Request JSON body:

```
{}
```

To send your request, choose one of these options:

#### curl

> [!NOTE]
> **Note:** The following command assumes that you have logged in to the `gcloud` CLI with your user account by running [`gcloud init`](https://docs.cloud.google.com/sdk/gcloud/reference/init) or [`gcloud auth login`](https://docs.cloud.google.com/sdk/gcloud/reference/auth/login.md.txt) , or by using [Cloud Shell](https://docs.cloud.google.com/shell/docs.md.txt), which automatically logs you into the `gcloud` CLI . You can check the currently active account by running [`gcloud auth list`](https://docs.cloud.google.com/sdk/gcloud/reference/auth/list.md.txt).


Save the request body in a file named `request.json`,
and execute the following command:

```
curl -X GET \
     -H "Authorization: Bearer $(gcloud auth print-access-token)" \
     -H "Content-Type: application/json; charset=utf-8" \
     -d @request.json \
     "https://parametermanager.googleapis.com/v1/projects/PROJECT_ID/locations/LOCATION/templates/TEMPLATE_ID"
```

#### PowerShell

> [!NOTE]
> **Note:** The following command assumes that you have logged in to the `gcloud` CLI with your user account by running [`gcloud init`](https://docs.cloud.google.com/sdk/gcloud/reference/init) or [`gcloud auth login`](https://docs.cloud.google.com/sdk/gcloud/reference/auth/login.md.txt) . You can check the currently active account by running [`gcloud auth list`](https://docs.cloud.google.com/sdk/gcloud/reference/auth/list.md.txt).


Save the request body in a file named `request.json`,
and execute the following command:

```
$cred = gcloud auth print-access-token
$headers = @{ "Authorization" = "Bearer $cred" }

Invoke-WebRequest `
    -Method GET `
    -Headers $headers `
    -ContentType: "application/json; charset=utf-8" `
    -InFile request.json `
    -Uri "https://parametermanager.googleapis.com/v1/projects/PROJECT_ID/locations/LOCATION/templates/TEMPLATE_ID" | Select-Object -Expand Content
```

You should receive a JSON response similar to the following:

```
{
  "name": "projects/123456789012/locations/us-central1/templates/payment_service_blueprint",
  "createTime": "2026-03-02T09:21:02.978190Z",
  "updateTime": "2026-03-02T09:21:55.050862Z",
  "labels": {
    "env": "prod",
    "team": "payments"
  },
  "format": "TEMPLATE_FORMAT_YAML"
}
```

## What's next

- [Edit a parameter template](https://docs.cloud.google.com/secret-manager/parameter-manager/docs/edit-parameter-template.md.txt)
- [Delete a parameter template](https://docs.cloud.google.com/secret-manager/parameter-manager/docs/delete-parameter-templates.md.txt)