strongdm 1.0.14 → 1.0.19
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/doc/SDM/AKS.html +2 -2
- data/doc/SDM/AKSBasicAuth.html +2 -2
- data/doc/SDM/AKSServiceAccount.html +2 -2
- data/doc/SDM/AWS.html +391 -0
- data/doc/SDM/AWSStore.html +2 -2
- data/doc/SDM/AccountAttachment.html +2 -2
- data/doc/SDM/AccountAttachmentCreateResponse.html +2 -2
- data/doc/SDM/AccountAttachmentDeleteResponse.html +2 -2
- data/doc/SDM/AccountAttachmentGetResponse.html +2 -2
- data/doc/SDM/AccountCreateResponse.html +2 -2
- data/doc/SDM/AccountDeleteResponse.html +2 -2
- data/doc/SDM/AccountGetResponse.html +2 -2
- data/doc/SDM/AccountGrant.html +2 -2
- data/doc/SDM/AccountGrantCreateResponse.html +2 -2
- data/doc/SDM/AccountGrantDeleteResponse.html +2 -2
- data/doc/SDM/AccountGrantGetResponse.html +2 -2
- data/doc/SDM/AccountUpdateResponse.html +2 -2
- data/doc/SDM/AmazonEKS.html +21 -3
- data/doc/SDM/AmazonES.html +39 -3
- data/doc/SDM/Athena.html +39 -3
- data/doc/SDM/AuroraMysql.html +2 -2
- data/doc/SDM/AuroraPostgres.html +2 -2
- data/doc/SDM/BigQuery.html +2 -2
- data/doc/SDM/Cassandra.html +2 -2
- data/doc/SDM/Citus.html +2 -2
- data/doc/SDM/Client.html +9 -6
- data/doc/SDM/Clustrix.html +2 -2
- data/doc/SDM/Cockroach.html +2 -2
- data/doc/SDM/ControlPanel.html +62 -0
- data/doc/SDM/ControlPanelGetSSHCAPublicKeyResponse.html +2 -2
- data/doc/SDM/ControlPanelVerifyJWTResponse.html +267 -0
- data/doc/SDM/DB2LUW.html +2 -2
- data/doc/SDM/DB2i.html +2 -2
- data/doc/SDM/Druid.html +2 -2
- data/doc/SDM/DynamoDB.html +39 -3
- data/doc/SDM/Elastic.html +2 -2
- data/doc/SDM/ElasticacheRedis.html +2 -2
- data/doc/SDM/Gateway.html +2 -2
- data/doc/SDM/GoogleGKE.html +2 -2
- data/doc/SDM/Greenplum.html +2 -2
- data/doc/SDM/HTTPAuth.html +2 -2
- data/doc/SDM/HTTPBasicAuth.html +2 -2
- data/doc/SDM/HTTPNoAuth.html +2 -2
- data/doc/SDM/Kubernetes.html +2 -2
- data/doc/SDM/KubernetesBasicAuth.html +2 -2
- data/doc/SDM/KubernetesServiceAccount.html +2 -2
- data/doc/SDM/Maria.html +2 -2
- data/doc/SDM/Memcached.html +2 -2
- data/doc/SDM/Memsql.html +2 -2
- data/doc/SDM/MongoHost.html +2 -2
- data/doc/SDM/MongoLegacyHost.html +2 -2
- data/doc/SDM/MongoLegacyReplicaset.html +2 -2
- data/doc/SDM/MongoReplicaSet.html +2 -2
- data/doc/SDM/Mysql.html +2 -2
- data/doc/SDM/NodeCreateResponse.html +2 -2
- data/doc/SDM/NodeDeleteResponse.html +2 -2
- data/doc/SDM/NodeGetResponse.html +2 -2
- data/doc/SDM/NodeUpdateResponse.html +2 -2
- data/doc/SDM/Nodes.html +6 -6
- data/doc/SDM/Oracle.html +2 -2
- data/doc/SDM/Plumbing.html +1167 -457
- data/doc/SDM/Postgres.html +2 -2
- data/doc/SDM/Presto.html +2 -2
- data/doc/SDM/RDP.html +2 -2
- data/doc/SDM/Redis.html +2 -2
- data/doc/SDM/Redshift.html +2 -2
- data/doc/SDM/Relay.html +2 -2
- data/doc/SDM/ResourceCreateResponse.html +2 -2
- data/doc/SDM/ResourceDeleteResponse.html +2 -2
- data/doc/SDM/ResourceGetResponse.html +2 -2
- data/doc/SDM/ResourceUpdateResponse.html +2 -2
- data/doc/SDM/Resources.html +74 -6
- data/doc/SDM/Role.html +2 -2
- data/doc/SDM/RoleAttachment.html +2 -2
- data/doc/SDM/RoleAttachmentCreateResponse.html +2 -2
- data/doc/SDM/RoleAttachmentDeleteResponse.html +2 -2
- data/doc/SDM/RoleAttachmentGetResponse.html +2 -2
- data/doc/SDM/RoleAttachments.html +5 -5
- data/doc/SDM/RoleCreateResponse.html +2 -2
- data/doc/SDM/RoleDeleteResponse.html +2 -2
- data/doc/SDM/RoleGetResponse.html +2 -2
- data/doc/SDM/RoleGrant.html +2 -2
- data/doc/SDM/RoleGrantCreateResponse.html +2 -2
- data/doc/SDM/RoleGrantDeleteResponse.html +2 -2
- data/doc/SDM/RoleGrantGetResponse.html +2 -2
- data/doc/SDM/RoleGrants.html +5 -5
- data/doc/SDM/RoleUpdateResponse.html +2 -2
- data/doc/SDM/Roles.html +6 -6
- data/doc/SDM/SQLServer.html +2 -2
- data/doc/SDM/SSH.html +2 -2
- data/doc/SDM/SSHCert.html +2 -2
- data/doc/SDM/SSHCustomerKey.html +409 -0
- data/doc/SDM/SecretStoreCreateResponse.html +2 -2
- data/doc/SDM/SecretStoreDeleteResponse.html +2 -2
- data/doc/SDM/SecretStoreGetResponse.html +2 -2
- data/doc/SDM/SecretStoreUpdateResponse.html +2 -2
- data/doc/SDM/SecretStores.html +6 -6
- data/doc/SDM/Service.html +2 -2
- data/doc/SDM/Snowflake.html +2 -2
- data/doc/SDM/Sybase.html +2 -2
- data/doc/SDM/SybaseIQ.html +2 -2
- data/doc/SDM/Tag.html +247 -0
- data/doc/SDM/Teradata.html +2 -2
- data/doc/SDM/User.html +2 -2
- data/doc/SDM/VaultTLSStore.html +2 -2
- data/doc/SDM/VaultTokenStore.html +2 -2
- data/doc/V1.html +150 -0
- data/doc/V1/BuildsPrivate.html +113 -0
- data/doc/V1/BuildsPrivate/Service.html +119 -0
- data/doc/V1/DemoProvisioningRequests.html +113 -0
- data/doc/V1/DemoProvisioningRequests/Service.html +119 -0
- data/doc/V1/Permissions/Service.html +119 -0
- data/doc/created.rid +51 -44
- data/doc/index.html +16 -0
- data/doc/js/navigation.js.gz +0 -0
- data/doc/js/search_index.js +1 -1
- data/doc/js/search_index.js.gz +0 -0
- data/doc/js/searcher.js.gz +0 -0
- data/doc/lib/version.html +1 -1
- data/doc/strongdm_gemspec.html +1 -1
- data/doc/table_of_contents.html +579 -409
- data/lib/grpc/control_panel_pb.rb +11 -0
- data/lib/grpc/control_panel_services_pb.rb +2 -0
- data/lib/grpc/drivers_pb.rb +36 -0
- data/lib/grpc/options_pb.rb +5 -1
- data/lib/grpc/plumbing.rb +347 -143
- data/lib/grpc/resources_pb.rb +12 -0
- data/lib/grpc/resources_services_pb.rb +2 -0
- data/lib/grpc/secret_store_types_pb.rb +60 -0
- data/lib/grpc/secret_stores_pb.rb +1 -33
- data/lib/grpc/spec_pb.rb +7 -0
- data/lib/grpc/tags_pb.rb +5 -0
- data/lib/models/porcelain.rb +396 -138
- data/lib/strongdm.rb +5 -2
- data/lib/svc.rb +67 -0
- data/lib/version +1 -1
- data/lib/version.rb +1 -1
- metadata +12 -8
- data/lib/grpc/access_rules_pb.rb +0 -115
- data/lib/grpc/access_rules_services_pb.rb +0 -50
- data/lib/grpc/audits_pb.rb +0 -40
- data/lib/grpc/audits_services_pb.rb +0 -37
- data/lib/grpc/secret_store_healths_pb.rb +0 -59
- data/lib/grpc/secret_store_healths_services_pb.rb +0 -39
data/lib/grpc/resources_pb.rb
CHANGED
@@ -20,6 +20,7 @@ require "google/protobuf"
|
|
20
20
|
require "options_pb"
|
21
21
|
require "spec_pb"
|
22
22
|
require "drivers_pb"
|
23
|
+
require "tags_pb"
|
23
24
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
24
25
|
add_file("resources.proto", :syntax => :proto3) do
|
25
26
|
add_message "v1.ResourceCreateRequest" do
|
@@ -67,6 +68,15 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
67
68
|
repeated :resources, :message, 2, "v1.Resource"
|
68
69
|
optional :rate_limit, :message, 3, "v1.RateLimitMetadata"
|
69
70
|
end
|
71
|
+
add_message "v1.EnumerateTagsRequest" do
|
72
|
+
optional :meta, :message, 1, "v1.ListRequestMetadata"
|
73
|
+
optional :filter, :string, 2
|
74
|
+
end
|
75
|
+
add_message "v1.EnumerateTagsResponse" do
|
76
|
+
optional :meta, :message, 1, "v1.ListResponseMetadata"
|
77
|
+
repeated :matches, :message, 2, "v1.Tag"
|
78
|
+
optional :rate_limit, :message, 3, "v1.RateLimitMetadata"
|
79
|
+
end
|
70
80
|
end
|
71
81
|
end
|
72
82
|
|
@@ -81,4 +91,6 @@ module V1
|
|
81
91
|
ResourceDeleteResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ResourceDeleteResponse").msgclass
|
82
92
|
ResourceListRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ResourceListRequest").msgclass
|
83
93
|
ResourceListResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ResourceListResponse").msgclass
|
94
|
+
EnumerateTagsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.EnumerateTagsRequest").msgclass
|
95
|
+
EnumerateTagsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.EnumerateTagsResponse").msgclass
|
84
96
|
end
|
@@ -27,6 +27,8 @@ module V1
|
|
27
27
|
self.unmarshal_class_method = :decode
|
28
28
|
self.service_name = "v1.Resources"
|
29
29
|
|
30
|
+
# EnumerateTags gets a list of the filter matching tags.
|
31
|
+
rpc :EnumerateTags, EnumerateTagsRequest, EnumerateTagsResponse
|
30
32
|
# Create registers a new Resource.
|
31
33
|
rpc :Create, ResourceCreateRequest, ResourceCreateResponse
|
32
34
|
# Get reads one Resource by ID.
|
@@ -0,0 +1,60 @@
|
|
1
|
+
# Copyright 2020 StrongDM Inc
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
#
|
15
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
16
|
+
# source: secret_store_types.proto
|
17
|
+
|
18
|
+
require "google/protobuf"
|
19
|
+
|
20
|
+
require "options_pb"
|
21
|
+
require "tags_pb"
|
22
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
23
|
+
add_file("secret_store_types.proto", :syntax => :proto3) do
|
24
|
+
add_message "v1.SecretStore" do
|
25
|
+
oneof :secret_store do
|
26
|
+
optional :aws, :message, 3, "v1.AWSStore"
|
27
|
+
optional :vault_tls, :message, 1, "v1.VaultTLSStore"
|
28
|
+
optional :vault_token, :message, 2, "v1.VaultTokenStore"
|
29
|
+
end
|
30
|
+
end
|
31
|
+
add_message "v1.AWSStore" do
|
32
|
+
optional :id, :string, 1
|
33
|
+
optional :name, :string, 2
|
34
|
+
optional :region, :string, 3
|
35
|
+
optional :tags, :message, 4, "v1.Tags"
|
36
|
+
end
|
37
|
+
add_message "v1.VaultTLSStore" do
|
38
|
+
optional :id, :string, 1
|
39
|
+
optional :name, :string, 2
|
40
|
+
optional :server_address, :string, 3
|
41
|
+
optional :CA_cert_path, :string, 4
|
42
|
+
optional :client_cert_path, :string, 5
|
43
|
+
optional :client_key_path, :string, 6
|
44
|
+
optional :tags, :message, 7, "v1.Tags"
|
45
|
+
end
|
46
|
+
add_message "v1.VaultTokenStore" do
|
47
|
+
optional :id, :string, 1
|
48
|
+
optional :name, :string, 2
|
49
|
+
optional :server_address, :string, 3
|
50
|
+
optional :tags, :message, 4, "v1.Tags"
|
51
|
+
end
|
52
|
+
end
|
53
|
+
end
|
54
|
+
|
55
|
+
module V1
|
56
|
+
SecretStore = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.SecretStore").msgclass
|
57
|
+
AWSStore = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AWSStore").msgclass
|
58
|
+
VaultTLSStore = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.VaultTLSStore").msgclass
|
59
|
+
VaultTokenStore = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.VaultTokenStore").msgclass
|
60
|
+
end
|
@@ -19,7 +19,7 @@ require "google/protobuf"
|
|
19
19
|
|
20
20
|
require "options_pb"
|
21
21
|
require "spec_pb"
|
22
|
-
require "
|
22
|
+
require "secret_store_types_pb"
|
23
23
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
24
24
|
add_file("secret_stores.proto", :syntax => :proto3) do
|
25
25
|
add_message "v1.SecretStoreCreateRequest" do
|
@@ -67,34 +67,6 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
67
67
|
repeated :secret_stores, :message, 2, "v1.SecretStore"
|
68
68
|
optional :rate_limit, :message, 3, "v1.RateLimitMetadata"
|
69
69
|
end
|
70
|
-
add_message "v1.SecretStore" do
|
71
|
-
oneof :secret_store do
|
72
|
-
optional :vault_tls, :message, 1, "v1.VaultTLSStore"
|
73
|
-
optional :vault_token, :message, 2, "v1.VaultTokenStore"
|
74
|
-
optional :aws, :message, 3, "v1.AWSStore"
|
75
|
-
end
|
76
|
-
end
|
77
|
-
add_message "v1.VaultTokenStore" do
|
78
|
-
optional :id, :string, 1
|
79
|
-
optional :name, :string, 2
|
80
|
-
optional :server_address, :string, 3
|
81
|
-
optional :tags, :message, 4, "v1.Tags"
|
82
|
-
end
|
83
|
-
add_message "v1.VaultTLSStore" do
|
84
|
-
optional :id, :string, 1
|
85
|
-
optional :name, :string, 2
|
86
|
-
optional :server_address, :string, 3
|
87
|
-
optional :CA_cert_path, :string, 4
|
88
|
-
optional :client_cert_path, :string, 5
|
89
|
-
optional :client_key_path, :string, 6
|
90
|
-
optional :tags, :message, 7, "v1.Tags"
|
91
|
-
end
|
92
|
-
add_message "v1.AWSStore" do
|
93
|
-
optional :id, :string, 1
|
94
|
-
optional :name, :string, 2
|
95
|
-
optional :region, :string, 3
|
96
|
-
optional :tags, :message, 4, "v1.Tags"
|
97
|
-
end
|
98
70
|
end
|
99
71
|
end
|
100
72
|
|
@@ -109,8 +81,4 @@ module V1
|
|
109
81
|
SecretStoreDeleteResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.SecretStoreDeleteResponse").msgclass
|
110
82
|
SecretStoreListRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.SecretStoreListRequest").msgclass
|
111
83
|
SecretStoreListResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.SecretStoreListResponse").msgclass
|
112
|
-
SecretStore = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.SecretStore").msgclass
|
113
|
-
VaultTokenStore = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.VaultTokenStore").msgclass
|
114
|
-
VaultTLSStore = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.VaultTLSStore").msgclass
|
115
|
-
AWSStore = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AWSStore").msgclass
|
116
84
|
end
|
data/lib/grpc/spec_pb.rb
CHANGED
@@ -58,6 +58,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
58
58
|
optional :cursor, :string, 1
|
59
59
|
optional :page, :int32, 2
|
60
60
|
optional :limit, :int32, 3
|
61
|
+
optional :order_by, :string, 4
|
61
62
|
end
|
62
63
|
add_message "v1.ListResponseMetadata" do
|
63
64
|
optional :next_cursor, :string, 1
|
@@ -69,6 +70,10 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
69
70
|
optional :reset_at, :message, 3, "google.protobuf.Timestamp"
|
70
71
|
optional :bucket, :string, 4
|
71
72
|
end
|
73
|
+
add_message "v1.GenericRequestMetadata" do
|
74
|
+
end
|
75
|
+
add_message "v1.GenericResponseMetadata" do
|
76
|
+
end
|
72
77
|
end
|
73
78
|
end
|
74
79
|
|
@@ -91,4 +96,6 @@ module V1
|
|
91
96
|
ListRequestMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ListRequestMetadata").msgclass
|
92
97
|
ListResponseMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ListResponseMetadata").msgclass
|
93
98
|
RateLimitMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.RateLimitMetadata").msgclass
|
99
|
+
GenericRequestMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.GenericRequestMetadata").msgclass
|
100
|
+
GenericResponseMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.GenericResponseMetadata").msgclass
|
94
101
|
end
|
data/lib/grpc/tags_pb.rb
CHANGED
@@ -27,10 +27,15 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
27
27
|
optional :name, :string, 1
|
28
28
|
optional :value, :string, 2
|
29
29
|
end
|
30
|
+
add_message "v1.Tag" do
|
31
|
+
optional :name, :string, 1
|
32
|
+
optional :value, :string, 2
|
33
|
+
end
|
30
34
|
end
|
31
35
|
end
|
32
36
|
|
33
37
|
module V1
|
34
38
|
Tags = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Tags").msgclass
|
35
39
|
Tags::Pair = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Tags.Pair").msgclass
|
40
|
+
Tag = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Tag").msgclass
|
36
41
|
end
|
data/lib/models/porcelain.rb
CHANGED
@@ -115,6 +115,32 @@ module SDM
|
|
115
115
|
end
|
116
116
|
end
|
117
117
|
|
118
|
+
class Tag
|
119
|
+
attr_accessor :name
|
120
|
+
|
121
|
+
attr_accessor :value
|
122
|
+
|
123
|
+
def initialize(
|
124
|
+
name: nil,
|
125
|
+
value: nil
|
126
|
+
)
|
127
|
+
if name != nil
|
128
|
+
@name = name
|
129
|
+
end
|
130
|
+
if value != nil
|
131
|
+
@value = value
|
132
|
+
end
|
133
|
+
end
|
134
|
+
|
135
|
+
def to_json(options = {})
|
136
|
+
hash = {}
|
137
|
+
self.instance_variables.each do |var|
|
138
|
+
hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
|
139
|
+
end
|
140
|
+
hash.to_json
|
141
|
+
end
|
142
|
+
end
|
143
|
+
|
118
144
|
# AccountAttachmentCreateResponse reports how the AccountAttachments were created in the system.
|
119
145
|
class AccountAttachmentCreateResponse
|
120
146
|
# Reserved for future use.
|
@@ -657,6 +683,40 @@ module SDM
|
|
657
683
|
end
|
658
684
|
end
|
659
685
|
|
686
|
+
# ControlPanelVerifyJWTResponse reports whether x-sdm-token is valid.
|
687
|
+
class ControlPanelVerifyJWTResponse
|
688
|
+
# Reserved for future use.
|
689
|
+
attr_accessor :meta
|
690
|
+
# Reports if the given token is valid.
|
691
|
+
attr_accessor :valid
|
692
|
+
# Rate limit information.
|
693
|
+
attr_accessor :rate_limit
|
694
|
+
|
695
|
+
def initialize(
|
696
|
+
meta: nil,
|
697
|
+
valid: nil,
|
698
|
+
rate_limit: nil
|
699
|
+
)
|
700
|
+
if meta != nil
|
701
|
+
@meta = meta
|
702
|
+
end
|
703
|
+
if valid != nil
|
704
|
+
@valid = valid
|
705
|
+
end
|
706
|
+
if rate_limit != nil
|
707
|
+
@rate_limit = rate_limit
|
708
|
+
end
|
709
|
+
end
|
710
|
+
|
711
|
+
def to_json(options = {})
|
712
|
+
hash = {}
|
713
|
+
self.instance_variables.each do |var|
|
714
|
+
hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
|
715
|
+
end
|
716
|
+
hash.to_json
|
717
|
+
end
|
718
|
+
end
|
719
|
+
|
660
720
|
class Athena
|
661
721
|
# Unique identifier of the Resource.
|
662
722
|
attr_accessor :id
|
@@ -679,6 +739,10 @@ module SDM
|
|
679
739
|
|
680
740
|
attr_accessor :region
|
681
741
|
|
742
|
+
attr_accessor :role_arn
|
743
|
+
|
744
|
+
attr_accessor :role_external_id
|
745
|
+
|
682
746
|
def initialize(
|
683
747
|
id: nil,
|
684
748
|
name: nil,
|
@@ -689,7 +753,9 @@ module SDM
|
|
689
753
|
secret_access_key: nil,
|
690
754
|
output: nil,
|
691
755
|
port_override: nil,
|
692
|
-
region: nil
|
756
|
+
region: nil,
|
757
|
+
role_arn: nil,
|
758
|
+
role_external_id: nil
|
693
759
|
)
|
694
760
|
if id != nil
|
695
761
|
@id = id
|
@@ -721,6 +787,87 @@ module SDM
|
|
721
787
|
if region != nil
|
722
788
|
@region = region
|
723
789
|
end
|
790
|
+
if role_arn != nil
|
791
|
+
@role_arn = role_arn
|
792
|
+
end
|
793
|
+
if role_external_id != nil
|
794
|
+
@role_external_id = role_external_id
|
795
|
+
end
|
796
|
+
end
|
797
|
+
|
798
|
+
def to_json(options = {})
|
799
|
+
hash = {}
|
800
|
+
self.instance_variables.each do |var|
|
801
|
+
hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
|
802
|
+
end
|
803
|
+
hash.to_json
|
804
|
+
end
|
805
|
+
end
|
806
|
+
|
807
|
+
class AWS
|
808
|
+
# Unique identifier of the Resource.
|
809
|
+
attr_accessor :id
|
810
|
+
# Unique human-readable name of the Resource.
|
811
|
+
attr_accessor :name
|
812
|
+
# True if the datasource is reachable and the credentials are valid.
|
813
|
+
attr_accessor :healthy
|
814
|
+
# Tags is a map of key, value pairs.
|
815
|
+
attr_accessor :tags
|
816
|
+
# ID of the secret store containing credentials for this resource, if any.
|
817
|
+
attr_accessor :secret_store_id
|
818
|
+
|
819
|
+
attr_accessor :access_key
|
820
|
+
|
821
|
+
attr_accessor :secret_access_key
|
822
|
+
|
823
|
+
attr_accessor :healthcheck_region
|
824
|
+
|
825
|
+
attr_accessor :role_arn
|
826
|
+
|
827
|
+
attr_accessor :role_external_id
|
828
|
+
|
829
|
+
def initialize(
|
830
|
+
id: nil,
|
831
|
+
name: nil,
|
832
|
+
healthy: nil,
|
833
|
+
tags: nil,
|
834
|
+
secret_store_id: nil,
|
835
|
+
access_key: nil,
|
836
|
+
secret_access_key: nil,
|
837
|
+
healthcheck_region: nil,
|
838
|
+
role_arn: nil,
|
839
|
+
role_external_id: nil
|
840
|
+
)
|
841
|
+
if id != nil
|
842
|
+
@id = id
|
843
|
+
end
|
844
|
+
if name != nil
|
845
|
+
@name = name
|
846
|
+
end
|
847
|
+
if healthy != nil
|
848
|
+
@healthy = healthy
|
849
|
+
end
|
850
|
+
if tags != nil
|
851
|
+
@tags = tags
|
852
|
+
end
|
853
|
+
if secret_store_id != nil
|
854
|
+
@secret_store_id = secret_store_id
|
855
|
+
end
|
856
|
+
if access_key != nil
|
857
|
+
@access_key = access_key
|
858
|
+
end
|
859
|
+
if secret_access_key != nil
|
860
|
+
@secret_access_key = secret_access_key
|
861
|
+
end
|
862
|
+
if healthcheck_region != nil
|
863
|
+
@healthcheck_region = healthcheck_region
|
864
|
+
end
|
865
|
+
if role_arn != nil
|
866
|
+
@role_arn = role_arn
|
867
|
+
end
|
868
|
+
if role_external_id != nil
|
869
|
+
@role_external_id = role_external_id
|
870
|
+
end
|
724
871
|
end
|
725
872
|
|
726
873
|
def to_json(options = {})
|
@@ -1147,6 +1294,10 @@ module SDM
|
|
1147
1294
|
|
1148
1295
|
attr_accessor :port_override
|
1149
1296
|
|
1297
|
+
attr_accessor :role_arn
|
1298
|
+
|
1299
|
+
attr_accessor :role_external_id
|
1300
|
+
|
1150
1301
|
def initialize(
|
1151
1302
|
id: nil,
|
1152
1303
|
name: nil,
|
@@ -1157,7 +1308,9 @@ module SDM
|
|
1157
1308
|
secret_access_key: nil,
|
1158
1309
|
region: nil,
|
1159
1310
|
endpoint: nil,
|
1160
|
-
port_override: nil
|
1311
|
+
port_override: nil,
|
1312
|
+
role_arn: nil,
|
1313
|
+
role_external_id: nil
|
1161
1314
|
)
|
1162
1315
|
if id != nil
|
1163
1316
|
@id = id
|
@@ -1189,6 +1342,12 @@ module SDM
|
|
1189
1342
|
if port_override != nil
|
1190
1343
|
@port_override = port_override
|
1191
1344
|
end
|
1345
|
+
if role_arn != nil
|
1346
|
+
@role_arn = role_arn
|
1347
|
+
end
|
1348
|
+
if role_external_id != nil
|
1349
|
+
@role_external_id = role_external_id
|
1350
|
+
end
|
1192
1351
|
end
|
1193
1352
|
|
1194
1353
|
def to_json(options = {})
|
@@ -1222,6 +1381,10 @@ module SDM
|
|
1222
1381
|
|
1223
1382
|
attr_accessor :port_override
|
1224
1383
|
|
1384
|
+
attr_accessor :role_arn
|
1385
|
+
|
1386
|
+
attr_accessor :role_external_id
|
1387
|
+
|
1225
1388
|
def initialize(
|
1226
1389
|
id: nil,
|
1227
1390
|
name: nil,
|
@@ -1232,7 +1395,9 @@ module SDM
|
|
1232
1395
|
secret_access_key: nil,
|
1233
1396
|
endpoint: nil,
|
1234
1397
|
access_key: nil,
|
1235
|
-
port_override: nil
|
1398
|
+
port_override: nil,
|
1399
|
+
role_arn: nil,
|
1400
|
+
role_external_id: nil
|
1236
1401
|
)
|
1237
1402
|
if id != nil
|
1238
1403
|
@id = id
|
@@ -1264,6 +1429,12 @@ module SDM
|
|
1264
1429
|
if port_override != nil
|
1265
1430
|
@port_override = port_override
|
1266
1431
|
end
|
1432
|
+
if role_arn != nil
|
1433
|
+
@role_arn = role_arn
|
1434
|
+
end
|
1435
|
+
if role_external_id != nil
|
1436
|
+
@role_external_id = role_external_id
|
1437
|
+
end
|
1267
1438
|
end
|
1268
1439
|
|
1269
1440
|
def to_json(options = {})
|
@@ -1850,6 +2021,8 @@ module SDM
|
|
1850
2021
|
|
1851
2022
|
attr_accessor :role_arn
|
1852
2023
|
|
2024
|
+
attr_accessor :role_external_id
|
2025
|
+
|
1853
2026
|
attr_accessor :healthcheck_namespace
|
1854
2027
|
|
1855
2028
|
def initialize(
|
@@ -1865,6 +2038,7 @@ module SDM
|
|
1865
2038
|
region: nil,
|
1866
2039
|
cluster_name: nil,
|
1867
2040
|
role_arn: nil,
|
2041
|
+
role_external_id: nil,
|
1868
2042
|
healthcheck_namespace: nil
|
1869
2043
|
)
|
1870
2044
|
if id != nil
|
@@ -1903,6 +2077,9 @@ module SDM
|
|
1903
2077
|
if role_arn != nil
|
1904
2078
|
@role_arn = role_arn
|
1905
2079
|
end
|
2080
|
+
if role_external_id != nil
|
2081
|
+
@role_external_id = role_external_id
|
2082
|
+
end
|
1906
2083
|
if healthcheck_namespace != nil
|
1907
2084
|
@healthcheck_namespace = healthcheck_namespace
|
1908
2085
|
end
|
@@ -4302,6 +4479,87 @@ module SDM
|
|
4302
4479
|
end
|
4303
4480
|
end
|
4304
4481
|
|
4482
|
+
class SSHCustomerKey
|
4483
|
+
# Unique identifier of the Resource.
|
4484
|
+
attr_accessor :id
|
4485
|
+
# Unique human-readable name of the Resource.
|
4486
|
+
attr_accessor :name
|
4487
|
+
# True if the datasource is reachable and the credentials are valid.
|
4488
|
+
attr_accessor :healthy
|
4489
|
+
# Tags is a map of key, value pairs.
|
4490
|
+
attr_accessor :tags
|
4491
|
+
# ID of the secret store containing credentials for this resource, if any.
|
4492
|
+
attr_accessor :secret_store_id
|
4493
|
+
|
4494
|
+
attr_accessor :hostname
|
4495
|
+
|
4496
|
+
attr_accessor :username
|
4497
|
+
|
4498
|
+
attr_accessor :port
|
4499
|
+
|
4500
|
+
attr_accessor :private_key
|
4501
|
+
|
4502
|
+
attr_accessor :port_forwarding
|
4503
|
+
|
4504
|
+
attr_accessor :allow_deprecated_key_exchanges
|
4505
|
+
|
4506
|
+
def initialize(
|
4507
|
+
id: nil,
|
4508
|
+
name: nil,
|
4509
|
+
healthy: nil,
|
4510
|
+
tags: nil,
|
4511
|
+
secret_store_id: nil,
|
4512
|
+
hostname: nil,
|
4513
|
+
username: nil,
|
4514
|
+
port: nil,
|
4515
|
+
private_key: nil,
|
4516
|
+
port_forwarding: nil,
|
4517
|
+
allow_deprecated_key_exchanges: nil
|
4518
|
+
)
|
4519
|
+
if id != nil
|
4520
|
+
@id = id
|
4521
|
+
end
|
4522
|
+
if name != nil
|
4523
|
+
@name = name
|
4524
|
+
end
|
4525
|
+
if healthy != nil
|
4526
|
+
@healthy = healthy
|
4527
|
+
end
|
4528
|
+
if tags != nil
|
4529
|
+
@tags = tags
|
4530
|
+
end
|
4531
|
+
if secret_store_id != nil
|
4532
|
+
@secret_store_id = secret_store_id
|
4533
|
+
end
|
4534
|
+
if hostname != nil
|
4535
|
+
@hostname = hostname
|
4536
|
+
end
|
4537
|
+
if username != nil
|
4538
|
+
@username = username
|
4539
|
+
end
|
4540
|
+
if port != nil
|
4541
|
+
@port = port
|
4542
|
+
end
|
4543
|
+
if private_key != nil
|
4544
|
+
@private_key = private_key
|
4545
|
+
end
|
4546
|
+
if port_forwarding != nil
|
4547
|
+
@port_forwarding = port_forwarding
|
4548
|
+
end
|
4549
|
+
if allow_deprecated_key_exchanges != nil
|
4550
|
+
@allow_deprecated_key_exchanges = allow_deprecated_key_exchanges
|
4551
|
+
end
|
4552
|
+
end
|
4553
|
+
|
4554
|
+
def to_json(options = {})
|
4555
|
+
hash = {}
|
4556
|
+
self.instance_variables.each do |var|
|
4557
|
+
hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
|
4558
|
+
end
|
4559
|
+
hash.to_json
|
4560
|
+
end
|
4561
|
+
end
|
4562
|
+
|
4305
4563
|
class Sybase
|
4306
4564
|
# Unique identifier of the Resource.
|
4307
4565
|
attr_accessor :id
|
@@ -5324,6 +5582,141 @@ module SDM
|
|
5324
5582
|
end
|
5325
5583
|
end
|
5326
5584
|
|
5585
|
+
class AWSStore
|
5586
|
+
# Unique identifier of the SecretStore.
|
5587
|
+
attr_accessor :id
|
5588
|
+
# Unique human-readable name of the SecretStore.
|
5589
|
+
attr_accessor :name
|
5590
|
+
|
5591
|
+
attr_accessor :region
|
5592
|
+
# Tags is a map of key, value pairs.
|
5593
|
+
attr_accessor :tags
|
5594
|
+
|
5595
|
+
def initialize(
|
5596
|
+
id: nil,
|
5597
|
+
name: nil,
|
5598
|
+
region: nil,
|
5599
|
+
tags: nil
|
5600
|
+
)
|
5601
|
+
if id != nil
|
5602
|
+
@id = id
|
5603
|
+
end
|
5604
|
+
if name != nil
|
5605
|
+
@name = name
|
5606
|
+
end
|
5607
|
+
if region != nil
|
5608
|
+
@region = region
|
5609
|
+
end
|
5610
|
+
if tags != nil
|
5611
|
+
@tags = tags
|
5612
|
+
end
|
5613
|
+
end
|
5614
|
+
|
5615
|
+
def to_json(options = {})
|
5616
|
+
hash = {}
|
5617
|
+
self.instance_variables.each do |var|
|
5618
|
+
hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
|
5619
|
+
end
|
5620
|
+
hash.to_json
|
5621
|
+
end
|
5622
|
+
end
|
5623
|
+
|
5624
|
+
class VaultTLSStore
|
5625
|
+
# Unique identifier of the SecretStore.
|
5626
|
+
attr_accessor :id
|
5627
|
+
# Unique human-readable name of the SecretStore.
|
5628
|
+
attr_accessor :name
|
5629
|
+
|
5630
|
+
attr_accessor :server_address
|
5631
|
+
|
5632
|
+
attr_accessor :ca_cert_path
|
5633
|
+
|
5634
|
+
attr_accessor :client_cert_path
|
5635
|
+
|
5636
|
+
attr_accessor :client_key_path
|
5637
|
+
# Tags is a map of key, value pairs.
|
5638
|
+
attr_accessor :tags
|
5639
|
+
|
5640
|
+
def initialize(
|
5641
|
+
id: nil,
|
5642
|
+
name: nil,
|
5643
|
+
server_address: nil,
|
5644
|
+
ca_cert_path: nil,
|
5645
|
+
client_cert_path: nil,
|
5646
|
+
client_key_path: nil,
|
5647
|
+
tags: nil
|
5648
|
+
)
|
5649
|
+
if id != nil
|
5650
|
+
@id = id
|
5651
|
+
end
|
5652
|
+
if name != nil
|
5653
|
+
@name = name
|
5654
|
+
end
|
5655
|
+
if server_address != nil
|
5656
|
+
@server_address = server_address
|
5657
|
+
end
|
5658
|
+
if ca_cert_path != nil
|
5659
|
+
@ca_cert_path = ca_cert_path
|
5660
|
+
end
|
5661
|
+
if client_cert_path != nil
|
5662
|
+
@client_cert_path = client_cert_path
|
5663
|
+
end
|
5664
|
+
if client_key_path != nil
|
5665
|
+
@client_key_path = client_key_path
|
5666
|
+
end
|
5667
|
+
if tags != nil
|
5668
|
+
@tags = tags
|
5669
|
+
end
|
5670
|
+
end
|
5671
|
+
|
5672
|
+
def to_json(options = {})
|
5673
|
+
hash = {}
|
5674
|
+
self.instance_variables.each do |var|
|
5675
|
+
hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
|
5676
|
+
end
|
5677
|
+
hash.to_json
|
5678
|
+
end
|
5679
|
+
end
|
5680
|
+
|
5681
|
+
class VaultTokenStore
|
5682
|
+
# Unique identifier of the SecretStore.
|
5683
|
+
attr_accessor :id
|
5684
|
+
# Unique human-readable name of the SecretStore.
|
5685
|
+
attr_accessor :name
|
5686
|
+
|
5687
|
+
attr_accessor :server_address
|
5688
|
+
# Tags is a map of key, value pairs.
|
5689
|
+
attr_accessor :tags
|
5690
|
+
|
5691
|
+
def initialize(
|
5692
|
+
id: nil,
|
5693
|
+
name: nil,
|
5694
|
+
server_address: nil,
|
5695
|
+
tags: nil
|
5696
|
+
)
|
5697
|
+
if id != nil
|
5698
|
+
@id = id
|
5699
|
+
end
|
5700
|
+
if name != nil
|
5701
|
+
@name = name
|
5702
|
+
end
|
5703
|
+
if server_address != nil
|
5704
|
+
@server_address = server_address
|
5705
|
+
end
|
5706
|
+
if tags != nil
|
5707
|
+
@tags = tags
|
5708
|
+
end
|
5709
|
+
end
|
5710
|
+
|
5711
|
+
def to_json(options = {})
|
5712
|
+
hash = {}
|
5713
|
+
self.instance_variables.each do |var|
|
5714
|
+
hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
|
5715
|
+
end
|
5716
|
+
hash.to_json
|
5717
|
+
end
|
5718
|
+
end
|
5719
|
+
|
5327
5720
|
# SecretStoreCreateResponse reports how the SecretStores were created in the system.
|
5328
5721
|
class SecretStoreCreateResponse
|
5329
5722
|
# Reserved for future use.
|
@@ -5454,139 +5847,4 @@ module SDM
|
|
5454
5847
|
hash.to_json
|
5455
5848
|
end
|
5456
5849
|
end
|
5457
|
-
|
5458
|
-
class VaultTokenStore
|
5459
|
-
# Unique identifier of the SecretStore.
|
5460
|
-
attr_accessor :id
|
5461
|
-
# Unique human-readable name of the SecretStore.
|
5462
|
-
attr_accessor :name
|
5463
|
-
|
5464
|
-
attr_accessor :server_address
|
5465
|
-
# Tags is a map of key, value pairs.
|
5466
|
-
attr_accessor :tags
|
5467
|
-
|
5468
|
-
def initialize(
|
5469
|
-
id: nil,
|
5470
|
-
name: nil,
|
5471
|
-
server_address: nil,
|
5472
|
-
tags: nil
|
5473
|
-
)
|
5474
|
-
if id != nil
|
5475
|
-
@id = id
|
5476
|
-
end
|
5477
|
-
if name != nil
|
5478
|
-
@name = name
|
5479
|
-
end
|
5480
|
-
if server_address != nil
|
5481
|
-
@server_address = server_address
|
5482
|
-
end
|
5483
|
-
if tags != nil
|
5484
|
-
@tags = tags
|
5485
|
-
end
|
5486
|
-
end
|
5487
|
-
|
5488
|
-
def to_json(options = {})
|
5489
|
-
hash = {}
|
5490
|
-
self.instance_variables.each do |var|
|
5491
|
-
hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
|
5492
|
-
end
|
5493
|
-
hash.to_json
|
5494
|
-
end
|
5495
|
-
end
|
5496
|
-
|
5497
|
-
class VaultTLSStore
|
5498
|
-
# Unique identifier of the SecretStore.
|
5499
|
-
attr_accessor :id
|
5500
|
-
# Unique human-readable name of the SecretStore.
|
5501
|
-
attr_accessor :name
|
5502
|
-
|
5503
|
-
attr_accessor :server_address
|
5504
|
-
|
5505
|
-
attr_accessor :ca_cert_path
|
5506
|
-
|
5507
|
-
attr_accessor :client_cert_path
|
5508
|
-
|
5509
|
-
attr_accessor :client_key_path
|
5510
|
-
# Tags is a map of key, value pairs.
|
5511
|
-
attr_accessor :tags
|
5512
|
-
|
5513
|
-
def initialize(
|
5514
|
-
id: nil,
|
5515
|
-
name: nil,
|
5516
|
-
server_address: nil,
|
5517
|
-
ca_cert_path: nil,
|
5518
|
-
client_cert_path: nil,
|
5519
|
-
client_key_path: nil,
|
5520
|
-
tags: nil
|
5521
|
-
)
|
5522
|
-
if id != nil
|
5523
|
-
@id = id
|
5524
|
-
end
|
5525
|
-
if name != nil
|
5526
|
-
@name = name
|
5527
|
-
end
|
5528
|
-
if server_address != nil
|
5529
|
-
@server_address = server_address
|
5530
|
-
end
|
5531
|
-
if ca_cert_path != nil
|
5532
|
-
@ca_cert_path = ca_cert_path
|
5533
|
-
end
|
5534
|
-
if client_cert_path != nil
|
5535
|
-
@client_cert_path = client_cert_path
|
5536
|
-
end
|
5537
|
-
if client_key_path != nil
|
5538
|
-
@client_key_path = client_key_path
|
5539
|
-
end
|
5540
|
-
if tags != nil
|
5541
|
-
@tags = tags
|
5542
|
-
end
|
5543
|
-
end
|
5544
|
-
|
5545
|
-
def to_json(options = {})
|
5546
|
-
hash = {}
|
5547
|
-
self.instance_variables.each do |var|
|
5548
|
-
hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
|
5549
|
-
end
|
5550
|
-
hash.to_json
|
5551
|
-
end
|
5552
|
-
end
|
5553
|
-
|
5554
|
-
class AWSStore
|
5555
|
-
# Unique identifier of the SecretStore.
|
5556
|
-
attr_accessor :id
|
5557
|
-
# Unique human-readable name of the SecretStore.
|
5558
|
-
attr_accessor :name
|
5559
|
-
|
5560
|
-
attr_accessor :region
|
5561
|
-
# Tags is a map of key, value pairs.
|
5562
|
-
attr_accessor :tags
|
5563
|
-
|
5564
|
-
def initialize(
|
5565
|
-
id: nil,
|
5566
|
-
name: nil,
|
5567
|
-
region: nil,
|
5568
|
-
tags: nil
|
5569
|
-
)
|
5570
|
-
if id != nil
|
5571
|
-
@id = id
|
5572
|
-
end
|
5573
|
-
if name != nil
|
5574
|
-
@name = name
|
5575
|
-
end
|
5576
|
-
if region != nil
|
5577
|
-
@region = region
|
5578
|
-
end
|
5579
|
-
if tags != nil
|
5580
|
-
@tags = tags
|
5581
|
-
end
|
5582
|
-
end
|
5583
|
-
|
5584
|
-
def to_json(options = {})
|
5585
|
-
hash = {}
|
5586
|
-
self.instance_variables.each do |var|
|
5587
|
-
hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
|
5588
|
-
end
|
5589
|
-
hash.to_json
|
5590
|
-
end
|
5591
|
-
end
|
5592
5850
|
end
|