{
  "info": {
    "_postman_id": "5e93ad14-2895-4417-b3f6-db76cc133d51",
    "name": "Google Cloud Secret Manager Secret Versions API",
    "description": "The Secret Manager API enables creating, managing, and accessing secrets and their versions, providing secure storage for sensitive configuration data and credentials.\n\nContact Support:\n Name: Google Cloud",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "createdAt": "2026-07-28T01:48:13.000Z",
    "updatedAt": "2026-07-28T01:48:13.000Z",
    "lastUpdatedBy": "35240",
    "uid": "35240-5e93ad14-2895-4417-b3f6-db76cc133d51"
  },
  "item": [
    {
      "name": "projects",
      "item": [
        {
          "name": "{projectId}",
          "item": [
            {
              "name": "secrets",
              "item": [
                {
                  "name": "{secretId}:addVersion",
                  "item": [
                    {
                      "name": "Google Cloud Secret Manager Add a secret version",
                      "id": "5fa826ba-7d76-44ee-aee8-7d14719f2b7a",
                      "protocolProfileBehavior": {
                        "disableBodyPruning": true
                      },
                      "request": {
                        "method": "POST",
                        "header": [
                          {
                            "key": "Content-Type",
                            "value": "application/json"
                          },
                          {
                            "key": "Accept",
                            "value": "application/json"
                          }
                        ],
                        "body": {
                          "mode": "raw",
                          "raw": "{\n  \"payload\": {\n    \"data\": \"<string>\"\n  }\n}",
                          "options": {
                            "raw": {
                              "headerFamily": "json",
                              "language": "json"
                            }
                          }
                        },
                        "url": {
                          "raw": "{{baseUrl}}/projects/:projectId/secrets/{{secretId}}:addVersion",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "projects",
                            ":projectId",
                            "secrets",
                            "{{secretId}}:addVersion"
                          ],
                          "variable": [
                            {
                              "id": "8b7b85d8-e93c-4f7f-9b57-d50fea00131d",
                              "key": "projectId",
                              "value": "<string>",
                              "description": "(Required) "
                            }
                          ]
                        },
                        "description": "Creates a new secret version containing secret data."
                      },
                      "response": [
                        {
                          "id": "e56a641e-3821-411a-ad6a-9674626294f6",
                          "name": "Successful response",
                          "originalRequest": {
                            "method": "POST",
                            "header": [
                              {
                                "key": "Content-Type",
                                "value": "application/json"
                              },
                              {
                                "key": "Accept",
                                "value": "application/json"
                              }
                            ],
                            "body": {
                              "mode": "raw",
                              "raw": "{\n  \"payload\": {\n    \"data\": \"<string>\"\n  }\n}",
                              "options": {
                                "raw": {
                                  "headerFamily": "json",
                                  "language": "json"
                                }
                              }
                            },
                            "url": {
                              "raw": "{{baseUrl}}/projects/:projectId/secrets/{{secretId}}:addVersion",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "projects",
                                ":projectId",
                                "secrets",
                                "{{secretId}}:addVersion"
                              ],
                              "variable": [
                                {
                                  "key": "projectId"
                                }
                              ]
                            }
                          },
                          "status": "OK",
                          "code": 200,
                          "_postman_previewlanguage": "json",
                          "header": [
                            {
                              "key": "Content-Type",
                              "value": "application/json"
                            }
                          ],
                          "cookie": [],
                          "responseTime": null,
                          "body": "{\n  \"name\": \"<string>\",\n  \"createTime\": \"<dateTime>\",\n  \"destroyTime\": \"<dateTime>\",\n  \"state\": \"ENABLED\",\n  \"etag\": \"<string>\",\n  \"replicationStatus\": {},\n  \"clientSpecifiedPayloadChecksum\": \"<boolean>\"\n}",
                          "createdAt": "2026-07-28T01:48:14.000Z",
                          "updatedAt": "2026-07-28T01:48:14.000Z",
                          "uid": "35240-e56a641e-3821-411a-ad6a-9674626294f6"
                        }
                      ],
                      "createdAt": "2026-07-28T01:48:14.000Z",
                      "updatedAt": "2026-07-28T01:48:14.000Z",
                      "uid": "35240-5fa826ba-7d76-44ee-aee8-7d14719f2b7a"
                    }
                  ],
                  "id": "4cc808e7-502e-4a01-87a1-4b9f912b64d9",
                  "createdAt": "2026-07-28T01:48:14.000Z",
                  "updatedAt": "2026-07-28T01:48:14.000Z",
                  "uid": "35240-4cc808e7-502e-4a01-87a1-4b9f912b64d9"
                },
                {
                  "name": "{secretId}",
                  "item": [
                    {
                      "name": "versions",
                      "item": [
                        {
                          "name": "{versionId}:access",
                          "item": [
                            {
                              "name": "Google Cloud Secret Manager Access a secret version",
                              "id": "85e78c70-320a-48b1-9a0e-5f7907d1d4cc",
                              "protocolProfileBehavior": {
                                "disableBodyPruning": true
                              },
                              "request": {
                                "method": "GET",
                                "header": [
                                  {
                                    "key": "Accept",
                                    "value": "application/json"
                                  }
                                ],
                                "url": {
                                  "raw": "{{baseUrl}}/projects/:projectId/secrets/:secretId/versions/{{versionId}}:access",
                                  "host": [
                                    "{{baseUrl}}"
                                  ],
                                  "path": [
                                    "projects",
                                    ":projectId",
                                    "secrets",
                                    ":secretId",
                                    "versions",
                                    "{{versionId}}:access"
                                  ],
                                  "variable": [
                                    {
                                      "id": "73b37742-4afd-4703-9871-c707cad461cc",
                                      "key": "projectId",
                                      "value": "<string>",
                                      "description": "(Required) "
                                    },
                                    {
                                      "id": "ced41819-d555-472c-84d2-02e87ba8cc5e",
                                      "key": "secretId",
                                      "value": "<string>",
                                      "description": "(Required) "
                                    }
                                  ]
                                },
                                "description": "Accesses a secret version's data."
                              },
                              "response": [
                                {
                                  "id": "ef2e535c-f74a-4d38-9b2a-bbe393d87a97",
                                  "name": "Successful response",
                                  "originalRequest": {
                                    "method": "GET",
                                    "header": [
                                      {
                                        "key": "Accept",
                                        "value": "application/json"
                                      }
                                    ],
                                    "url": {
                                      "raw": "{{baseUrl}}/projects/:projectId/secrets/:secretId/versions/{{versionId}}:access",
                                      "host": [
                                        "{{baseUrl}}"
                                      ],
                                      "path": [
                                        "projects",
                                        ":projectId",
                                        "secrets",
                                        ":secretId",
                                        "versions",
                                        "{{versionId}}:access"
                                      ],
                                      "variable": [
                                        {
                                          "key": "projectId"
                                        },
                                        {
                                          "key": "secretId"
                                        }
                                      ]
                                    }
                                  },
                                  "status": "OK",
                                  "code": 200,
                                  "_postman_previewlanguage": "json",
                                  "header": [
                                    {
                                      "key": "Content-Type",
                                      "value": "application/json"
                                    }
                                  ],
                                  "cookie": [],
                                  "responseTime": null,
                                  "body": "{\n  \"name\": \"<string>\",\n  \"payload\": {\n    \"data\": \"<string>\",\n    \"dataCrc32c\": \"<string>\"\n  }\n}",
                                  "createdAt": "2026-07-28T01:48:14.000Z",
                                  "updatedAt": "2026-07-28T01:48:14.000Z",
                                  "uid": "35240-ef2e535c-f74a-4d38-9b2a-bbe393d87a97"
                                }
                              ],
                              "createdAt": "2026-07-28T01:48:14.000Z",
                              "updatedAt": "2026-07-28T01:48:14.000Z",
                              "uid": "35240-85e78c70-320a-48b1-9a0e-5f7907d1d4cc"
                            }
                          ],
                          "id": "169a2058-87bc-4dd5-ba67-66b4ad97fc20",
                          "createdAt": "2026-07-28T01:48:14.000Z",
                          "updatedAt": "2026-07-28T01:48:14.000Z",
                          "uid": "35240-169a2058-87bc-4dd5-ba67-66b4ad97fc20"
                        },
                        {
                          "name": "{versionId}:destroy",
                          "item": [
                            {
                              "name": "Google Cloud Secret Manager Destroy a secret version",
                              "id": "234a24ac-32a4-40c7-813e-235b4dd6e790",
                              "protocolProfileBehavior": {
                                "disableBodyPruning": true
                              },
                              "request": {
                                "method": "POST",
                                "header": [
                                  {
                                    "key": "Content-Type",
                                    "value": "application/json"
                                  },
                                  {
                                    "key": "Accept",
                                    "value": "application/json"
                                  }
                                ],
                                "body": {
                                  "mode": "raw",
                                  "raw": "{\n  \"etag\": \"<string>\"\n}",
                                  "options": {
                                    "raw": {
                                      "headerFamily": "json",
                                      "language": "json"
                                    }
                                  }
                                },
                                "url": {
                                  "raw": "{{baseUrl}}/projects/:projectId/secrets/:secretId/versions/{{versionId}}:destroy",
                                  "host": [
                                    "{{baseUrl}}"
                                  ],
                                  "path": [
                                    "projects",
                                    ":projectId",
                                    "secrets",
                                    ":secretId",
                                    "versions",
                                    "{{versionId}}:destroy"
                                  ],
                                  "variable": [
                                    {
                                      "id": "c0320948-8206-4dae-8407-22e7f0cc50b0",
                                      "key": "projectId",
                                      "value": "<string>",
                                      "description": "(Required) "
                                    },
                                    {
                                      "id": "9b2c8479-6de7-408f-9100-1060a9888127",
                                      "key": "secretId",
                                      "value": "<string>",
                                      "description": "(Required) "
                                    }
                                  ]
                                },
                                "description": "Destroys a secret version, making the data inaccessible."
                              },
                              "response": [
                                {
                                  "id": "aa1d92f1-eabc-424c-a859-eb80fb2beab9",
                                  "name": "Successful response",
                                  "originalRequest": {
                                    "method": "POST",
                                    "header": [
                                      {
                                        "key": "Content-Type",
                                        "value": "application/json"
                                      },
                                      {
                                        "key": "Accept",
                                        "value": "application/json"
                                      }
                                    ],
                                    "body": {
                                      "mode": "raw",
                                      "raw": "{\n  \"etag\": \"<string>\"\n}",
                                      "options": {
                                        "raw": {
                                          "headerFamily": "json",
                                          "language": "json"
                                        }
                                      }
                                    },
                                    "url": {
                                      "raw": "{{baseUrl}}/projects/:projectId/secrets/:secretId/versions/{{versionId}}:destroy",
                                      "host": [
                                        "{{baseUrl}}"
                                      ],
                                      "path": [
                                        "projects",
                                        ":projectId",
                                        "secrets",
                                        ":secretId",
                                        "versions",
                                        "{{versionId}}:destroy"
                                      ],
                                      "variable": [
                                        {
                                          "key": "projectId"
                                        },
                                        {
                                          "key": "secretId"
                                        }
                                      ]
                                    }
                                  },
                                  "status": "OK",
                                  "code": 200,
                                  "_postman_previewlanguage": "json",
                                  "header": [
                                    {
                                      "key": "Content-Type",
                                      "value": "application/json"
                                    }
                                  ],
                                  "cookie": [],
                                  "responseTime": null,
                                  "body": "{\n  \"name\": \"<string>\",\n  \"createTime\": \"<dateTime>\",\n  \"destroyTime\": \"<dateTime>\",\n  \"state\": \"ENABLED\",\n  \"etag\": \"<string>\",\n  \"replicationStatus\": {},\n  \"clientSpecifiedPayloadChecksum\": \"<boolean>\"\n}",
                                  "createdAt": "2026-07-28T01:48:14.000Z",
                                  "updatedAt": "2026-07-28T01:48:14.000Z",
                                  "uid": "35240-aa1d92f1-eabc-424c-a859-eb80fb2beab9"
                                }
                              ],
                              "createdAt": "2026-07-28T01:48:14.000Z",
                              "updatedAt": "2026-07-28T01:48:14.000Z",
                              "uid": "35240-234a24ac-32a4-40c7-813e-235b4dd6e790"
                            }
                          ],
                          "id": "c0a08a1c-1982-4a63-9bfd-8d5e097d596d",
                          "createdAt": "2026-07-28T01:48:14.000Z",
                          "updatedAt": "2026-07-28T01:48:14.000Z",
                          "uid": "35240-c0a08a1c-1982-4a63-9bfd-8d5e097d596d"
                        },
                        {
                          "name": "Google Cloud Secret Manager List secret versions",
                          "id": "a90432c6-37e1-4680-b4da-d6ce8831c01f",
                          "protocolProfileBehavior": {
                            "disableBodyPruning": true
                          },
                          "request": {
                            "method": "GET",
                            "header": [
                              {
                                "key": "Accept",
                                "value": "application/json"
                              }
                            ],
                            "url": {
                              "raw": "{{baseUrl}}/projects/:projectId/secrets/:secretId/versions?pageSize=<integer>&pageToken=<string>",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "projects",
                                ":projectId",
                                "secrets",
                                ":secretId",
                                "versions"
                              ],
                              "query": [
                                {
                                  "key": "pageSize",
                                  "value": "<integer>"
                                },
                                {
                                  "key": "pageToken",
                                  "value": "<string>"
                                }
                              ],
                              "variable": [
                                {
                                  "id": "4fe59cdd-6044-4aab-9a38-e74fdd8ec0f6",
                                  "key": "projectId",
                                  "value": "<string>",
                                  "description": "(Required) "
                                },
                                {
                                  "id": "f4a452d0-0d87-4a63-b3a9-1a2d7bc94956",
                                  "key": "secretId",
                                  "value": "<string>",
                                  "description": "(Required) "
                                }
                              ]
                            },
                            "description": "Lists secret versions for a secret."
                          },
                          "response": [
                            {
                              "id": "82faa210-605c-4995-ba53-5ad35fa8fa44",
                              "name": "Successful response",
                              "originalRequest": {
                                "method": "GET",
                                "header": [
                                  {
                                    "key": "Accept",
                                    "value": "application/json"
                                  }
                                ],
                                "url": {
                                  "raw": "{{baseUrl}}/projects/:projectId/secrets/:secretId/versions?pageSize=<integer>&pageToken=<string>",
                                  "host": [
                                    "{{baseUrl}}"
                                  ],
                                  "path": [
                                    "projects",
                                    ":projectId",
                                    "secrets",
                                    ":secretId",
                                    "versions"
                                  ],
                                  "query": [
                                    {
                                      "key": "pageSize",
                                      "value": "<integer>"
                                    },
                                    {
                                      "key": "pageToken",
                                      "value": "<string>"
                                    }
                                  ],
                                  "variable": [
                                    {
                                      "key": "projectId"
                                    },
                                    {
                                      "key": "secretId"
                                    }
                                  ]
                                }
                              },
                              "status": "OK",
                              "code": 200,
                              "_postman_previewlanguage": "json",
                              "header": [
                                {
                                  "key": "Content-Type",
                                  "value": "application/json"
                                }
                              ],
                              "cookie": [],
                              "responseTime": null,
                              "body": "{\n  \"versions\": [\n    {\n      \"name\": \"<string>\",\n      \"createTime\": \"<dateTime>\",\n      \"destroyTime\": \"<dateTime>\",\n      \"state\": \"ENABLED\",\n      \"etag\": \"<string>\",\n      \"replicationStatus\": {},\n      \"clientSpecifiedPayloadChecksum\": \"<boolean>\"\n    },\n    {\n      \"name\": \"<string>\",\n      \"createTime\": \"<dateTime>\",\n      \"destroyTime\": \"<dateTime>\",\n      \"state\": \"STATE_UNSPECIFIED\",\n      \"etag\": \"<string>\",\n      \"replicationStatus\": {},\n      \"clientSpecifiedPayloadChecksum\": \"<boolean>\"\n    }\n  ],\n  \"nextPageToken\": \"<string>\",\n  \"totalSize\": \"<integer>\"\n}",
                              "createdAt": "2026-07-28T01:48:14.000Z",
                              "updatedAt": "2026-07-28T01:48:14.000Z",
                              "uid": "35240-82faa210-605c-4995-ba53-5ad35fa8fa44"
                            }
                          ],
                          "createdAt": "2026-07-28T01:48:14.000Z",
                          "updatedAt": "2026-07-28T01:48:14.000Z",
                          "uid": "35240-a90432c6-37e1-4680-b4da-d6ce8831c01f"
                        }
                      ],
                      "id": "760c118f-4d4e-47cf-b4de-30d3a7256806",
                      "createdAt": "2026-07-28T01:48:14.000Z",
                      "updatedAt": "2026-07-28T01:48:14.000Z",
                      "uid": "35240-760c118f-4d4e-47cf-b4de-30d3a7256806"
                    }
                  ],
                  "id": "8bb7d29a-c8e5-4b75-8b6a-fc6831ef1a7c",
                  "createdAt": "2026-07-28T01:48:14.000Z",
                  "updatedAt": "2026-07-28T01:48:14.000Z",
                  "uid": "35240-8bb7d29a-c8e5-4b75-8b6a-fc6831ef1a7c"
                }
              ],
              "id": "72bf8a87-5dee-4449-9bcb-ece83c448fe6",
              "createdAt": "2026-07-28T01:48:14.000Z",
              "updatedAt": "2026-07-28T01:48:14.000Z",
              "uid": "35240-72bf8a87-5dee-4449-9bcb-ece83c448fe6"
            }
          ],
          "id": "8692b230-4e0e-4bc5-a15b-19096c02cae1",
          "createdAt": "2026-07-28T01:48:14.000Z",
          "updatedAt": "2026-07-28T01:48:14.000Z",
          "uid": "35240-8692b230-4e0e-4bc5-a15b-19096c02cae1"
        }
      ],
      "id": "8ccf448b-d7eb-43bd-90c4-16cd7b15349e",
      "createdAt": "2026-07-28T01:48:14.000Z",
      "updatedAt": "2026-07-28T01:48:14.000Z",
      "uid": "35240-8ccf448b-d7eb-43bd-90c4-16cd7b15349e"
    }
  ],
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://secretmanager.googleapis.com/v1"
    },
    {
      "key": "secretId",
      "value": "<string>"
    },
    {
      "key": "versionId",
      "value": "<string>"
    }
  ]
}