cloudkms_v1.yaml 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. type: google.api.Service
  2. config_version: 3
  3. name: cloudkms.googleapis.com
  4. title: Cloud Key Management Service (KMS) API
  5. apis:
  6. - name: google.cloud.kms.v1.EkmService
  7. - name: google.cloud.kms.v1.KeyManagementService
  8. - name: google.cloud.location.Locations
  9. - name: google.iam.v1.IAMPolicy
  10. types:
  11. - name: google.cloud.kms.v1.LocationMetadata
  12. documentation:
  13. summary: |-
  14. Manages keys and performs cryptographic operations in a central cloud
  15. service, for direct use by other cloud resources and applications.
  16. rules:
  17. - selector: google.cloud.location.Locations.GetLocation
  18. description: Gets information about a location.
  19. - selector: google.cloud.location.Locations.ListLocations
  20. description: Lists information about the supported locations for this service.
  21. - selector: google.iam.v1.IAMPolicy.GetIamPolicy
  22. description: |-
  23. Gets the access control policy for a resource. Returns an empty policy
  24. if the resource exists and does not have a policy set.
  25. - selector: google.iam.v1.IAMPolicy.SetIamPolicy
  26. description: |-
  27. Sets the access control policy on the specified resource. Replaces
  28. any existing policy.
  29. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED`
  30. errors.
  31. - selector: google.iam.v1.IAMPolicy.TestIamPermissions
  32. description: |-
  33. Returns permissions that a caller has on the specified resource. If the
  34. resource does not exist, this will return an empty set of
  35. permissions, not a `NOT_FOUND` error.
  36. Note: This operation is designed to be used for building
  37. permission-aware UIs and command-line tools, not for authorization
  38. checking. This operation may "fail open" without warning.
  39. http:
  40. rules:
  41. - selector: google.cloud.location.Locations.GetLocation
  42. get: '/v1/{name=projects/*/locations/*}'
  43. - selector: google.cloud.location.Locations.ListLocations
  44. get: '/v1/{name=projects/*}/locations'
  45. - selector: google.iam.v1.IAMPolicy.GetIamPolicy
  46. get: '/v1/{resource=projects/*/locations/*/keyRings/*}:getIamPolicy'
  47. additional_bindings:
  48. - get: '/v1/{resource=projects/*/locations/*/keyRings/*/cryptoKeys/*}:getIamPolicy'
  49. - get: '/v1/{resource=projects/*/locations/*/keyRings/*/importJobs/*}:getIamPolicy'
  50. - get: '/v1/{resource=projects/*/locations/*/ekmConfig}:getIamPolicy'
  51. - get: '/v1/{resource=projects/*/locations/*/ekmConnections/*}:getIamPolicy'
  52. - selector: google.iam.v1.IAMPolicy.SetIamPolicy
  53. post: '/v1/{resource=projects/*/locations/*/keyRings/*}:setIamPolicy'
  54. body: '*'
  55. additional_bindings:
  56. - post: '/v1/{resource=projects/*/locations/*/keyRings/*/cryptoKeys/*}:setIamPolicy'
  57. body: '*'
  58. - post: '/v1/{resource=projects/*/locations/*/keyRings/*/importJobs/*}:setIamPolicy'
  59. body: '*'
  60. - post: '/v1/{resource=projects/*/locations/*/ekmConfig}:setIamPolicy'
  61. body: '*'
  62. - post: '/v1/{resource=projects/*/locations/*/ekmConnections/*}:setIamPolicy'
  63. body: '*'
  64. - selector: google.iam.v1.IAMPolicy.TestIamPermissions
  65. post: '/v1/{resource=projects/*/locations/*/keyRings/*}:testIamPermissions'
  66. body: '*'
  67. additional_bindings:
  68. - post: '/v1/{resource=projects/*/locations/*/keyRings/*/cryptoKeys/*}:testIamPermissions'
  69. body: '*'
  70. - post: '/v1/{resource=projects/*/locations/*/keyRings/*/importJobs/*}:testIamPermissions'
  71. body: '*'
  72. - post: '/v1/{resource=projects/*/locations/*/ekmConfig}:testIamPermissions'
  73. body: '*'
  74. - post: '/v1/{resource=projects/*/locations/*/ekmConnections/*}:testIamPermissions'
  75. body: '*'
  76. authentication:
  77. rules:
  78. - selector: 'google.cloud.kms.v1.EkmService.*'
  79. oauth:
  80. canonical_scopes: |-
  81. https://www.googleapis.com/auth/cloud-platform,
  82. https://www.googleapis.com/auth/cloudkms
  83. - selector: 'google.cloud.kms.v1.KeyManagementService.*'
  84. oauth:
  85. canonical_scopes: |-
  86. https://www.googleapis.com/auth/cloud-platform,
  87. https://www.googleapis.com/auth/cloudkms
  88. - selector: google.cloud.location.Locations.GetLocation
  89. oauth:
  90. canonical_scopes: |-
  91. https://www.googleapis.com/auth/cloud-platform,
  92. https://www.googleapis.com/auth/cloudkms
  93. - selector: google.cloud.location.Locations.ListLocations
  94. oauth:
  95. canonical_scopes: |-
  96. https://www.googleapis.com/auth/cloud-platform,
  97. https://www.googleapis.com/auth/cloudkms
  98. - selector: 'google.iam.v1.IAMPolicy.*'
  99. oauth:
  100. canonical_scopes: |-
  101. https://www.googleapis.com/auth/cloud-platform,
  102. https://www.googleapis.com/auth/cloudkms