strongdm 1.0.34 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (253) 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-802051e74a1de9449b3bc69f695b0b5e55e448e5.pack → pack-799dc839a811c2fbe50b5281a9266fcc3a8f5154.pack} +0 -0
  10. data/.git/packed-refs +3 -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 +21 -0
  18. data/lib/grpc/nodes_services_pb.rb +1 -1
  19. data/lib/grpc/options_pb.rb +35 -41
  20. data/lib/grpc/plumbing.rb +1165 -982
  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 +17 -0
  26. data/lib/grpc/secret_stores_services_pb.rb +1 -1
  27. data/lib/models/porcelain.rb +1178 -2962
  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 -224
  33. data/.git/FETCH_HEAD +0 -2
  34. data/.git/logs/refs/heads/development +0 -1
  35. data/.git/objects/pack/pack-802051e74a1de9449b3bc69f695b0b5e55e448e5.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/AzureStore.html +0 -232
  75. data/doc/SDM/BadRequestError.html +0 -140
  76. data/doc/SDM/BigQuery.html +0 -337
  77. data/doc/SDM/Cassandra.html +0 -352
  78. data/doc/SDM/Citus.html +0 -367
  79. data/doc/SDM/Client.html +0 -443
  80. data/doc/SDM/Clustrix.html +0 -352
  81. data/doc/SDM/Cockroach.html +0 -367
  82. data/doc/SDM/ControlPanel.html +0 -248
  83. data/doc/SDM/ControlPanelGetSSHCAPublicKeyResponse.html +0 -219
  84. data/doc/SDM/ControlPanelVerifyJWTResponse.html +0 -219
  85. data/doc/SDM/CreateResponseMetadata.html +0 -169
  86. data/doc/SDM/DB2LUW.html +0 -352
  87. data/doc/SDM/DB2i.html +0 -352
  88. data/doc/SDM/DeadlineExceededError.html +0 -140
  89. data/doc/SDM/DeleteResponseMetadata.html +0 -169
  90. data/doc/SDM/DocumentDBHost.html +0 -352
  91. data/doc/SDM/DocumentDBReplicaSet.html +0 -367
  92. data/doc/SDM/Druid.html +0 -337
  93. data/doc/SDM/DynamoDB.html +0 -367
  94. data/doc/SDM/Elastic.html +0 -352
  95. data/doc/SDM/ElasticacheRedis.html +0 -337
  96. data/doc/SDM/GCP.html +0 -292
  97. data/doc/SDM/Gateway.html +0 -279
  98. data/doc/SDM/GetResponseMetadata.html +0 -169
  99. data/doc/SDM/GoogleGKE.html +0 -322
  100. data/doc/SDM/GoogleGKEUserImpersonation.html +0 -322
  101. data/doc/SDM/Greenplum.html +0 -367
  102. data/doc/SDM/HTTPAuth.html +0 -352
  103. data/doc/SDM/HTTPBasicAuth.html +0 -367
  104. data/doc/SDM/HTTPNoAuth.html +0 -337
  105. data/doc/SDM/InternalError.html +0 -140
  106. data/doc/SDM/Kubernetes.html +0 -352
  107. data/doc/SDM/KubernetesBasicAuth.html +0 -337
  108. data/doc/SDM/KubernetesServiceAccount.html +0 -322
  109. data/doc/SDM/KubernetesServiceAccountUserImpersonation.html +0 -322
  110. data/doc/SDM/KubernetesUserImpersonation.html +0 -352
  111. data/doc/SDM/Maria.html +0 -352
  112. data/doc/SDM/Memcached.html +0 -307
  113. data/doc/SDM/Memsql.html +0 -352
  114. data/doc/SDM/MongoHost.html +0 -367
  115. data/doc/SDM/MongoLegacyHost.html +0 -382
  116. data/doc/SDM/MongoLegacyReplicaset.html +0 -397
  117. data/doc/SDM/MongoReplicaSet.html +0 -397
  118. data/doc/SDM/MongoShardedCluster.html +0 -352
  119. data/doc/SDM/Mysql.html +0 -352
  120. data/doc/SDM/Neptune.html +0 -307
  121. data/doc/SDM/NeptuneIAM.html +0 -382
  122. data/doc/SDM/NodeCreateResponse.html +0 -234
  123. data/doc/SDM/NodeDeleteResponse.html +0 -204
  124. data/doc/SDM/NodeGetResponse.html +0 -219
  125. data/doc/SDM/NodeUpdateResponse.html +0 -219
  126. data/doc/SDM/Nodes.html +0 -409
  127. data/doc/SDM/NotFoundError.html +0 -140
  128. data/doc/SDM/Oracle.html +0 -367
  129. data/doc/SDM/PermissionError.html +0 -140
  130. data/doc/SDM/Plumbing.html +0 -16086
  131. data/doc/SDM/Postgres.html +0 -367
  132. data/doc/SDM/Presto.html +0 -367
  133. data/doc/SDM/RDP.html +0 -352
  134. data/doc/SDM/RPCError.html +0 -157
  135. data/doc/SDM/RabbitMQAMQP091.html +0 -352
  136. data/doc/SDM/RateLimitError.html +0 -157
  137. data/doc/SDM/RateLimitMetadata.html +0 -234
  138. data/doc/SDM/RawTCP.html +0 -307
  139. data/doc/SDM/Redis.html +0 -322
  140. data/doc/SDM/Redshift.html +0 -367
  141. data/doc/SDM/Relay.html +0 -249
  142. data/doc/SDM/ResourceCreateResponse.html +0 -219
  143. data/doc/SDM/ResourceDeleteResponse.html +0 -204
  144. data/doc/SDM/ResourceGetResponse.html +0 -219
  145. data/doc/SDM/ResourceUpdateResponse.html +0 -219
  146. data/doc/SDM/Resources.html +0 -456
  147. data/doc/SDM/Role.html +0 -249
  148. data/doc/SDM/RoleAttachment.html +0 -219
  149. data/doc/SDM/RoleAttachmentCreateResponse.html +0 -219
  150. data/doc/SDM/RoleAttachmentDeleteResponse.html +0 -204
  151. data/doc/SDM/RoleAttachmentGetResponse.html +0 -219
  152. data/doc/SDM/RoleAttachments.html +0 -354
  153. data/doc/SDM/RoleCreateResponse.html +0 -219
  154. data/doc/SDM/RoleDeleteResponse.html +0 -204
  155. data/doc/SDM/RoleGetResponse.html +0 -219
  156. data/doc/SDM/RoleGrant.html +0 -219
  157. data/doc/SDM/RoleGrantCreateResponse.html +0 -219
  158. data/doc/SDM/RoleGrantDeleteResponse.html +0 -204
  159. data/doc/SDM/RoleGrantGetResponse.html +0 -219
  160. data/doc/SDM/RoleGrants.html +0 -354
  161. data/doc/SDM/RoleUpdateResponse.html +0 -219
  162. data/doc/SDM/Roles.html +0 -403
  163. data/doc/SDM/SQLServer.html +0 -382
  164. data/doc/SDM/SSH.html +0 -352
  165. data/doc/SDM/SSHCert.html +0 -337
  166. data/doc/SDM/SSHCustomerKey.html +0 -352
  167. data/doc/SDM/SecretStoreCreateResponse.html +0 -219
  168. data/doc/SDM/SecretStoreDeleteResponse.html +0 -204
  169. data/doc/SDM/SecretStoreGetResponse.html +0 -219
  170. data/doc/SDM/SecretStoreUpdateResponse.html +0 -219
  171. data/doc/SDM/SecretStores.html +0 -403
  172. data/doc/SDM/Service.html +0 -234
  173. data/doc/SDM/SingleStore.html +0 -352
  174. data/doc/SDM/Snowflake.html +0 -352
  175. data/doc/SDM/Sybase.html +0 -337
  176. data/doc/SDM/SybaseIQ.html +0 -337
  177. data/doc/SDM/Tag.html +0 -202
  178. data/doc/SDM/Teradata.html +0 -337
  179. data/doc/SDM/UpdateResponseMetadata.html +0 -169
  180. data/doc/SDM/User.html +0 -264
  181. data/doc/SDM/VaultTLSStore.html +0 -292
  182. data/doc/SDM/VaultTokenStore.html +0 -247
  183. data/doc/SDM.html +0 -122
  184. data/doc/V1/AccountAttachments/Service.html +0 -107
  185. data/doc/V1/AccountAttachments.html +0 -100
  186. data/doc/V1/AccountGrants/Service.html +0 -107
  187. data/doc/V1/AccountGrants.html +0 -100
  188. data/doc/V1/Accounts/Service.html +0 -112
  189. data/doc/V1/Accounts.html +0 -100
  190. data/doc/V1/ControlPanel/Service.html +0 -107
  191. data/doc/V1/ControlPanel.html +0 -100
  192. data/doc/V1/Nodes/Service.html +0 -112
  193. data/doc/V1/Nodes.html +0 -100
  194. data/doc/V1/Resources/Service.html +0 -105
  195. data/doc/V1/Resources.html +0 -100
  196. data/doc/V1/RoleAttachments/Service.html +0 -107
  197. data/doc/V1/RoleAttachments.html +0 -100
  198. data/doc/V1/RoleGrants/Service.html +0 -107
  199. data/doc/V1/RoleGrants.html +0 -100
  200. data/doc/V1/Roles/Service.html +0 -107
  201. data/doc/V1/Roles.html +0 -100
  202. data/doc/V1/SecretStores/Service.html +0 -107
  203. data/doc/V1/SecretStores.html +0 -100
  204. data/doc/V1/Tags.html +0 -100
  205. data/doc/V1.html +0 -506
  206. data/doc/created.rid +0 -37
  207. data/doc/css/fonts.css +0 -167
  208. data/doc/css/rdoc.css +0 -639
  209. data/doc/examples/Gemfile.html +0 -89
  210. data/doc/fonts/Lato-Light.ttf +0 -0
  211. data/doc/fonts/Lato-LightItalic.ttf +0 -0
  212. data/doc/fonts/Lato-Regular.ttf +0 -0
  213. data/doc/fonts/Lato-RegularItalic.ttf +0 -0
  214. data/doc/fonts/SourceCodePro-Bold.ttf +0 -0
  215. data/doc/fonts/SourceCodePro-Regular.ttf +0 -0
  216. data/doc/images/add.png +0 -0
  217. data/doc/images/arrow_up.png +0 -0
  218. data/doc/images/brick.png +0 -0
  219. data/doc/images/brick_link.png +0 -0
  220. data/doc/images/bug.png +0 -0
  221. data/doc/images/bullet_black.png +0 -0
  222. data/doc/images/bullet_toggle_minus.png +0 -0
  223. data/doc/images/bullet_toggle_plus.png +0 -0
  224. data/doc/images/date.png +0 -0
  225. data/doc/images/delete.png +0 -0
  226. data/doc/images/find.png +0 -0
  227. data/doc/images/loadingAnimation.gif +0 -0
  228. data/doc/images/macFFBgHack.png +0 -0
  229. data/doc/images/package.png +0 -0
  230. data/doc/images/page_green.png +0 -0
  231. data/doc/images/page_white_text.png +0 -0
  232. data/doc/images/page_white_width.png +0 -0
  233. data/doc/images/plugin.png +0 -0
  234. data/doc/images/ruby.png +0 -0
  235. data/doc/images/tag_blue.png +0 -0
  236. data/doc/images/tag_green.png +0 -0
  237. data/doc/images/transparent.png +0 -0
  238. data/doc/images/wrench.png +0 -0
  239. data/doc/images/wrench_orange.png +0 -0
  240. data/doc/images/zoom.png +0 -0
  241. data/doc/index.html +0 -257
  242. data/doc/js/darkfish.js +0 -84
  243. data/doc/js/navigation.js +0 -105
  244. data/doc/js/navigation.js.gz +0 -0
  245. data/doc/js/search.js +0 -110
  246. data/doc/js/search_index.js +0 -1
  247. data/doc/js/search_index.js.gz +0 -0
  248. data/doc/js/searcher.js +0 -229
  249. data/doc/js/searcher.js.gz +0 -0
  250. data/doc/lib/version.html +0 -92
  251. data/doc/table_of_contents.html +0 -4680
  252. data/examples/Gemfile +0 -3
  253. data/examples/listUsers.rb +0 -21
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 802c5b5384692581a26a764942457f6492fcb38b9addd2cb4a4f43b492642bcc
4
- data.tar.gz: '07692b07915c7f719eb5818a15d3b91388b4922c5ae91aea36c2c71898b5cf01'
3
+ metadata.gz: a1d658965937c2101e66c96669146644d3239cf6d85911807305fc95189049b2
4
+ data.tar.gz: c1343a4844f0f8e0ab5e38d127a3a9fc148977436bb3ab877117622a2d2966a3
5
5
  SHA512:
6
- metadata.gz: 7bec69bad02839718c19969bf9e35e0a30e76c153215ced2e24a7853c6bbf0da65c55a355742d71b5381cea5a1fc7610746055b25940bb6aba281cd78f03a533
7
- data.tar.gz: ad8695dfd875cd054efeb75f144f30eb484425d9a398032b8f3da60a0b0bf7d87c96d1b056f5c11fac7dfa1c068618b08a6cd3472ad4f25bc8f09cad4a0c1fd6
6
+ metadata.gz: 25fffe119e3ff184525a308ad1849b3f7d6f46f774781655313db67bc3d91316c129ae38d15c6c473319346959400413147b8c04a3fc595f88df9f79052968fa
7
+ data.tar.gz: 2786682b3db206892d284bae1158f8c0301794ebc29fd5d514f0592033efee0ce54e064f02621b2c7307a2a4af31c106bc144d6b6e3da4d543fe82f953dbeaaf
data/.git/ORIG_HEAD CHANGED
@@ -1 +1 @@
1
- b42b7ab0334935356ea3642137c147d72bafdcec
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 b42b7ab0334935356ea3642137c147d72bafdcec sdmrelease <support@strongdm.com> 1643132545 +0000 clone: from git@github.com:strongdm/strongdm-sdk-ruby.git
2
- b42b7ab0334935356ea3642137c147d72bafdcec f45de548cbbf12c8d1154124bf56f7d13396cc19 sdmrelease <support@strongdm.com> 1643132545 +0000 checkout: moving from master to development
3
- f45de548cbbf12c8d1154124bf56f7d13396cc19 b42b7ab0334935356ea3642137c147d72bafdcec sdmrelease <support@strongdm.com> 1643132546 +0000 checkout: moving from development to master
4
- b42b7ab0334935356ea3642137c147d72bafdcec f45de548cbbf12c8d1154124bf56f7d13396cc19 sdmrelease <support@strongdm.com> 1643132547 +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 b42b7ab0334935356ea3642137c147d72bafdcec sdmrelease <support@strongdm.com> 1643132545 +0000 clone: from git@github.com:strongdm/strongdm-sdk-ruby.git
2
- b42b7ab0334935356ea3642137c147d72bafdcec f45de548cbbf12c8d1154124bf56f7d13396cc19 sdmrelease <support@strongdm.com> 1643132547 +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 b42b7ab0334935356ea3642137c147d72bafdcec sdmrelease <support@strongdm.com> 1643132545 +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
- f45de548cbbf12c8d1154124bf56f7d13396cc19 refs/remotes/origin/development
3
- b42b7ab0334935356ea3642137c147d72bafdcec 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
@@ -28,6 +28,7 @@ e391c8b417c19999a926af8307330da99eac3b28 refs/tags/v1.0.30
28
28
  2b89869b7b91e1018a793c4e76343dfb996e60aa refs/tags/v1.0.31
29
29
  298b146d50f86efc5d1fe3131406b0950cf2aef3 refs/tags/v1.0.32
30
30
  b42b7ab0334935356ea3642137c147d72bafdcec refs/tags/v1.0.33
31
+ f45de548cbbf12c8d1154124bf56f7d13396cc19 refs/tags/v1.0.34
31
32
  f05d3be5bc992d5a37ba13bc4ce092056769d9c8 refs/tags/v1.0.4
32
33
  75c17c9bc6e2c5877c35a61682b5d2b93ba79817 refs/tags/v1.0.5
33
34
  d035aa3acb4c3a0935121bc00bfbb0a9e999d410 refs/tags/v1.0.7
@@ -1 +1 @@
1
- f45de548cbbf12c8d1154124bf56f7d13396cc19
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"
@@ -655,6 +656,25 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
655
656
  optional :hostname, :string, 1
656
657
  optional :port, :int32, 2
657
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
658
678
  add_message "v1.Maria" do
659
679
  optional :id, :string, 32768
660
680
  optional :name, :string, 32769
@@ -1095,6 +1115,7 @@ module V1
1095
1115
  KubernetesServiceAccount = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.KubernetesServiceAccount").msgclass
1096
1116
  KubernetesServiceAccountUserImpersonation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.KubernetesServiceAccountUserImpersonation").msgclass
1097
1117
  KubernetesUserImpersonation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.KubernetesUserImpersonation").msgclass
1118
+ MTLSPostgres = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.MTLSPostgres").msgclass
1098
1119
  Maria = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Maria").msgclass
1099
1120
  Memcached = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Memcached").msgclass
1100
1121
  Memsql = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Memsql").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,73 +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 :id_prefix, :string, 1941402
77
- optional :private_sdk, :bool, 1941401
78
- end
79
73
  end
80
74
  end
81
75
 
82
76
  module V1
83
- MethodOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.MethodOptions").msgclass
84
77
  FileOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.FileOptions").msgclass
85
- 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
86
80
  MessageOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.MessageOptions").msgclass
87
- CustomPorcelainMessageOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.CustomPorcelainMessageOptions").msgclass
88
- TerraformDocs = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.TerraformDocs").msgclass
89
81
  OneofOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.OneofOptions").msgclass
90
- 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
91
85
  end