{ "uuid": "12651590-1ef1-4af8-9154-8021a6be237d", "lastMigration": 29, "name": "Secret Manager API", "endpointPrefix": "", "latency": 0, "port": 3000, "hostname": "", "routes": [ { "uuid": "0d69d053-13c1-4c2f-9729-f8cac9471904", "documentation": "Deletes a Secret.", "method": "delete", "endpoint": "v1beta1/:name", "responses": [ { "uuid": "6f66aa06-cc42-45bd-98bf-833b7031e654", "body": "{}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "7643d261-81f2-4603-94d3-df402fa95fef", "documentation": "Gets metadata for a SecretVersion. `projects/*/secrets/*/versions/latest` is an alias to the `latest` SecretVersion.", "method": "get", "endpoint": "v1beta1/:name", "responses": [ { "uuid": "aa6ffb6e-49ad-4082-93e0-a2ae587739e7", "body": "{\n \"createTime\": \"\",\n \"destroyTime\": \"\",\n \"name\": \"\",\n \"state\": \"{{oneOf (array 'STATE_UNSPECIFIED' 'ENABLED' 'DISABLED' 'DESTROYED')}}\"\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "85dc377c-1daa-4303-85e6-f5c490b1a334", "documentation": "Updates metadata of an existing Secret.", "method": "patch", "endpoint": "v1beta1/:name", "responses": [ { "uuid": "46e7db03-9cbe-4a08-832a-8f8d52118d6c", "body": "{\n \"createTime\": \"\",\n \"labels\": {},\n \"name\": \"\",\n \"replication\": {\n \"automatic\": {},\n \"userManaged\": {\n \"replicas\": [\n {\n \"location\": \"\"\n }\n ]\n }\n }\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "728ae64a-99cb-4ce1-9e3e-22021f1a2366", "documentation": "Lists information about the supported locations for this service.", "method": "get", "endpoint": "v1beta1/:name/locations", "responses": [ { "uuid": "8c60398d-c9c9-4830-8d0f-8c8aa6d61c47", "body": "{\n \"locations\": [\n {\n \"displayName\": \"\",\n \"labels\": {},\n \"locationId\": \"\",\n \"metadata\": {},\n \"name\": \"\"\n }\n ],\n \"nextPageToken\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "e231a9b7-78d3-4901-81aa-b91e8df96b23", "documentation": "Accesses a SecretVersion. This call returns the secret data. `projects/*/secrets/*/versions/latest` is an alias to the `latest` SecretVersion.", "method": "get", "endpoint": "v1beta1/:name:access", "responses": [ { "uuid": "87974dc5-a2d8-479a-af4a-605261308323", "body": "{\n \"name\": \"\",\n \"payload\": {\n \"data\": \"\"\n }\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "879f5c12-a018-4f6d-95e6-6618dc892653", "documentation": "Destroys a SecretVersion. Sets the state of the SecretVersion to DESTROYED and irrevocably destroys the secret data.", "method": "post", "endpoint": "v1beta1/:name:destroy", "responses": [ { "uuid": "446ad402-684a-4a09-a456-b553a29d1db9", "body": "{\n \"createTime\": \"\",\n \"destroyTime\": \"\",\n \"name\": \"\",\n \"state\": \"{{oneOf (array 'STATE_UNSPECIFIED' 'ENABLED' 'DISABLED' 'DESTROYED')}}\"\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "832822c5-81af-4475-a654-e6676fead08c", "documentation": "Disables a SecretVersion. Sets the state of the SecretVersion to DISABLED.", "method": "post", "endpoint": "v1beta1/:name:disable", "responses": [ { "uuid": "774943dd-fac8-41e8-9f47-3226e59ecafd", "body": "{\n \"createTime\": \"\",\n \"destroyTime\": \"\",\n \"name\": \"\",\n \"state\": \"{{oneOf (array 'STATE_UNSPECIFIED' 'ENABLED' 'DISABLED' 'DESTROYED')}}\"\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "238bfd98-b295-422f-8fec-eb5321917966", "documentation": "Enables a SecretVersion. Sets the state of the SecretVersion to ENABLED.", "method": "post", "endpoint": "v1beta1/:name:enable", "responses": [ { "uuid": "fec7fc60-3d40-4ea4-be79-1259740014f9", "body": "{\n \"createTime\": \"\",\n \"destroyTime\": \"\",\n \"name\": \"\",\n \"state\": \"{{oneOf (array 'STATE_UNSPECIFIED' 'ENABLED' 'DISABLED' 'DESTROYED')}}\"\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "44a24b04-07f4-4160-a6d9-8fd94c75b2b9", "documentation": "Lists Secrets.", "method": "get", "endpoint": "v1beta1/:parent/secrets", "responses": [ { "uuid": "b704149d-5521-4105-aaab-70d6838ca8bb", "body": "{\n \"nextPageToken\": \"\",\n \"secrets\": [\n {\n \"createTime\": \"\",\n \"labels\": {},\n \"name\": \"\",\n \"replication\": {\n \"automatic\": {},\n \"userManaged\": {\n \"replicas\": [\n {\n \"location\": \"\"\n }\n ]\n }\n }\n }\n ],\n \"totalSize\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "d6f65ff9-f478-4199-baf5-c6b397cfcd9c", "documentation": "Creates a new Secret containing no SecretVersions.", "method": "post", "endpoint": "v1beta1/:parent/secrets", "responses": [ { "uuid": "a3128d91-8bb0-4f62-96ef-975cbff0e442", "body": "{\n \"createTime\": \"\",\n \"labels\": {},\n \"name\": \"\",\n \"replication\": {\n \"automatic\": {},\n \"userManaged\": {\n \"replicas\": [\n {\n \"location\": \"\"\n }\n ]\n }\n }\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "dd2bfb86-f0bd-4e32-b6f7-c45202c67d14", "documentation": "Lists SecretVersions. This call does not return secret data.", "method": "get", "endpoint": "v1beta1/:parent/versions", "responses": [ { "uuid": "c7cb7fdd-bf3a-4025-82d5-5d7f41824dff", "body": "{\n \"nextPageToken\": \"\",\n \"totalSize\": {{faker 'number.int' max=99999}},\n \"versions\": [\n {\n \"createTime\": \"\",\n \"destroyTime\": \"\",\n \"name\": \"\",\n \"state\": \"{{oneOf (array 'STATE_UNSPECIFIED' 'ENABLED' 'DISABLED' 'DESTROYED')}}\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "ff9b09f2-a272-4bb6-b9f4-ff1f8b714690", "documentation": "Creates a new SecretVersion containing secret data and attaches it to an existing Secret.", "method": "post", "endpoint": "v1beta1/:parent:addVersion", "responses": [ { "uuid": "ad85e5cf-0a4c-4111-9fc8-40e59fd9e38a", "body": "{\n \"createTime\": \"\",\n \"destroyTime\": \"\",\n \"name\": \"\",\n \"state\": \"{{oneOf (array 'STATE_UNSPECIFIED' 'ENABLED' 'DISABLED' 'DESTROYED')}}\"\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "b5852112-b013-45c1-a731-144c749eed1d", "documentation": "Gets the access control policy for a secret. Returns empty policy if the secret exists and does not have a policy set.", "method": "get", "endpoint": "v1beta1/:resource:getIamPolicy", "responses": [ { "uuid": "1b7996be-0403-43b8-a69e-2de4329959d7", "body": "{\n \"auditConfigs\": [\n {\n \"auditLogConfigs\": [\n {\n \"exemptedMembers\": [\n \"\"\n ],\n \"logType\": \"{{oneOf (array 'LOG_TYPE_UNSPECIFIED' 'ADMIN_READ' 'DATA_WRITE' 'DATA_READ')}}\"\n }\n ],\n \"service\": \"\"\n }\n ],\n \"bindings\": [\n {\n \"condition\": {\n \"description\": \"\",\n \"expression\": \"\",\n \"location\": \"\",\n \"title\": \"\"\n },\n \"members\": [\n \"\"\n ],\n \"role\": \"\"\n }\n ],\n \"etag\": \"\",\n \"version\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "9a8c12eb-29ca-4ccd-987c-f7220def37f1", "documentation": "Sets the access control policy on the specified secret. Replaces any existing policy. Permissions on SecretVersions are enforced according to the policy set on the associated Secret.", "method": "post", "endpoint": "v1beta1/:resource:setIamPolicy", "responses": [ { "uuid": "5ca2fca6-cc41-4e50-98c2-4297873c9b8c", "body": "{\n \"auditConfigs\": [\n {\n \"auditLogConfigs\": [\n {\n \"exemptedMembers\": [\n \"\"\n ],\n \"logType\": \"{{oneOf (array 'LOG_TYPE_UNSPECIFIED' 'ADMIN_READ' 'DATA_WRITE' 'DATA_READ')}}\"\n }\n ],\n \"service\": \"\"\n }\n ],\n \"bindings\": [\n {\n \"condition\": {\n \"description\": \"\",\n \"expression\": \"\",\n \"location\": \"\",\n \"title\": \"\"\n },\n \"members\": [\n \"\"\n ],\n \"role\": \"\"\n }\n ],\n \"etag\": \"\",\n \"version\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "0ffaed46-6249-4350-97f3-4e1d982e3a2b", "documentation": "Returns permissions that a caller has for the specified secret. If the secret does not exist, this call returns an empty set of permissions, not a NOT_FOUND error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", "method": "post", "endpoint": "v1beta1/:resource:testIamPermissions", "responses": [ { "uuid": "27fd057e-f9b6-449b-884e-2c4b721ae9c8", "body": "{\n \"permissions\": [\n \"\"\n ]\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" } ], "proxyMode": false, "proxyHost": "", "proxyRemovePrefix": false, "tlsOptions": { "enabled": false, "type": "CERT", "pfxPath": "", "certPath": "", "keyPath": "", "caPath": "", "passphrase": "" }, "cors": true, "headers": [], "proxyReqHeaders": [{ "key": "", "value": "" }], "proxyResHeaders": [{ "key": "", "value": "" }], "data": [], "folders": [], "rootChildren": [ { "type": "route", "uuid": "0d69d053-13c1-4c2f-9729-f8cac9471904" }, { "type": "route", "uuid": "7643d261-81f2-4603-94d3-df402fa95fef" }, { "type": "route", "uuid": "85dc377c-1daa-4303-85e6-f5c490b1a334" }, { "type": "route", "uuid": "728ae64a-99cb-4ce1-9e3e-22021f1a2366" }, { "type": "route", "uuid": "e231a9b7-78d3-4901-81aa-b91e8df96b23" }, { "type": "route", "uuid": "879f5c12-a018-4f6d-95e6-6618dc892653" }, { "type": "route", "uuid": "832822c5-81af-4475-a654-e6676fead08c" }, { "type": "route", "uuid": "238bfd98-b295-422f-8fec-eb5321917966" }, { "type": "route", "uuid": "44a24b04-07f4-4160-a6d9-8fd94c75b2b9" }, { "type": "route", "uuid": "d6f65ff9-f478-4199-baf5-c6b397cfcd9c" }, { "type": "route", "uuid": "dd2bfb86-f0bd-4e32-b6f7-c45202c67d14" }, { "type": "route", "uuid": "ff9b09f2-a272-4bb6-b9f4-ff1f8b714690" }, { "type": "route", "uuid": "b5852112-b013-45c1-a731-144c749eed1d" }, { "type": "route", "uuid": "9a8c12eb-29ca-4ccd-987c-f7220def37f1" }, { "type": "route", "uuid": "0ffaed46-6249-4350-97f3-4e1d982e3a2b" } ] }