strongdm 1.0.32 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (251) hide show
  1. checksums.yaml +4 -4
  2. data/.git/ORIG_HEAD +1 -1
  3. data/.git/config +0 -3
  4. data/.git/index +0 -0
  5. data/.git/logs/HEAD +3 -4
  6. data/.git/logs/refs/heads/master +2 -2
  7. data/.git/logs/refs/remotes/origin/HEAD +1 -1
  8. data/.git/objects/pack/pack-799dc839a811c2fbe50b5281a9266fcc3a8f5154.idx +0 -0
  9. data/.git/objects/pack/{pack-760024d2d3e635c44bfe6b54af80a8b21674032d.pack → pack-799dc839a811c2fbe50b5281a9266fcc3a8f5154.pack} +0 -0
  10. data/.git/packed-refs +5 -2
  11. data/.git/refs/heads/master +1 -1
  12. data/.yardopts +9 -0
  13. data/README.md +18 -6
  14. data/lib/errors/errors.rb +1 -1
  15. data/lib/grpc/account_attachments_services_pb.rb +1 -1
  16. data/lib/grpc/accounts_services_pb.rb +2 -2
  17. data/lib/grpc/drivers_pb.rb +38 -0
  18. data/lib/grpc/nodes_services_pb.rb +1 -1
  19. data/lib/grpc/options_pb.rb +35 -40
  20. data/lib/grpc/plumbing.rb +1258 -965
  21. data/lib/grpc/resources_services_pb.rb +3 -1
  22. data/lib/grpc/role_attachments_services_pb.rb +10 -0
  23. data/lib/grpc/role_grants_services_pb.rb +10 -0
  24. data/lib/grpc/roles_services_pb.rb +4 -6
  25. data/lib/grpc/secret_store_types_pb.rb +25 -0
  26. data/lib/grpc/secret_stores_services_pb.rb +1 -1
  27. data/lib/models/porcelain.rb +1243 -2897
  28. data/lib/strongdm.rb +39 -15
  29. data/lib/svc.rb +162 -14
  30. data/lib/version +1 -1
  31. data/lib/version.rb +1 -1
  32. metadata +5 -222
  33. data/.git/FETCH_HEAD +0 -2
  34. data/.git/logs/refs/heads/development +0 -1
  35. data/.git/objects/pack/pack-760024d2d3e635c44bfe6b54af80a8b21674032d.idx +0 -0
  36. data/.git/refs/heads/development +0 -1
  37. data/doc/LICENSE.html +0 -187
  38. data/doc/Object.html +0 -114
  39. data/doc/README_md.html +0 -146
  40. data/doc/SDM/AKS.html +0 -352
  41. data/doc/SDM/AKSBasicAuth.html +0 -337
  42. data/doc/SDM/AKSServiceAccount.html +0 -322
  43. data/doc/SDM/AKSServiceAccountUserImpersonation.html +0 -322
  44. data/doc/SDM/AKSUserImpersonation.html +0 -352
  45. data/doc/SDM/AWS.html +0 -337
  46. data/doc/SDM/AWSStore.html +0 -232
  47. data/doc/SDM/AccountAttachment.html +0 -219
  48. data/doc/SDM/AccountAttachmentCreateResponse.html +0 -219
  49. data/doc/SDM/AccountAttachmentDeleteResponse.html +0 -204
  50. data/doc/SDM/AccountAttachmentGetResponse.html +0 -219
  51. data/doc/SDM/AccountAttachments.html +0 -354
  52. data/doc/SDM/AccountCreateResponse.html +0 -234
  53. data/doc/SDM/AccountDeleteResponse.html +0 -204
  54. data/doc/SDM/AccountGetResponse.html +0 -219
  55. data/doc/SDM/AccountGrant.html +0 -249
  56. data/doc/SDM/AccountGrantCreateResponse.html +0 -219
  57. data/doc/SDM/AccountGrantDeleteResponse.html +0 -204
  58. data/doc/SDM/AccountGrantGetResponse.html +0 -219
  59. data/doc/SDM/AccountGrants.html +0 -354
  60. data/doc/SDM/AccountUpdateResponse.html +0 -219
  61. data/doc/SDM/Accounts.html +0 -409
  62. data/doc/SDM/AlreadyExistsError.html +0 -140
  63. data/doc/SDM/AmazonEKS.html +0 -397
  64. data/doc/SDM/AmazonEKSUserImpersonation.html +0 -397
  65. data/doc/SDM/AmazonES.html +0 -367
  66. data/doc/SDM/AmazonMQAMQP091.html +0 -352
  67. data/doc/SDM/Athena.html +0 -367
  68. data/doc/SDM/AuroraMysql.html +0 -352
  69. data/doc/SDM/AuroraPostgres.html +0 -367
  70. data/doc/SDM/AuthenticationError.html +0 -140
  71. data/doc/SDM/Azure.html +0 -307
  72. data/doc/SDM/AzureCertificate.html +0 -307
  73. data/doc/SDM/AzurePostgres.html +0 -367
  74. data/doc/SDM/BadRequestError.html +0 -140
  75. data/doc/SDM/BigQuery.html +0 -337
  76. data/doc/SDM/Cassandra.html +0 -352
  77. data/doc/SDM/Citus.html +0 -367
  78. data/doc/SDM/Client.html +0 -443
  79. data/doc/SDM/Clustrix.html +0 -352
  80. data/doc/SDM/Cockroach.html +0 -367
  81. data/doc/SDM/ControlPanel.html +0 -248
  82. data/doc/SDM/ControlPanelGetSSHCAPublicKeyResponse.html +0 -219
  83. data/doc/SDM/ControlPanelVerifyJWTResponse.html +0 -219
  84. data/doc/SDM/CreateResponseMetadata.html +0 -169
  85. data/doc/SDM/DB2LUW.html +0 -352
  86. data/doc/SDM/DB2i.html +0 -352
  87. data/doc/SDM/DeadlineExceededError.html +0 -140
  88. data/doc/SDM/DeleteResponseMetadata.html +0 -169
  89. data/doc/SDM/DocumentDBHost.html +0 -352
  90. data/doc/SDM/DocumentDBReplicaSet.html +0 -367
  91. data/doc/SDM/Druid.html +0 -337
  92. data/doc/SDM/DynamoDB.html +0 -367
  93. data/doc/SDM/Elastic.html +0 -352
  94. data/doc/SDM/ElasticacheRedis.html +0 -337
  95. data/doc/SDM/GCP.html +0 -292
  96. data/doc/SDM/Gateway.html +0 -279
  97. data/doc/SDM/GetResponseMetadata.html +0 -169
  98. data/doc/SDM/GoogleGKE.html +0 -322
  99. data/doc/SDM/GoogleGKEUserImpersonation.html +0 -322
  100. data/doc/SDM/Greenplum.html +0 -367
  101. data/doc/SDM/HTTPAuth.html +0 -352
  102. data/doc/SDM/HTTPBasicAuth.html +0 -367
  103. data/doc/SDM/HTTPNoAuth.html +0 -337
  104. data/doc/SDM/InternalError.html +0 -140
  105. data/doc/SDM/Kubernetes.html +0 -352
  106. data/doc/SDM/KubernetesBasicAuth.html +0 -337
  107. data/doc/SDM/KubernetesServiceAccount.html +0 -322
  108. data/doc/SDM/KubernetesServiceAccountUserImpersonation.html +0 -322
  109. data/doc/SDM/KubernetesUserImpersonation.html +0 -352
  110. data/doc/SDM/Maria.html +0 -352
  111. data/doc/SDM/Memcached.html +0 -307
  112. data/doc/SDM/Memsql.html +0 -352
  113. data/doc/SDM/MongoHost.html +0 -367
  114. data/doc/SDM/MongoLegacyHost.html +0 -382
  115. data/doc/SDM/MongoLegacyReplicaset.html +0 -397
  116. data/doc/SDM/MongoReplicaSet.html +0 -397
  117. data/doc/SDM/Mysql.html +0 -352
  118. data/doc/SDM/Neptune.html +0 -307
  119. data/doc/SDM/NeptuneIAM.html +0 -382
  120. data/doc/SDM/NodeCreateResponse.html +0 -234
  121. data/doc/SDM/NodeDeleteResponse.html +0 -204
  122. data/doc/SDM/NodeGetResponse.html +0 -219
  123. data/doc/SDM/NodeUpdateResponse.html +0 -219
  124. data/doc/SDM/Nodes.html +0 -409
  125. data/doc/SDM/NotFoundError.html +0 -140
  126. data/doc/SDM/Oracle.html +0 -367
  127. data/doc/SDM/PermissionError.html +0 -140
  128. data/doc/SDM/Plumbing.html +0 -15828
  129. data/doc/SDM/Postgres.html +0 -367
  130. data/doc/SDM/Presto.html +0 -367
  131. data/doc/SDM/RDP.html +0 -337
  132. data/doc/SDM/RPCError.html +0 -157
  133. data/doc/SDM/RabbitMQAMQP091.html +0 -352
  134. data/doc/SDM/RateLimitError.html +0 -157
  135. data/doc/SDM/RateLimitMetadata.html +0 -234
  136. data/doc/SDM/RawTCP.html +0 -307
  137. data/doc/SDM/Redis.html +0 -322
  138. data/doc/SDM/Redshift.html +0 -367
  139. data/doc/SDM/Relay.html +0 -249
  140. data/doc/SDM/ResourceCreateResponse.html +0 -219
  141. data/doc/SDM/ResourceDeleteResponse.html +0 -204
  142. data/doc/SDM/ResourceGetResponse.html +0 -219
  143. data/doc/SDM/ResourceUpdateResponse.html +0 -219
  144. data/doc/SDM/Resources.html +0 -456
  145. data/doc/SDM/Role.html +0 -249
  146. data/doc/SDM/RoleAttachment.html +0 -219
  147. data/doc/SDM/RoleAttachmentCreateResponse.html +0 -219
  148. data/doc/SDM/RoleAttachmentDeleteResponse.html +0 -204
  149. data/doc/SDM/RoleAttachmentGetResponse.html +0 -219
  150. data/doc/SDM/RoleAttachments.html +0 -354
  151. data/doc/SDM/RoleCreateResponse.html +0 -219
  152. data/doc/SDM/RoleDeleteResponse.html +0 -204
  153. data/doc/SDM/RoleGetResponse.html +0 -219
  154. data/doc/SDM/RoleGrant.html +0 -219
  155. data/doc/SDM/RoleGrantCreateResponse.html +0 -219
  156. data/doc/SDM/RoleGrantDeleteResponse.html +0 -204
  157. data/doc/SDM/RoleGrantGetResponse.html +0 -219
  158. data/doc/SDM/RoleGrants.html +0 -354
  159. data/doc/SDM/RoleUpdateResponse.html +0 -219
  160. data/doc/SDM/Roles.html +0 -403
  161. data/doc/SDM/SQLServer.html +0 -382
  162. data/doc/SDM/SSH.html +0 -352
  163. data/doc/SDM/SSHCert.html +0 -337
  164. data/doc/SDM/SSHCustomerKey.html +0 -352
  165. data/doc/SDM/SecretStoreCreateResponse.html +0 -219
  166. data/doc/SDM/SecretStoreDeleteResponse.html +0 -204
  167. data/doc/SDM/SecretStoreGetResponse.html +0 -219
  168. data/doc/SDM/SecretStoreUpdateResponse.html +0 -219
  169. data/doc/SDM/SecretStores.html +0 -403
  170. data/doc/SDM/Service.html +0 -234
  171. data/doc/SDM/SingleStore.html +0 -352
  172. data/doc/SDM/Snowflake.html +0 -352
  173. data/doc/SDM/Sybase.html +0 -337
  174. data/doc/SDM/SybaseIQ.html +0 -337
  175. data/doc/SDM/Tag.html +0 -202
  176. data/doc/SDM/Teradata.html +0 -337
  177. data/doc/SDM/UpdateResponseMetadata.html +0 -169
  178. data/doc/SDM/User.html +0 -264
  179. data/doc/SDM/VaultTLSStore.html +0 -292
  180. data/doc/SDM/VaultTokenStore.html +0 -247
  181. data/doc/SDM.html +0 -122
  182. data/doc/V1/AccountAttachments/Service.html +0 -107
  183. data/doc/V1/AccountAttachments.html +0 -100
  184. data/doc/V1/AccountGrants/Service.html +0 -107
  185. data/doc/V1/AccountGrants.html +0 -100
  186. data/doc/V1/Accounts/Service.html +0 -112
  187. data/doc/V1/Accounts.html +0 -100
  188. data/doc/V1/ControlPanel/Service.html +0 -107
  189. data/doc/V1/ControlPanel.html +0 -100
  190. data/doc/V1/Nodes/Service.html +0 -112
  191. data/doc/V1/Nodes.html +0 -100
  192. data/doc/V1/Resources/Service.html +0 -105
  193. data/doc/V1/Resources.html +0 -100
  194. data/doc/V1/RoleAttachments/Service.html +0 -107
  195. data/doc/V1/RoleAttachments.html +0 -100
  196. data/doc/V1/RoleGrants/Service.html +0 -107
  197. data/doc/V1/RoleGrants.html +0 -100
  198. data/doc/V1/Roles/Service.html +0 -107
  199. data/doc/V1/Roles.html +0 -100
  200. data/doc/V1/SecretStores/Service.html +0 -107
  201. data/doc/V1/SecretStores.html +0 -100
  202. data/doc/V1/Tags.html +0 -100
  203. data/doc/V1.html +0 -502
  204. data/doc/created.rid +0 -37
  205. data/doc/css/fonts.css +0 -167
  206. data/doc/css/rdoc.css +0 -639
  207. data/doc/examples/Gemfile.html +0 -89
  208. data/doc/fonts/Lato-Light.ttf +0 -0
  209. data/doc/fonts/Lato-LightItalic.ttf +0 -0
  210. data/doc/fonts/Lato-Regular.ttf +0 -0
  211. data/doc/fonts/Lato-RegularItalic.ttf +0 -0
  212. data/doc/fonts/SourceCodePro-Bold.ttf +0 -0
  213. data/doc/fonts/SourceCodePro-Regular.ttf +0 -0
  214. data/doc/images/add.png +0 -0
  215. data/doc/images/arrow_up.png +0 -0
  216. data/doc/images/brick.png +0 -0
  217. data/doc/images/brick_link.png +0 -0
  218. data/doc/images/bug.png +0 -0
  219. data/doc/images/bullet_black.png +0 -0
  220. data/doc/images/bullet_toggle_minus.png +0 -0
  221. data/doc/images/bullet_toggle_plus.png +0 -0
  222. data/doc/images/date.png +0 -0
  223. data/doc/images/delete.png +0 -0
  224. data/doc/images/find.png +0 -0
  225. data/doc/images/loadingAnimation.gif +0 -0
  226. data/doc/images/macFFBgHack.png +0 -0
  227. data/doc/images/package.png +0 -0
  228. data/doc/images/page_green.png +0 -0
  229. data/doc/images/page_white_text.png +0 -0
  230. data/doc/images/page_white_width.png +0 -0
  231. data/doc/images/plugin.png +0 -0
  232. data/doc/images/ruby.png +0 -0
  233. data/doc/images/tag_blue.png +0 -0
  234. data/doc/images/tag_green.png +0 -0
  235. data/doc/images/transparent.png +0 -0
  236. data/doc/images/wrench.png +0 -0
  237. data/doc/images/wrench_orange.png +0 -0
  238. data/doc/images/zoom.png +0 -0
  239. data/doc/index.html +0 -255
  240. data/doc/js/darkfish.js +0 -84
  241. data/doc/js/navigation.js +0 -105
  242. data/doc/js/navigation.js.gz +0 -0
  243. data/doc/js/search.js +0 -110
  244. data/doc/js/search_index.js +0 -1
  245. data/doc/js/search_index.js.gz +0 -0
  246. data/doc/js/searcher.js +0 -229
  247. data/doc/js/searcher.js.gz +0 -0
  248. data/doc/lib/version.html +0 -92
  249. data/doc/table_of_contents.html +0 -4614
  250. data/examples/Gemfile +0 -3
  251. data/examples/listUsers.rb +0 -21
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4c5f0117d6a19260821f87188f79a37ed182fc1d59565e7c35aad3654c38009d
4
- data.tar.gz: 30a781bf846b4b58ca0c6937b53d495802c8e594bac46e1aef11f4287299fa10
3
+ metadata.gz: a1d658965937c2101e66c96669146644d3239cf6d85911807305fc95189049b2
4
+ data.tar.gz: c1343a4844f0f8e0ab5e38d127a3a9fc148977436bb3ab877117622a2d2966a3
5
5
  SHA512:
6
- metadata.gz: 499cb1d99834e95ac9a881919ffe362cb7190734854af25ff641e9438ee1870f569c774a0efff76aef7b5e6254910d2f3ae4c2d2b62d5772e0776137e9e7ae0e
7
- data.tar.gz: a4ef830419df973de650d4880441bf864dc3413d6c11a8af2a18d87ca4c846ad10679dc5391c0419c54fc2537e7a5ee72d9047b47df3e9fbb340d58aea9056d2
6
+ metadata.gz: 25fffe119e3ff184525a308ad1849b3f7d6f46f774781655313db67bc3d91316c129ae38d15c6c473319346959400413147b8c04a3fc595f88df9f79052968fa
7
+ data.tar.gz: 2786682b3db206892d284bae1158f8c0301794ebc29fd5d514f0592033efee0ce54e064f02621b2c7307a2a4af31c106bc144d6b6e3da4d543fe82f953dbeaaf
data/.git/ORIG_HEAD CHANGED
@@ -1 +1 @@
1
- 2b89869b7b91e1018a793c4e76343dfb996e60aa
1
+ f45de548cbbf12c8d1154124bf56f7d13396cc19
data/.git/config CHANGED
@@ -9,6 +9,3 @@
9
9
  [branch "master"]
10
10
  remote = origin
11
11
  merge = refs/heads/master
12
- [branch "development"]
13
- remote = origin
14
- merge = refs/heads/development
data/.git/index CHANGED
Binary file
data/.git/logs/HEAD CHANGED
@@ -1,4 +1,3 @@
1
- 0000000000000000000000000000000000000000 2b89869b7b91e1018a793c4e76343dfb996e60aa sdmrelease <support@strongdm.com> 1638999932 +0000 clone: from git@github.com:strongdm/strongdm-sdk-ruby.git
2
- 2b89869b7b91e1018a793c4e76343dfb996e60aa 298b146d50f86efc5d1fe3131406b0950cf2aef3 sdmrelease <support@strongdm.com> 1638999933 +0000 checkout: moving from master to development
3
- 298b146d50f86efc5d1fe3131406b0950cf2aef3 2b89869b7b91e1018a793c4e76343dfb996e60aa sdmrelease <support@strongdm.com> 1638999934 +0000 checkout: moving from development to master
4
- 2b89869b7b91e1018a793c4e76343dfb996e60aa 298b146d50f86efc5d1fe3131406b0950cf2aef3 sdmrelease <support@strongdm.com> 1638999935 +0000 merge development: Fast-forward
1
+ 0000000000000000000000000000000000000000 f45de548cbbf12c8d1154124bf56f7d13396cc19 sdmrelease <support@strongdm.com> 1647456352 +0000 clone: from git@github.com:strongdm/strongdm-sdk-ruby.git
2
+ f45de548cbbf12c8d1154124bf56f7d13396cc19 f45de548cbbf12c8d1154124bf56f7d13396cc19 sdmrelease <support@strongdm.com> 1647456352 +0000 checkout: moving from master to master
3
+ f45de548cbbf12c8d1154124bf56f7d13396cc19 e0b1ec0134c7015ccb8c14464cc713c20034159e sdmrelease <support@strongdm.com> 1647456352 +0000 merge origin/development: Fast-forward
@@ -1,2 +1,2 @@
1
- 0000000000000000000000000000000000000000 2b89869b7b91e1018a793c4e76343dfb996e60aa sdmrelease <support@strongdm.com> 1638999932 +0000 clone: from git@github.com:strongdm/strongdm-sdk-ruby.git
2
- 2b89869b7b91e1018a793c4e76343dfb996e60aa 298b146d50f86efc5d1fe3131406b0950cf2aef3 sdmrelease <support@strongdm.com> 1638999935 +0000 merge development: Fast-forward
1
+ 0000000000000000000000000000000000000000 f45de548cbbf12c8d1154124bf56f7d13396cc19 sdmrelease <support@strongdm.com> 1647456352 +0000 clone: from git@github.com:strongdm/strongdm-sdk-ruby.git
2
+ f45de548cbbf12c8d1154124bf56f7d13396cc19 e0b1ec0134c7015ccb8c14464cc713c20034159e sdmrelease <support@strongdm.com> 1647456352 +0000 merge origin/development: Fast-forward
@@ -1 +1 @@
1
- 0000000000000000000000000000000000000000 2b89869b7b91e1018a793c4e76343dfb996e60aa sdmrelease <support@strongdm.com> 1638999932 +0000 clone: from git@github.com:strongdm/strongdm-sdk-ruby.git
1
+ 0000000000000000000000000000000000000000 f45de548cbbf12c8d1154124bf56f7d13396cc19 sdmrelease <support@strongdm.com> 1647456352 +0000 clone: from git@github.com:strongdm/strongdm-sdk-ruby.git
data/.git/packed-refs CHANGED
@@ -1,6 +1,6 @@
1
1
  # pack-refs with: peeled fully-peeled sorted
2
- 298b146d50f86efc5d1fe3131406b0950cf2aef3 refs/remotes/origin/development
3
- 2b89869b7b91e1018a793c4e76343dfb996e60aa refs/remotes/origin/master
2
+ e0b1ec0134c7015ccb8c14464cc713c20034159e refs/remotes/origin/development
3
+ f45de548cbbf12c8d1154124bf56f7d13396cc19 refs/remotes/origin/master
4
4
  2e4fe8087177ddea9b3991ca499f758384839c89 refs/tags/untagged-84fd83a4484c785cce63
5
5
  04f604866214fab4d5663b5171a3e596331577bd refs/tags/v0.9.4
6
6
  6f9a7b75b345c65fb554884907b7060680c807b7 refs/tags/v0.9.5
@@ -26,6 +26,9 @@ aa3acd85486e8faa756334c70e881034edc7b677 refs/tags/v1.0.27
26
26
  7ad3db341b5a4bac2930ffd5fb2234b8ec31e3fa refs/tags/v1.0.3
27
27
  e391c8b417c19999a926af8307330da99eac3b28 refs/tags/v1.0.30
28
28
  2b89869b7b91e1018a793c4e76343dfb996e60aa refs/tags/v1.0.31
29
+ 298b146d50f86efc5d1fe3131406b0950cf2aef3 refs/tags/v1.0.32
30
+ b42b7ab0334935356ea3642137c147d72bafdcec refs/tags/v1.0.33
31
+ f45de548cbbf12c8d1154124bf56f7d13396cc19 refs/tags/v1.0.34
29
32
  f05d3be5bc992d5a37ba13bc4ce092056769d9c8 refs/tags/v1.0.4
30
33
  75c17c9bc6e2c5877c35a61682b5d2b93ba79817 refs/tags/v1.0.5
31
34
  d035aa3acb4c3a0935121bc00bfbb0a9e999d410 refs/tags/v1.0.7
@@ -1 +1 @@
1
- 298b146d50f86efc5d1fe3131406b0950cf2aef3
1
+ e0b1ec0134c7015ccb8c14464cc713c20034159e
data/.yardopts ADDED
@@ -0,0 +1,9 @@
1
+ --markup markdown
2
+ --exclude lib/grpc
3
+ --exclude lib/version.rb
4
+ --tag internal
5
+ --hide-tag internal
6
+ lib/**/*.rb
7
+ -
8
+ README.md
9
+ LICENSE
data/README.md CHANGED
@@ -1,9 +1,10 @@
1
1
  # strongDM SDK for Ruby
2
2
 
3
- This is the official [strongDM](https://www.strongdm.com/) SDK for the Ruby programming language.
4
-
5
- Learn more with our [📚strongDM API docs](https://www.strongdm.com/docs/api/) or [📓browse the SDK reference](https://www.rubydoc.info/gems/strongdm).
3
+ This is the official [strongDM](https://www.strongdm.com/) SDK for the Ruby
4
+ programming language.
6
5
 
6
+ Learn more with our [📚strongDM API docs](https://www.strongdm.com/docs/api/) or
7
+ [📓browse the SDK reference](https://www.rubydoc.info/gems/strongdm).
7
8
 
8
9
  ## Installation
9
10
 
@@ -11,11 +12,18 @@ Learn more with our [📚strongDM API docs](https://www.strongdm.com/docs/api/)
11
12
  $ gem install strongdm
12
13
  ```
13
14
 
15
+ strongDM uses [semantic versioning](https://semver.org/). We do not guarantee
16
+ compatibility between major versions. Be sure to use version constraints to pin
17
+ your dependency to the desired major version of the strongDM SDK.
18
+
14
19
  ## Authentication
15
20
 
16
- If you don't already have them you will need to generate a set of API keys, instructions are here: [API Credentials](https://www.strongdm.com/docs/admin-guide/api-credentials/)
21
+ If you don't already have them you will need to generate a set of API keys,
22
+ instructions are here: [API
23
+ Credentials](https://www.strongdm.com/docs/admin-guide/api-credentials/)
17
24
 
18
- Add the keys as environment variables; the SDK will need to access these keys for every request.
25
+ Add the keys as environment variables; the SDK will need to access these keys
26
+ for every request.
19
27
  ```bash
20
28
  $ export SDM_API_ACCESS_KEY=<YOUR ACCESS KEY>
21
29
  $ export SDM_API_SECRET_KEY=<YOUR SECRET KEY>
@@ -37,6 +45,7 @@ end
37
45
  ## Useful Links
38
46
 
39
47
  * Documentation: [strongdm gem](https://www.rubydoc.info/gems/strongdm)
48
+ * [Migrating from Role Grants to Access Rules](https://github.com/strongdm/strongdm-sdk-ruby/wiki/Migrating-from-Role-Grants-to-Access-Rules)
40
49
  * Examples: [GitHub - strongdm/strongdm-sdk-ruby-examples](https://github.com/strongdm/strongdm-sdk-ruby-examples)
41
50
  1. [Managing Resources](https://github.com/strongdm/strongdm-sdk-ruby-examples/tree/master/1_managing_resources)
42
51
  2. [Managing Accounts](https://github.com/strongdm/strongdm-sdk-ruby-examples/tree/master/2_managing_accounts)
@@ -49,4 +58,7 @@ end
49
58
 
50
59
  ## Contributing
51
60
 
52
- Currently, we are not accepting pull requests directly to this repository, but our users are some of the most resourceful and ambitious folks out there. So, if you have something to contribute, find a bug, or just want to give us some feedback, please email <support@strongdm.com>.
61
+ Currently, we are not accepting pull requests directly to this repository, but
62
+ our users are some of the most resourceful and ambitious folks out there. So, if
63
+ you have something to contribute, find a bug, or just want to give us some
64
+ feedback, please email <support@strongdm.com>.
data/lib/errors/errors.rb CHANGED
@@ -12,7 +12,7 @@
12
12
  # See the License for the specific language governing permissions and
13
13
  # limitations under the License.
14
14
  #
15
- # This file was generated by protogen. DO NOT EDIT.
15
+ # @internal This file was generated by protogen. DO NOT EDIT.
16
16
 
17
17
  module SDM
18
18
 
@@ -20,7 +20,7 @@ require "account_attachments_pb"
20
20
 
21
21
  module V1
22
22
  module AccountAttachments
23
- # AccountAttachments assign an account to a role or composite role.
23
+ # AccountAttachments assign an account to a role.
24
24
  class Service
25
25
  include ::GRPC::GenericService
26
26
 
@@ -34,9 +34,9 @@ module V1
34
34
  rpc :Create, ::V1::AccountCreateRequest, ::V1::AccountCreateResponse
35
35
  # Get reads one Account by ID.
36
36
  rpc :Get, ::V1::AccountGetRequest, ::V1::AccountGetResponse
37
- # Update patches a Account by ID.
37
+ # Update replaces all the fields of an Account by ID.
38
38
  rpc :Update, ::V1::AccountUpdateRequest, ::V1::AccountUpdateResponse
39
- # Delete removes a Account by ID.
39
+ # Delete removes an Account by ID.
40
40
  rpc :Delete, ::V1::AccountDeleteRequest, ::V1::AccountDeleteResponse
41
41
  # List gets a list of Accounts matching a given set of criteria.
42
42
  rpc :List, ::V1::AccountListRequest, ::V1::AccountListResponse
@@ -64,6 +64,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
64
64
  optional :kubernetes_service_account, :message, 804, "v1.KubernetesServiceAccount"
65
65
  optional :kubernetes_service_account_user_impersonation, :message, 808, "v1.KubernetesServiceAccountUserImpersonation"
66
66
  optional :kubernetes_user_impersonation, :message, 812, "v1.KubernetesUserImpersonation"
67
+ optional :mtls_postgres, :message, 1306, "v1.MTLSPostgres"
67
68
  optional :maria, :message, 1103, "v1.Maria"
68
69
  optional :memcached, :message, 900, "v1.Memcached"
69
70
  optional :memsql, :message, 1104, "v1.Memsql"
@@ -71,6 +72,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
71
72
  optional :mongo_legacy_host, :message, 1000, "v1.MongoLegacyHost"
72
73
  optional :mongo_legacy_replicaset, :message, 1001, "v1.MongoLegacyReplicaset"
73
74
  optional :mongo_replica_set, :message, 1003, "v1.MongoReplicaSet"
75
+ optional :mongo_sharded_cluster, :message, 1054, "v1.MongoShardedCluster"
74
76
  optional :mysql, :message, 1100, "v1.Mysql"
75
77
  optional :neptune, :message, 2250, "v1.Neptune"
76
78
  optional :neptune_iam, :message, 2201, "v1.NeptuneIAM"
@@ -654,6 +656,25 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
654
656
  optional :hostname, :string, 1
655
657
  optional :port, :int32, 2
656
658
  end
659
+ add_message "v1.MTLSPostgres" do
660
+ optional :id, :string, 32768
661
+ optional :name, :string, 32769
662
+ optional :healthy, :bool, 32770
663
+ optional :tags, :message, 32771, "v1.Tags"
664
+ optional :secret_store_id, :string, 32772
665
+ optional :egress_filter, :string, 32773
666
+ optional :certificate_authority, :string, 8
667
+ optional :client_certificate, :string, 10
668
+ optional :client_key, :string, 12
669
+ optional :database, :string, 4
670
+ optional :hostname, :string, 1
671
+ optional :override_database, :bool, 7
672
+ optional :password, :string, 3
673
+ optional :port, :int32, 6
674
+ optional :port_override, :int32, 5
675
+ optional :server_name, :string, 14
676
+ optional :username, :string, 2
677
+ end
657
678
  add_message "v1.Maria" do
658
679
  optional :id, :string, 32768
659
680
  optional :name, :string, 32769
@@ -758,6 +779,20 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
758
779
  optional :tls_required, :bool, 9
759
780
  optional :username, :string, 4
760
781
  end
782
+ add_message "v1.MongoShardedCluster" do
783
+ optional :id, :string, 32768
784
+ optional :name, :string, 32769
785
+ optional :healthy, :bool, 32770
786
+ optional :tags, :message, 32771, "v1.Tags"
787
+ optional :secret_store_id, :string, 32772
788
+ optional :egress_filter, :string, 32773
789
+ optional :auth_database, :string, 2
790
+ optional :hostname, :string, 1
791
+ optional :password, :string, 5
792
+ optional :port_override, :int32, 3
793
+ optional :tls_required, :bool, 8
794
+ optional :username, :string, 4
795
+ end
761
796
  add_message "v1.Mysql" do
762
797
  optional :id, :string, 32768
763
798
  optional :name, :string, 32769
@@ -851,6 +886,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
851
886
  optional :tags, :message, 32771, "v1.Tags"
852
887
  optional :secret_store_id, :string, 32772
853
888
  optional :egress_filter, :string, 32773
889
+ optional :downgrade_nla_connections, :bool, 6
854
890
  optional :hostname, :string, 1
855
891
  optional :password, :string, 3
856
892
  optional :port, :int32, 5
@@ -1079,6 +1115,7 @@ module V1
1079
1115
  KubernetesServiceAccount = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.KubernetesServiceAccount").msgclass
1080
1116
  KubernetesServiceAccountUserImpersonation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.KubernetesServiceAccountUserImpersonation").msgclass
1081
1117
  KubernetesUserImpersonation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.KubernetesUserImpersonation").msgclass
1118
+ MTLSPostgres = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.MTLSPostgres").msgclass
1082
1119
  Maria = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Maria").msgclass
1083
1120
  Memcached = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Memcached").msgclass
1084
1121
  Memsql = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Memsql").msgclass
@@ -1086,6 +1123,7 @@ module V1
1086
1123
  MongoLegacyHost = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.MongoLegacyHost").msgclass
1087
1124
  MongoLegacyReplicaset = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.MongoLegacyReplicaset").msgclass
1088
1125
  MongoReplicaSet = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.MongoReplicaSet").msgclass
1126
+ MongoShardedCluster = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.MongoShardedCluster").msgclass
1089
1127
  Mysql = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Mysql").msgclass
1090
1128
  Neptune = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Neptune").msgclass
1091
1129
  NeptuneIAM = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.NeptuneIAM").msgclass
@@ -34,7 +34,7 @@ module V1
34
34
  rpc :Create, ::V1::NodeCreateRequest, ::V1::NodeCreateResponse
35
35
  # Get reads one Node by ID.
36
36
  rpc :Get, ::V1::NodeGetRequest, ::V1::NodeGetResponse
37
- # Update patches a Node by ID.
37
+ # Update replaces all the fields of a Node by ID.
38
38
  rpc :Update, ::V1::NodeUpdateRequest, ::V1::NodeUpdateResponse
39
39
  # Delete removes a Node by ID.
40
40
  rpc :Delete, ::V1::NodeDeleteRequest, ::V1::NodeDeleteResponse
@@ -19,72 +19,67 @@ require "google/protobuf"
19
19
 
20
20
  Google::Protobuf::DescriptorPool.generated_pool.build do
21
21
  add_file("options.proto", :syntax => :proto3) do
22
+ add_message "v1.FileOptions" do
23
+ repeated :targets, :string, 1941700
24
+ end
25
+ add_message "v1.ServiceOptions" do
26
+ optional :main_noun, :string, 1941400
27
+ optional :id_prefix, :string, 1941402
28
+ repeated :targets, :string, 1941401
29
+ end
22
30
  add_message "v1.MethodOptions" do
23
31
  optional :method, :string, 1941300
24
32
  optional :url, :string, 1941301
33
+ optional :deprecation_date, :string, 1941302
25
34
  end
26
- add_message "v1.FileOptions" do
27
- optional :private_sdk, :bool, 1941700
35
+ add_message "v1.MessageOptions" do
36
+ optional :porcelain, :bool, 1941301
37
+ optional :error, :int32, 1941302
38
+ optional :options_field, :string, 1941303
39
+ repeated :targets, :string, 1941306
40
+ optional :terraform_docs, :message, 1941304, "v1.TerraformDocs"
41
+ optional :custom, :message, 1941305, "v1.CustomOptions"
42
+ end
43
+ add_message "v1.OneofOptions" do
44
+ repeated :common_fields, :string, 1941381
28
45
  end
29
46
  add_message "v1.FieldOptions" do
30
- optional :expose_as_porcelain, :bool, 1941302
47
+ optional :porcelain, :bool, 1941302
31
48
  optional :iterable, :bool, 1941303
32
49
  optional :required, :bool, 1941304
33
50
  optional :write_only, :bool, 1941309
34
51
  optional :read_only, :bool, 1941315
35
52
  optional :is_credential, :bool, 1941316
36
- optional :private_sdk, :bool, 1941318
37
- optional :terraform_computed, :string, 1941307
53
+ repeated :targets, :string, 1941318
38
54
  optional :terraform_force_new, :bool, 1941308
39
55
  optional :terraform_sensitive, :bool, 1941310
40
56
  optional :terraform_diff_suppress_func, :string, 1941319
41
- optional :terraform_comment_override, :string, 1941320
42
- optional :cli_name, :string, 1941311
43
- optional :cli_json_name, :string, 1941312
44
- optional :json_gateway_name, :string, 1941313
45
- optional :hide_from_json_gateway, :bool, 1941314
46
- end
47
- add_message "v1.MessageOptions" do
48
- optional :porcelain, :bool, 1941301
49
- optional :error, :int32, 1941302
50
- optional :options_field, :string, 1941303
51
- optional :custom, :message, 1941305, "v1.CustomPorcelainMessageOptions"
52
- optional :private_sdk, :bool, 1941306
53
- optional :cli_name, :string, 1941307
54
- optional :cli_json_name, :string, 1941308
55
- optional :json_gateway_name, :string, 1941309
56
- optional :hide_from_json_gateway, :bool, 1941310
57
- optional :terraform_docs, :message, 1941304, "v1.TerraformDocs"
58
- optional :terraform_provider_name, :string, 1941311
57
+ optional :terraform_computed, :bool, 1941322
58
+ optional :custom, :message, 1941305, "v1.CustomOptions"
59
+ map :read_only_override, :string, :bool, 1941312
59
60
  end
60
- add_message "v1.CustomPorcelainMessageOptions" do
61
+ add_message "v1.CustomOptions" do
61
62
  optional :converter, :string, 1941309
62
- optional :go_porcelain_type, :string, 1941310
63
- optional :java_porcelain_type, :string, 1941311
64
- optional :terraform_porcelain_type, :string, 1941312
65
- optional :openapi_porcelain_type, :string, 1941313
63
+ map :porcelain_type_override, :string, :string, 1941310
64
+ map :porcelain_name_override, :string, :string, 1941320
65
+ map :comment_override, :string, :string, 1941331
66
+ map :deprecated_override, :string, :bool, 1941312
67
+ optional :terraform_elem_type, :string, 1941311
66
68
  end
67
69
  add_message "v1.TerraformDocs" do
68
70
  optional :resource_example_path, :string, 1941300
69
71
  optional :data_source_example_path, :string, 1941301
70
72
  end
71
- add_message "v1.OneofOptions" do
72
- repeated :common_fields, :string, 1941381
73
- end
74
- add_message "v1.ServiceOptions" do
75
- optional :main_noun, :string, 1941400
76
- optional :private_sdk, :bool, 1941401
77
- end
78
73
  end
79
74
  end
80
75
 
81
76
  module V1
82
- MethodOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.MethodOptions").msgclass
83
77
  FileOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.FileOptions").msgclass
84
- FieldOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.FieldOptions").msgclass
78
+ ServiceOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ServiceOptions").msgclass
79
+ MethodOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.MethodOptions").msgclass
85
80
  MessageOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.MessageOptions").msgclass
86
- CustomPorcelainMessageOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.CustomPorcelainMessageOptions").msgclass
87
- TerraformDocs = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.TerraformDocs").msgclass
88
81
  OneofOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.OneofOptions").msgclass
89
- ServiceOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ServiceOptions").msgclass
82
+ FieldOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.FieldOptions").msgclass
83
+ CustomOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.CustomOptions").msgclass
84
+ TerraformDocs = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.TerraformDocs").msgclass
90
85
  end