strongdm 1.0.13 → 1.0.18
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 +21 -3
- data/doc/SDM/AKSBasicAuth.html +21 -3
- data/doc/SDM/AKSServiceAccount.html +21 -3
- data/doc/SDM/AWS.html +391 -0
- data/doc/SDM/AWSStore.html +283 -0
- data/doc/SDM/AccessRuleCreateResponse.html +267 -0
- data/doc/SDM/AccessRuleDeleteResponse.html +249 -0
- data/doc/SDM/AccessRuleUpdateResponse.html +267 -0
- 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 +39 -3
- data/doc/SDM/AmazonES.html +57 -3
- data/doc/SDM/Athena.html +57 -3
- data/doc/SDM/AuroraMysql.html +21 -3
- data/doc/SDM/AuroraPostgres.html +21 -3
- data/doc/SDM/BigQuery.html +21 -3
- data/doc/SDM/Cassandra.html +21 -3
- data/doc/SDM/Citus.html +21 -3
- data/doc/SDM/Client.html +23 -6
- data/doc/SDM/Clustrix.html +21 -3
- data/doc/SDM/Cockroach.html +21 -3
- 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 +21 -3
- data/doc/SDM/DB2i.html +21 -3
- data/doc/SDM/Druid.html +21 -3
- data/doc/SDM/DynamoDB.html +57 -3
- data/doc/SDM/Elastic.html +21 -3
- data/doc/SDM/ElasticacheRedis.html +21 -3
- data/doc/SDM/Gateway.html +2 -2
- data/doc/SDM/GoogleGKE.html +21 -3
- data/doc/SDM/Greenplum.html +21 -3
- data/doc/SDM/HTTPAuth.html +21 -3
- data/doc/SDM/HTTPBasicAuth.html +21 -3
- data/doc/SDM/HTTPNoAuth.html +21 -3
- data/doc/SDM/Kubernetes.html +21 -3
- data/doc/SDM/KubernetesBasicAuth.html +21 -3
- data/doc/SDM/KubernetesServiceAccount.html +21 -3
- data/doc/SDM/Maria.html +21 -3
- data/doc/SDM/Memcached.html +21 -3
- data/doc/SDM/Memsql.html +21 -3
- data/doc/SDM/MongoHost.html +21 -3
- data/doc/SDM/MongoLegacyHost.html +21 -3
- data/doc/SDM/MongoLegacyReplicaset.html +21 -3
- data/doc/SDM/MongoReplicaSet.html +21 -3
- data/doc/SDM/Mysql.html +21 -3
- 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 +21 -3
- data/doc/SDM/Plumbing.html +3023 -1057
- data/doc/SDM/Postgres.html +21 -3
- data/doc/SDM/Presto.html +21 -3
- data/doc/SDM/RDP.html +21 -3
- data/doc/SDM/Redis.html +21 -3
- data/doc/SDM/Redshift.html +21 -3
- 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 +21 -3
- data/doc/SDM/SSH.html +21 -3
- data/doc/SDM/SSHCert.html +21 -3
- data/doc/SDM/SecretStore.html +303 -0
- data/doc/SDM/SecretStoreCreateResponse.html +267 -0
- data/doc/SDM/SecretStoreDeleteResponse.html +249 -0
- data/doc/SDM/SecretStoreGetResponse.html +267 -0
- data/doc/SDM/SecretStoreUpdateResponse.html +267 -0
- data/doc/SDM/SecretStores.html +492 -0
- data/doc/SDM/Service.html +2 -2
- data/doc/SDM/Snowflake.html +21 -3
- data/doc/SDM/Sybase.html +21 -3
- data/doc/SDM/SybaseIQ.html +21 -3
- data/doc/SDM/Tag.html +247 -0
- data/doc/SDM/Teradata.html +21 -3
- data/doc/SDM/User.html +2 -2
- data/doc/SDM/VaultTLSStore.html +337 -0
- data/doc/SDM/VaultTokenStore.html +283 -0
- data/doc/V1.html +375 -0
- data/doc/V1/AccessRules.html +113 -0
- data/doc/V1/AccessRules/Service.html +119 -0
- data/doc/V1/Audits.html +113 -0
- data/doc/V1/Audits/Service.html +119 -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/PermissionGrants.html +113 -0
- data/doc/V1/PermissionGrants/Service.html +119 -0
- data/doc/V1/Permissions/Service.html +119 -0
- data/doc/V1/SecretStoreHealths.html +113 -0
- data/doc/V1/SecretStoreHealths/Service.html +119 -0
- data/doc/V1/SecretStores.html +113 -0
- data/doc/V1/SecretStores/Service.html +119 -0
- data/doc/created.rid +51 -39
- data/doc/index.html +50 -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 +979 -494
- data/lib/grpc/account_attachments_pb.rb +0 -2
- data/lib/grpc/account_grants_pb.rb +0 -2
- data/lib/grpc/accounts_pb.rb +0 -2
- data/lib/grpc/control_panel_pb.rb +11 -1
- data/lib/grpc/control_panel_services_pb.rb +2 -0
- data/lib/grpc/drivers_pb.rb +69 -1
- data/lib/grpc/nodes_pb.rb +0 -2
- data/lib/grpc/options_pb.rb +23 -1
- data/lib/grpc/plumbing.rb +569 -1
- data/lib/grpc/resources_pb.rb +12 -1
- data/lib/grpc/resources_services_pb.rb +2 -0
- data/lib/grpc/role_attachments_pb.rb +0 -2
- data/lib/grpc/role_grants_pb.rb +0 -2
- data/lib/grpc/roles_pb.rb +0 -2
- data/lib/grpc/secret_store_types_pb.rb +60 -0
- data/lib/grpc/secret_stores_pb.rb +84 -0
- data/lib/grpc/secret_stores_services_pb.rb +44 -0
- data/lib/grpc/spec_pb.rb +7 -0
- data/lib/grpc/tags_pb.rb +5 -0
- data/lib/models/porcelain.rb +734 -3
- data/lib/strongdm.rb +8 -2
- data/lib/svc.rb +239 -0
- data/lib/version +1 -1
- data/lib/version.rb +1 -1
- metadata +35 -3
- data/lib/grpc/protoc-gen-swagger/options/annotations_pb.rb +0 -15
data/lib/grpc/resources_pb.rb
CHANGED
@@ -17,10 +17,10 @@
|
|
17
17
|
|
18
18
|
require "google/protobuf"
|
19
19
|
|
20
|
-
require "google/api/annotations_pb"
|
21
20
|
require "options_pb"
|
22
21
|
require "spec_pb"
|
23
22
|
require "drivers_pb"
|
23
|
+
require "tags_pb"
|
24
24
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
25
25
|
add_file("resources.proto", :syntax => :proto3) do
|
26
26
|
add_message "v1.ResourceCreateRequest" do
|
@@ -68,6 +68,15 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
68
68
|
repeated :resources, :message, 2, "v1.Resource"
|
69
69
|
optional :rate_limit, :message, 3, "v1.RateLimitMetadata"
|
70
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
|
71
80
|
end
|
72
81
|
end
|
73
82
|
|
@@ -82,4 +91,6 @@ module V1
|
|
82
91
|
ResourceDeleteResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ResourceDeleteResponse").msgclass
|
83
92
|
ResourceListRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ResourceListRequest").msgclass
|
84
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
|
85
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.
|
data/lib/grpc/role_grants_pb.rb
CHANGED
data/lib/grpc/roles_pb.rb
CHANGED
@@ -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
|
@@ -0,0 +1,84 @@
|
|
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_stores.proto
|
17
|
+
|
18
|
+
require "google/protobuf"
|
19
|
+
|
20
|
+
require "options_pb"
|
21
|
+
require "spec_pb"
|
22
|
+
require "secret_store_types_pb"
|
23
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
24
|
+
add_file("secret_stores.proto", :syntax => :proto3) do
|
25
|
+
add_message "v1.SecretStoreCreateRequest" do
|
26
|
+
optional :meta, :message, 1, "v1.CreateRequestMetadata"
|
27
|
+
optional :secret_store, :message, 2, "v1.SecretStore"
|
28
|
+
end
|
29
|
+
add_message "v1.SecretStoreCreateResponse" do
|
30
|
+
optional :meta, :message, 1, "v1.CreateResponseMetadata"
|
31
|
+
optional :secret_store, :message, 2, "v1.SecretStore"
|
32
|
+
optional :rate_limit, :message, 3, "v1.RateLimitMetadata"
|
33
|
+
end
|
34
|
+
add_message "v1.SecretStoreGetRequest" do
|
35
|
+
optional :meta, :message, 1, "v1.GetRequestMetadata"
|
36
|
+
optional :id, :string, 2
|
37
|
+
end
|
38
|
+
add_message "v1.SecretStoreGetResponse" do
|
39
|
+
optional :meta, :message, 1, "v1.GetResponseMetadata"
|
40
|
+
optional :secret_store, :message, 2, "v1.SecretStore"
|
41
|
+
optional :rate_limit, :message, 3, "v1.RateLimitMetadata"
|
42
|
+
end
|
43
|
+
add_message "v1.SecretStoreUpdateRequest" do
|
44
|
+
optional :meta, :message, 1, "v1.UpdateRequestMetadata"
|
45
|
+
optional :id, :string, 2
|
46
|
+
optional :secret_store, :message, 3, "v1.SecretStore"
|
47
|
+
end
|
48
|
+
add_message "v1.SecretStoreUpdateResponse" do
|
49
|
+
optional :meta, :message, 1, "v1.UpdateResponseMetadata"
|
50
|
+
optional :secret_store, :message, 2, "v1.SecretStore"
|
51
|
+
optional :rate_limit, :message, 3, "v1.RateLimitMetadata"
|
52
|
+
end
|
53
|
+
add_message "v1.SecretStoreDeleteRequest" do
|
54
|
+
optional :meta, :message, 1, "v1.DeleteRequestMetadata"
|
55
|
+
optional :id, :string, 2
|
56
|
+
end
|
57
|
+
add_message "v1.SecretStoreDeleteResponse" do
|
58
|
+
optional :meta, :message, 1, "v1.DeleteResponseMetadata"
|
59
|
+
optional :rate_limit, :message, 2, "v1.RateLimitMetadata"
|
60
|
+
end
|
61
|
+
add_message "v1.SecretStoreListRequest" do
|
62
|
+
optional :meta, :message, 1, "v1.ListRequestMetadata"
|
63
|
+
optional :filter, :string, 2
|
64
|
+
end
|
65
|
+
add_message "v1.SecretStoreListResponse" do
|
66
|
+
optional :meta, :message, 1, "v1.ListResponseMetadata"
|
67
|
+
repeated :secret_stores, :message, 2, "v1.SecretStore"
|
68
|
+
optional :rate_limit, :message, 3, "v1.RateLimitMetadata"
|
69
|
+
end
|
70
|
+
end
|
71
|
+
end
|
72
|
+
|
73
|
+
module V1
|
74
|
+
SecretStoreCreateRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.SecretStoreCreateRequest").msgclass
|
75
|
+
SecretStoreCreateResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.SecretStoreCreateResponse").msgclass
|
76
|
+
SecretStoreGetRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.SecretStoreGetRequest").msgclass
|
77
|
+
SecretStoreGetResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.SecretStoreGetResponse").msgclass
|
78
|
+
SecretStoreUpdateRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.SecretStoreUpdateRequest").msgclass
|
79
|
+
SecretStoreUpdateResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.SecretStoreUpdateResponse").msgclass
|
80
|
+
SecretStoreDeleteRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.SecretStoreDeleteRequest").msgclass
|
81
|
+
SecretStoreDeleteResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.SecretStoreDeleteResponse").msgclass
|
82
|
+
SecretStoreListRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.SecretStoreListRequest").msgclass
|
83
|
+
SecretStoreListResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.SecretStoreListResponse").msgclass
|
84
|
+
end
|
@@ -0,0 +1,44 @@
|
|
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_stores.proto for package 'v1'
|
17
|
+
|
18
|
+
require "grpc"
|
19
|
+
require "secret_stores_pb"
|
20
|
+
|
21
|
+
module V1
|
22
|
+
module SecretStores
|
23
|
+
# SecretStores are servers where resource secrets (passwords, keys) are stored.
|
24
|
+
class Service
|
25
|
+
include GRPC::GenericService
|
26
|
+
|
27
|
+
self.marshal_class_method = :encode
|
28
|
+
self.unmarshal_class_method = :decode
|
29
|
+
self.service_name = "v1.SecretStores"
|
30
|
+
|
31
|
+
rpc :Create, SecretStoreCreateRequest, SecretStoreCreateResponse
|
32
|
+
# Get reads one SecretStore by ID.
|
33
|
+
rpc :Get, SecretStoreGetRequest, SecretStoreGetResponse
|
34
|
+
# Update patches a SecretStore by ID.
|
35
|
+
rpc :Update, SecretStoreUpdateRequest, SecretStoreUpdateResponse
|
36
|
+
# Delete removes a SecretStore by ID.
|
37
|
+
rpc :Delete, SecretStoreDeleteRequest, SecretStoreDeleteResponse
|
38
|
+
# List gets a list of SecretStores matching a given set of criteria.
|
39
|
+
rpc :List, SecretStoreListRequest, SecretStoreListResponse
|
40
|
+
end
|
41
|
+
|
42
|
+
Stub = Service.rpc_stub_class
|
43
|
+
end
|
44
|
+
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
|
@@ -666,6 +726,8 @@ module SDM
|
|
666
726
|
attr_accessor :healthy
|
667
727
|
# Tags is a map of key, value pairs.
|
668
728
|
attr_accessor :tags
|
729
|
+
# ID of the secret store containing credentials for this resource, if any.
|
730
|
+
attr_accessor :secret_store_id
|
669
731
|
|
670
732
|
attr_accessor :access_key
|
671
733
|
|
@@ -677,16 +739,23 @@ module SDM
|
|
677
739
|
|
678
740
|
attr_accessor :region
|
679
741
|
|
742
|
+
attr_accessor :role_arn
|
743
|
+
|
744
|
+
attr_accessor :role_external_id
|
745
|
+
|
680
746
|
def initialize(
|
681
747
|
id: nil,
|
682
748
|
name: nil,
|
683
749
|
healthy: nil,
|
684
750
|
tags: nil,
|
751
|
+
secret_store_id: nil,
|
685
752
|
access_key: nil,
|
686
753
|
secret_access_key: nil,
|
687
754
|
output: nil,
|
688
755
|
port_override: nil,
|
689
|
-
region: nil
|
756
|
+
region: nil,
|
757
|
+
role_arn: nil,
|
758
|
+
role_external_id: nil
|
690
759
|
)
|
691
760
|
if id != nil
|
692
761
|
@id = id
|
@@ -700,6 +769,9 @@ module SDM
|
|
700
769
|
if tags != nil
|
701
770
|
@tags = tags
|
702
771
|
end
|
772
|
+
if secret_store_id != nil
|
773
|
+
@secret_store_id = secret_store_id
|
774
|
+
end
|
703
775
|
if access_key != nil
|
704
776
|
@access_key = access_key
|
705
777
|
end
|
@@ -715,6 +787,87 @@ module SDM
|
|
715
787
|
if region != nil
|
716
788
|
@region = region
|
717
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
|
718
871
|
end
|
719
872
|
|
720
873
|
def to_json(options = {})
|
@@ -735,6 +888,8 @@ module SDM
|
|
735
888
|
attr_accessor :healthy
|
736
889
|
# Tags is a map of key, value pairs.
|
737
890
|
attr_accessor :tags
|
891
|
+
# ID of the secret store containing credentials for this resource, if any.
|
892
|
+
attr_accessor :secret_store_id
|
738
893
|
|
739
894
|
attr_accessor :private_key
|
740
895
|
|
@@ -751,6 +906,7 @@ module SDM
|
|
751
906
|
name: nil,
|
752
907
|
healthy: nil,
|
753
908
|
tags: nil,
|
909
|
+
secret_store_id: nil,
|
754
910
|
private_key: nil,
|
755
911
|
project: nil,
|
756
912
|
port_override: nil,
|
@@ -769,6 +925,9 @@ module SDM
|
|
769
925
|
if tags != nil
|
770
926
|
@tags = tags
|
771
927
|
end
|
928
|
+
if secret_store_id != nil
|
929
|
+
@secret_store_id = secret_store_id
|
930
|
+
end
|
772
931
|
if private_key != nil
|
773
932
|
@private_key = private_key
|
774
933
|
end
|
@@ -804,6 +963,8 @@ module SDM
|
|
804
963
|
attr_accessor :healthy
|
805
964
|
# Tags is a map of key, value pairs.
|
806
965
|
attr_accessor :tags
|
966
|
+
# ID of the secret store containing credentials for this resource, if any.
|
967
|
+
attr_accessor :secret_store_id
|
807
968
|
|
808
969
|
attr_accessor :hostname
|
809
970
|
|
@@ -822,6 +983,7 @@ module SDM
|
|
822
983
|
name: nil,
|
823
984
|
healthy: nil,
|
824
985
|
tags: nil,
|
986
|
+
secret_store_id: nil,
|
825
987
|
hostname: nil,
|
826
988
|
username: nil,
|
827
989
|
password: nil,
|
@@ -841,6 +1003,9 @@ module SDM
|
|
841
1003
|
if tags != nil
|
842
1004
|
@tags = tags
|
843
1005
|
end
|
1006
|
+
if secret_store_id != nil
|
1007
|
+
@secret_store_id = secret_store_id
|
1008
|
+
end
|
844
1009
|
if hostname != nil
|
845
1010
|
@hostname = hostname
|
846
1011
|
end
|
@@ -879,6 +1044,8 @@ module SDM
|
|
879
1044
|
attr_accessor :healthy
|
880
1045
|
# Tags is a map of key, value pairs.
|
881
1046
|
attr_accessor :tags
|
1047
|
+
# ID of the secret store containing credentials for this resource, if any.
|
1048
|
+
attr_accessor :secret_store_id
|
882
1049
|
|
883
1050
|
attr_accessor :hostname
|
884
1051
|
|
@@ -897,6 +1064,7 @@ module SDM
|
|
897
1064
|
name: nil,
|
898
1065
|
healthy: nil,
|
899
1066
|
tags: nil,
|
1067
|
+
secret_store_id: nil,
|
900
1068
|
hostname: nil,
|
901
1069
|
username: nil,
|
902
1070
|
password: nil,
|
@@ -916,6 +1084,9 @@ module SDM
|
|
916
1084
|
if tags != nil
|
917
1085
|
@tags = tags
|
918
1086
|
end
|
1087
|
+
if secret_store_id != nil
|
1088
|
+
@secret_store_id = secret_store_id
|
1089
|
+
end
|
919
1090
|
if hostname != nil
|
920
1091
|
@hostname = hostname
|
921
1092
|
end
|
@@ -954,6 +1125,8 @@ module SDM
|
|
954
1125
|
attr_accessor :healthy
|
955
1126
|
# Tags is a map of key, value pairs.
|
956
1127
|
attr_accessor :tags
|
1128
|
+
# ID of the secret store containing credentials for this resource, if any.
|
1129
|
+
attr_accessor :secret_store_id
|
957
1130
|
|
958
1131
|
attr_accessor :hostname
|
959
1132
|
|
@@ -972,6 +1145,7 @@ module SDM
|
|
972
1145
|
name: nil,
|
973
1146
|
healthy: nil,
|
974
1147
|
tags: nil,
|
1148
|
+
secret_store_id: nil,
|
975
1149
|
hostname: nil,
|
976
1150
|
username: nil,
|
977
1151
|
password: nil,
|
@@ -991,6 +1165,9 @@ module SDM
|
|
991
1165
|
if tags != nil
|
992
1166
|
@tags = tags
|
993
1167
|
end
|
1168
|
+
if secret_store_id != nil
|
1169
|
+
@secret_store_id = secret_store_id
|
1170
|
+
end
|
994
1171
|
if hostname != nil
|
995
1172
|
@hostname = hostname
|
996
1173
|
end
|
@@ -1029,6 +1206,8 @@ module SDM
|
|
1029
1206
|
attr_accessor :healthy
|
1030
1207
|
# Tags is a map of key, value pairs.
|
1031
1208
|
attr_accessor :tags
|
1209
|
+
# ID of the secret store containing credentials for this resource, if any.
|
1210
|
+
attr_accessor :secret_store_id
|
1032
1211
|
|
1033
1212
|
attr_accessor :hostname
|
1034
1213
|
|
@@ -1045,6 +1224,7 @@ module SDM
|
|
1045
1224
|
name: nil,
|
1046
1225
|
healthy: nil,
|
1047
1226
|
tags: nil,
|
1227
|
+
secret_store_id: nil,
|
1048
1228
|
hostname: nil,
|
1049
1229
|
port_override: nil,
|
1050
1230
|
username: nil,
|
@@ -1063,6 +1243,9 @@ module SDM
|
|
1063
1243
|
if tags != nil
|
1064
1244
|
@tags = tags
|
1065
1245
|
end
|
1246
|
+
if secret_store_id != nil
|
1247
|
+
@secret_store_id = secret_store_id
|
1248
|
+
end
|
1066
1249
|
if hostname != nil
|
1067
1250
|
@hostname = hostname
|
1068
1251
|
end
|
@@ -1098,6 +1281,8 @@ module SDM
|
|
1098
1281
|
attr_accessor :healthy
|
1099
1282
|
# Tags is a map of key, value pairs.
|
1100
1283
|
attr_accessor :tags
|
1284
|
+
# ID of the secret store containing credentials for this resource, if any.
|
1285
|
+
attr_accessor :secret_store_id
|
1101
1286
|
|
1102
1287
|
attr_accessor :access_key
|
1103
1288
|
|
@@ -1109,16 +1294,23 @@ module SDM
|
|
1109
1294
|
|
1110
1295
|
attr_accessor :port_override
|
1111
1296
|
|
1297
|
+
attr_accessor :role_arn
|
1298
|
+
|
1299
|
+
attr_accessor :role_external_id
|
1300
|
+
|
1112
1301
|
def initialize(
|
1113
1302
|
id: nil,
|
1114
1303
|
name: nil,
|
1115
1304
|
healthy: nil,
|
1116
1305
|
tags: nil,
|
1306
|
+
secret_store_id: nil,
|
1117
1307
|
access_key: nil,
|
1118
1308
|
secret_access_key: nil,
|
1119
1309
|
region: nil,
|
1120
1310
|
endpoint: nil,
|
1121
|
-
port_override: nil
|
1311
|
+
port_override: nil,
|
1312
|
+
role_arn: nil,
|
1313
|
+
role_external_id: nil
|
1122
1314
|
)
|
1123
1315
|
if id != nil
|
1124
1316
|
@id = id
|
@@ -1132,6 +1324,9 @@ module SDM
|
|
1132
1324
|
if tags != nil
|
1133
1325
|
@tags = tags
|
1134
1326
|
end
|
1327
|
+
if secret_store_id != nil
|
1328
|
+
@secret_store_id = secret_store_id
|
1329
|
+
end
|
1135
1330
|
if access_key != nil
|
1136
1331
|
@access_key = access_key
|
1137
1332
|
end
|
@@ -1147,6 +1342,12 @@ module SDM
|
|
1147
1342
|
if port_override != nil
|
1148
1343
|
@port_override = port_override
|
1149
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
|
1150
1351
|
end
|
1151
1352
|
|
1152
1353
|
def to_json(options = {})
|
@@ -1167,6 +1368,8 @@ module SDM
|
|
1167
1368
|
attr_accessor :healthy
|
1168
1369
|
# Tags is a map of key, value pairs.
|
1169
1370
|
attr_accessor :tags
|
1371
|
+
# ID of the secret store containing credentials for this resource, if any.
|
1372
|
+
attr_accessor :secret_store_id
|
1170
1373
|
|
1171
1374
|
attr_accessor :region
|
1172
1375
|
|
@@ -1178,16 +1381,23 @@ module SDM
|
|
1178
1381
|
|
1179
1382
|
attr_accessor :port_override
|
1180
1383
|
|
1384
|
+
attr_accessor :role_arn
|
1385
|
+
|
1386
|
+
attr_accessor :role_external_id
|
1387
|
+
|
1181
1388
|
def initialize(
|
1182
1389
|
id: nil,
|
1183
1390
|
name: nil,
|
1184
1391
|
healthy: nil,
|
1185
1392
|
tags: nil,
|
1393
|
+
secret_store_id: nil,
|
1186
1394
|
region: nil,
|
1187
1395
|
secret_access_key: nil,
|
1188
1396
|
endpoint: nil,
|
1189
1397
|
access_key: nil,
|
1190
|
-
port_override: nil
|
1398
|
+
port_override: nil,
|
1399
|
+
role_arn: nil,
|
1400
|
+
role_external_id: nil
|
1191
1401
|
)
|
1192
1402
|
if id != nil
|
1193
1403
|
@id = id
|
@@ -1201,6 +1411,9 @@ module SDM
|
|
1201
1411
|
if tags != nil
|
1202
1412
|
@tags = tags
|
1203
1413
|
end
|
1414
|
+
if secret_store_id != nil
|
1415
|
+
@secret_store_id = secret_store_id
|
1416
|
+
end
|
1204
1417
|
if region != nil
|
1205
1418
|
@region = region
|
1206
1419
|
end
|
@@ -1216,6 +1429,12 @@ module SDM
|
|
1216
1429
|
if port_override != nil
|
1217
1430
|
@port_override = port_override
|
1218
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
|
1219
1438
|
end
|
1220
1439
|
|
1221
1440
|
def to_json(options = {})
|
@@ -1236,6 +1455,8 @@ module SDM
|
|
1236
1455
|
attr_accessor :healthy
|
1237
1456
|
# Tags is a map of key, value pairs.
|
1238
1457
|
attr_accessor :tags
|
1458
|
+
# ID of the secret store containing credentials for this resource, if any.
|
1459
|
+
attr_accessor :secret_store_id
|
1239
1460
|
|
1240
1461
|
attr_accessor :hostname
|
1241
1462
|
|
@@ -1254,6 +1475,7 @@ module SDM
|
|
1254
1475
|
name: nil,
|
1255
1476
|
healthy: nil,
|
1256
1477
|
tags: nil,
|
1478
|
+
secret_store_id: nil,
|
1257
1479
|
hostname: nil,
|
1258
1480
|
username: nil,
|
1259
1481
|
password: nil,
|
@@ -1273,6 +1495,9 @@ module SDM
|
|
1273
1495
|
if tags != nil
|
1274
1496
|
@tags = tags
|
1275
1497
|
end
|
1498
|
+
if secret_store_id != nil
|
1499
|
+
@secret_store_id = secret_store_id
|
1500
|
+
end
|
1276
1501
|
if hostname != nil
|
1277
1502
|
@hostname = hostname
|
1278
1503
|
end
|
@@ -1311,6 +1536,8 @@ module SDM
|
|
1311
1536
|
attr_accessor :healthy
|
1312
1537
|
# Tags is a map of key, value pairs.
|
1313
1538
|
attr_accessor :tags
|
1539
|
+
# ID of the secret store containing credentials for this resource, if any.
|
1540
|
+
attr_accessor :secret_store_id
|
1314
1541
|
|
1315
1542
|
attr_accessor :url
|
1316
1543
|
|
@@ -1331,6 +1558,7 @@ module SDM
|
|
1331
1558
|
name: nil,
|
1332
1559
|
healthy: nil,
|
1333
1560
|
tags: nil,
|
1561
|
+
secret_store_id: nil,
|
1334
1562
|
url: nil,
|
1335
1563
|
healthcheck_path: nil,
|
1336
1564
|
username: nil,
|
@@ -1351,6 +1579,9 @@ module SDM
|
|
1351
1579
|
if tags != nil
|
1352
1580
|
@tags = tags
|
1353
1581
|
end
|
1582
|
+
if secret_store_id != nil
|
1583
|
+
@secret_store_id = secret_store_id
|
1584
|
+
end
|
1354
1585
|
if url != nil
|
1355
1586
|
@url = url
|
1356
1587
|
end
|
@@ -1392,6 +1623,8 @@ module SDM
|
|
1392
1623
|
attr_accessor :healthy
|
1393
1624
|
# Tags is a map of key, value pairs.
|
1394
1625
|
attr_accessor :tags
|
1626
|
+
# ID of the secret store containing credentials for this resource, if any.
|
1627
|
+
attr_accessor :secret_store_id
|
1395
1628
|
|
1396
1629
|
attr_accessor :url
|
1397
1630
|
|
@@ -1408,6 +1641,7 @@ module SDM
|
|
1408
1641
|
name: nil,
|
1409
1642
|
healthy: nil,
|
1410
1643
|
tags: nil,
|
1644
|
+
secret_store_id: nil,
|
1411
1645
|
url: nil,
|
1412
1646
|
healthcheck_path: nil,
|
1413
1647
|
headers_blacklist: nil,
|
@@ -1426,6 +1660,9 @@ module SDM
|
|
1426
1660
|
if tags != nil
|
1427
1661
|
@tags = tags
|
1428
1662
|
end
|
1663
|
+
if secret_store_id != nil
|
1664
|
+
@secret_store_id = secret_store_id
|
1665
|
+
end
|
1429
1666
|
if url != nil
|
1430
1667
|
@url = url
|
1431
1668
|
end
|
@@ -1461,6 +1698,8 @@ module SDM
|
|
1461
1698
|
attr_accessor :healthy
|
1462
1699
|
# Tags is a map of key, value pairs.
|
1463
1700
|
attr_accessor :tags
|
1701
|
+
# ID of the secret store containing credentials for this resource, if any.
|
1702
|
+
attr_accessor :secret_store_id
|
1464
1703
|
|
1465
1704
|
attr_accessor :url
|
1466
1705
|
|
@@ -1479,6 +1718,7 @@ module SDM
|
|
1479
1718
|
name: nil,
|
1480
1719
|
healthy: nil,
|
1481
1720
|
tags: nil,
|
1721
|
+
secret_store_id: nil,
|
1482
1722
|
url: nil,
|
1483
1723
|
healthcheck_path: nil,
|
1484
1724
|
auth_header: nil,
|
@@ -1498,6 +1738,9 @@ module SDM
|
|
1498
1738
|
if tags != nil
|
1499
1739
|
@tags = tags
|
1500
1740
|
end
|
1741
|
+
if secret_store_id != nil
|
1742
|
+
@secret_store_id = secret_store_id
|
1743
|
+
end
|
1501
1744
|
if url != nil
|
1502
1745
|
@url = url
|
1503
1746
|
end
|
@@ -1536,6 +1779,8 @@ module SDM
|
|
1536
1779
|
attr_accessor :healthy
|
1537
1780
|
# Tags is a map of key, value pairs.
|
1538
1781
|
attr_accessor :tags
|
1782
|
+
# ID of the secret store containing credentials for this resource, if any.
|
1783
|
+
attr_accessor :secret_store_id
|
1539
1784
|
|
1540
1785
|
attr_accessor :hostname
|
1541
1786
|
|
@@ -1554,6 +1799,7 @@ module SDM
|
|
1554
1799
|
name: nil,
|
1555
1800
|
healthy: nil,
|
1556
1801
|
tags: nil,
|
1802
|
+
secret_store_id: nil,
|
1557
1803
|
hostname: nil,
|
1558
1804
|
port: nil,
|
1559
1805
|
certificate_authority: nil,
|
@@ -1573,6 +1819,9 @@ module SDM
|
|
1573
1819
|
if tags != nil
|
1574
1820
|
@tags = tags
|
1575
1821
|
end
|
1822
|
+
if secret_store_id != nil
|
1823
|
+
@secret_store_id = secret_store_id
|
1824
|
+
end
|
1576
1825
|
if hostname != nil
|
1577
1826
|
@hostname = hostname
|
1578
1827
|
end
|
@@ -1611,6 +1860,8 @@ module SDM
|
|
1611
1860
|
attr_accessor :healthy
|
1612
1861
|
# Tags is a map of key, value pairs.
|
1613
1862
|
attr_accessor :tags
|
1863
|
+
# ID of the secret store containing credentials for this resource, if any.
|
1864
|
+
attr_accessor :secret_store_id
|
1614
1865
|
|
1615
1866
|
attr_accessor :hostname
|
1616
1867
|
|
@@ -1627,6 +1878,7 @@ module SDM
|
|
1627
1878
|
name: nil,
|
1628
1879
|
healthy: nil,
|
1629
1880
|
tags: nil,
|
1881
|
+
secret_store_id: nil,
|
1630
1882
|
hostname: nil,
|
1631
1883
|
port: nil,
|
1632
1884
|
username: nil,
|
@@ -1645,6 +1897,9 @@ module SDM
|
|
1645
1897
|
if tags != nil
|
1646
1898
|
@tags = tags
|
1647
1899
|
end
|
1900
|
+
if secret_store_id != nil
|
1901
|
+
@secret_store_id = secret_store_id
|
1902
|
+
end
|
1648
1903
|
if hostname != nil
|
1649
1904
|
@hostname = hostname
|
1650
1905
|
end
|
@@ -1680,6 +1935,8 @@ module SDM
|
|
1680
1935
|
attr_accessor :healthy
|
1681
1936
|
# Tags is a map of key, value pairs.
|
1682
1937
|
attr_accessor :tags
|
1938
|
+
# ID of the secret store containing credentials for this resource, if any.
|
1939
|
+
attr_accessor :secret_store_id
|
1683
1940
|
|
1684
1941
|
attr_accessor :hostname
|
1685
1942
|
|
@@ -1694,6 +1951,7 @@ module SDM
|
|
1694
1951
|
name: nil,
|
1695
1952
|
healthy: nil,
|
1696
1953
|
tags: nil,
|
1954
|
+
secret_store_id: nil,
|
1697
1955
|
hostname: nil,
|
1698
1956
|
port: nil,
|
1699
1957
|
token: nil,
|
@@ -1711,6 +1969,9 @@ module SDM
|
|
1711
1969
|
if tags != nil
|
1712
1970
|
@tags = tags
|
1713
1971
|
end
|
1972
|
+
if secret_store_id != nil
|
1973
|
+
@secret_store_id = secret_store_id
|
1974
|
+
end
|
1714
1975
|
if hostname != nil
|
1715
1976
|
@hostname = hostname
|
1716
1977
|
end
|
@@ -1743,6 +2004,8 @@ module SDM
|
|
1743
2004
|
attr_accessor :healthy
|
1744
2005
|
# Tags is a map of key, value pairs.
|
1745
2006
|
attr_accessor :tags
|
2007
|
+
# ID of the secret store containing credentials for this resource, if any.
|
2008
|
+
attr_accessor :secret_store_id
|
1746
2009
|
|
1747
2010
|
attr_accessor :endpoint
|
1748
2011
|
|
@@ -1758,6 +2021,8 @@ module SDM
|
|
1758
2021
|
|
1759
2022
|
attr_accessor :role_arn
|
1760
2023
|
|
2024
|
+
attr_accessor :role_external_id
|
2025
|
+
|
1761
2026
|
attr_accessor :healthcheck_namespace
|
1762
2027
|
|
1763
2028
|
def initialize(
|
@@ -1765,6 +2030,7 @@ module SDM
|
|
1765
2030
|
name: nil,
|
1766
2031
|
healthy: nil,
|
1767
2032
|
tags: nil,
|
2033
|
+
secret_store_id: nil,
|
1768
2034
|
endpoint: nil,
|
1769
2035
|
access_key: nil,
|
1770
2036
|
secret_access_key: nil,
|
@@ -1772,6 +2038,7 @@ module SDM
|
|
1772
2038
|
region: nil,
|
1773
2039
|
cluster_name: nil,
|
1774
2040
|
role_arn: nil,
|
2041
|
+
role_external_id: nil,
|
1775
2042
|
healthcheck_namespace: nil
|
1776
2043
|
)
|
1777
2044
|
if id != nil
|
@@ -1786,6 +2053,9 @@ module SDM
|
|
1786
2053
|
if tags != nil
|
1787
2054
|
@tags = tags
|
1788
2055
|
end
|
2056
|
+
if secret_store_id != nil
|
2057
|
+
@secret_store_id = secret_store_id
|
2058
|
+
end
|
1789
2059
|
if endpoint != nil
|
1790
2060
|
@endpoint = endpoint
|
1791
2061
|
end
|
@@ -1807,6 +2077,9 @@ module SDM
|
|
1807
2077
|
if role_arn != nil
|
1808
2078
|
@role_arn = role_arn
|
1809
2079
|
end
|
2080
|
+
if role_external_id != nil
|
2081
|
+
@role_external_id = role_external_id
|
2082
|
+
end
|
1810
2083
|
if healthcheck_namespace != nil
|
1811
2084
|
@healthcheck_namespace = healthcheck_namespace
|
1812
2085
|
end
|
@@ -1830,6 +2103,8 @@ module SDM
|
|
1830
2103
|
attr_accessor :healthy
|
1831
2104
|
# Tags is a map of key, value pairs.
|
1832
2105
|
attr_accessor :tags
|
2106
|
+
# ID of the secret store containing credentials for this resource, if any.
|
2107
|
+
attr_accessor :secret_store_id
|
1833
2108
|
|
1834
2109
|
attr_accessor :endpoint
|
1835
2110
|
|
@@ -1844,6 +2119,7 @@ module SDM
|
|
1844
2119
|
name: nil,
|
1845
2120
|
healthy: nil,
|
1846
2121
|
tags: nil,
|
2122
|
+
secret_store_id: nil,
|
1847
2123
|
endpoint: nil,
|
1848
2124
|
certificate_authority: nil,
|
1849
2125
|
service_account_key: nil,
|
@@ -1861,6 +2137,9 @@ module SDM
|
|
1861
2137
|
if tags != nil
|
1862
2138
|
@tags = tags
|
1863
2139
|
end
|
2140
|
+
if secret_store_id != nil
|
2141
|
+
@secret_store_id = secret_store_id
|
2142
|
+
end
|
1864
2143
|
if endpoint != nil
|
1865
2144
|
@endpoint = endpoint
|
1866
2145
|
end
|
@@ -1893,6 +2172,8 @@ module SDM
|
|
1893
2172
|
attr_accessor :healthy
|
1894
2173
|
# Tags is a map of key, value pairs.
|
1895
2174
|
attr_accessor :tags
|
2175
|
+
# ID of the secret store containing credentials for this resource, if any.
|
2176
|
+
attr_accessor :secret_store_id
|
1896
2177
|
|
1897
2178
|
attr_accessor :hostname
|
1898
2179
|
|
@@ -1911,6 +2192,7 @@ module SDM
|
|
1911
2192
|
name: nil,
|
1912
2193
|
healthy: nil,
|
1913
2194
|
tags: nil,
|
2195
|
+
secret_store_id: nil,
|
1914
2196
|
hostname: nil,
|
1915
2197
|
port: nil,
|
1916
2198
|
certificate_authority: nil,
|
@@ -1930,6 +2212,9 @@ module SDM
|
|
1930
2212
|
if tags != nil
|
1931
2213
|
@tags = tags
|
1932
2214
|
end
|
2215
|
+
if secret_store_id != nil
|
2216
|
+
@secret_store_id = secret_store_id
|
2217
|
+
end
|
1933
2218
|
if hostname != nil
|
1934
2219
|
@hostname = hostname
|
1935
2220
|
end
|
@@ -1968,6 +2253,8 @@ module SDM
|
|
1968
2253
|
attr_accessor :healthy
|
1969
2254
|
# Tags is a map of key, value pairs.
|
1970
2255
|
attr_accessor :tags
|
2256
|
+
# ID of the secret store containing credentials for this resource, if any.
|
2257
|
+
attr_accessor :secret_store_id
|
1971
2258
|
|
1972
2259
|
attr_accessor :hostname
|
1973
2260
|
|
@@ -1984,6 +2271,7 @@ module SDM
|
|
1984
2271
|
name: nil,
|
1985
2272
|
healthy: nil,
|
1986
2273
|
tags: nil,
|
2274
|
+
secret_store_id: nil,
|
1987
2275
|
hostname: nil,
|
1988
2276
|
port: nil,
|
1989
2277
|
username: nil,
|
@@ -2002,6 +2290,9 @@ module SDM
|
|
2002
2290
|
if tags != nil
|
2003
2291
|
@tags = tags
|
2004
2292
|
end
|
2293
|
+
if secret_store_id != nil
|
2294
|
+
@secret_store_id = secret_store_id
|
2295
|
+
end
|
2005
2296
|
if hostname != nil
|
2006
2297
|
@hostname = hostname
|
2007
2298
|
end
|
@@ -2037,6 +2328,8 @@ module SDM
|
|
2037
2328
|
attr_accessor :healthy
|
2038
2329
|
# Tags is a map of key, value pairs.
|
2039
2330
|
attr_accessor :tags
|
2331
|
+
# ID of the secret store containing credentials for this resource, if any.
|
2332
|
+
attr_accessor :secret_store_id
|
2040
2333
|
|
2041
2334
|
attr_accessor :hostname
|
2042
2335
|
|
@@ -2051,6 +2344,7 @@ module SDM
|
|
2051
2344
|
name: nil,
|
2052
2345
|
healthy: nil,
|
2053
2346
|
tags: nil,
|
2347
|
+
secret_store_id: nil,
|
2054
2348
|
hostname: nil,
|
2055
2349
|
port: nil,
|
2056
2350
|
token: nil,
|
@@ -2068,6 +2362,9 @@ module SDM
|
|
2068
2362
|
if tags != nil
|
2069
2363
|
@tags = tags
|
2070
2364
|
end
|
2365
|
+
if secret_store_id != nil
|
2366
|
+
@secret_store_id = secret_store_id
|
2367
|
+
end
|
2071
2368
|
if hostname != nil
|
2072
2369
|
@hostname = hostname
|
2073
2370
|
end
|
@@ -2100,6 +2397,8 @@ module SDM
|
|
2100
2397
|
attr_accessor :healthy
|
2101
2398
|
# Tags is a map of key, value pairs.
|
2102
2399
|
attr_accessor :tags
|
2400
|
+
# ID of the secret store containing credentials for this resource, if any.
|
2401
|
+
attr_accessor :secret_store_id
|
2103
2402
|
|
2104
2403
|
attr_accessor :hostname
|
2105
2404
|
|
@@ -2112,6 +2411,7 @@ module SDM
|
|
2112
2411
|
name: nil,
|
2113
2412
|
healthy: nil,
|
2114
2413
|
tags: nil,
|
2414
|
+
secret_store_id: nil,
|
2115
2415
|
hostname: nil,
|
2116
2416
|
port_override: nil,
|
2117
2417
|
port: nil
|
@@ -2128,6 +2428,9 @@ module SDM
|
|
2128
2428
|
if tags != nil
|
2129
2429
|
@tags = tags
|
2130
2430
|
end
|
2431
|
+
if secret_store_id != nil
|
2432
|
+
@secret_store_id = secret_store_id
|
2433
|
+
end
|
2131
2434
|
if hostname != nil
|
2132
2435
|
@hostname = hostname
|
2133
2436
|
end
|
@@ -2157,6 +2460,8 @@ module SDM
|
|
2157
2460
|
attr_accessor :healthy
|
2158
2461
|
# Tags is a map of key, value pairs.
|
2159
2462
|
attr_accessor :tags
|
2463
|
+
# ID of the secret store containing credentials for this resource, if any.
|
2464
|
+
attr_accessor :secret_store_id
|
2160
2465
|
|
2161
2466
|
attr_accessor :hostname
|
2162
2467
|
|
@@ -2179,6 +2484,7 @@ module SDM
|
|
2179
2484
|
name: nil,
|
2180
2485
|
healthy: nil,
|
2181
2486
|
tags: nil,
|
2487
|
+
secret_store_id: nil,
|
2182
2488
|
hostname: nil,
|
2183
2489
|
auth_database: nil,
|
2184
2490
|
port_override: nil,
|
@@ -2200,6 +2506,9 @@ module SDM
|
|
2200
2506
|
if tags != nil
|
2201
2507
|
@tags = tags
|
2202
2508
|
end
|
2509
|
+
if secret_store_id != nil
|
2510
|
+
@secret_store_id = secret_store_id
|
2511
|
+
end
|
2203
2512
|
if hostname != nil
|
2204
2513
|
@hostname = hostname
|
2205
2514
|
end
|
@@ -2244,6 +2553,8 @@ module SDM
|
|
2244
2553
|
attr_accessor :healthy
|
2245
2554
|
# Tags is a map of key, value pairs.
|
2246
2555
|
attr_accessor :tags
|
2556
|
+
# ID of the secret store containing credentials for this resource, if any.
|
2557
|
+
attr_accessor :secret_store_id
|
2247
2558
|
|
2248
2559
|
attr_accessor :hostname
|
2249
2560
|
|
@@ -2268,6 +2579,7 @@ module SDM
|
|
2268
2579
|
name: nil,
|
2269
2580
|
healthy: nil,
|
2270
2581
|
tags: nil,
|
2582
|
+
secret_store_id: nil,
|
2271
2583
|
hostname: nil,
|
2272
2584
|
auth_database: nil,
|
2273
2585
|
port_override: nil,
|
@@ -2290,6 +2602,9 @@ module SDM
|
|
2290
2602
|
if tags != nil
|
2291
2603
|
@tags = tags
|
2292
2604
|
end
|
2605
|
+
if secret_store_id != nil
|
2606
|
+
@secret_store_id = secret_store_id
|
2607
|
+
end
|
2293
2608
|
if hostname != nil
|
2294
2609
|
@hostname = hostname
|
2295
2610
|
end
|
@@ -2337,6 +2652,8 @@ module SDM
|
|
2337
2652
|
attr_accessor :healthy
|
2338
2653
|
# Tags is a map of key, value pairs.
|
2339
2654
|
attr_accessor :tags
|
2655
|
+
# ID of the secret store containing credentials for this resource, if any.
|
2656
|
+
attr_accessor :secret_store_id
|
2340
2657
|
|
2341
2658
|
attr_accessor :hostname
|
2342
2659
|
|
@@ -2357,6 +2674,7 @@ module SDM
|
|
2357
2674
|
name: nil,
|
2358
2675
|
healthy: nil,
|
2359
2676
|
tags: nil,
|
2677
|
+
secret_store_id: nil,
|
2360
2678
|
hostname: nil,
|
2361
2679
|
auth_database: nil,
|
2362
2680
|
port_override: nil,
|
@@ -2377,6 +2695,9 @@ module SDM
|
|
2377
2695
|
if tags != nil
|
2378
2696
|
@tags = tags
|
2379
2697
|
end
|
2698
|
+
if secret_store_id != nil
|
2699
|
+
@secret_store_id = secret_store_id
|
2700
|
+
end
|
2380
2701
|
if hostname != nil
|
2381
2702
|
@hostname = hostname
|
2382
2703
|
end
|
@@ -2418,6 +2739,8 @@ module SDM
|
|
2418
2739
|
attr_accessor :healthy
|
2419
2740
|
# Tags is a map of key, value pairs.
|
2420
2741
|
attr_accessor :tags
|
2742
|
+
# ID of the secret store containing credentials for this resource, if any.
|
2743
|
+
attr_accessor :secret_store_id
|
2421
2744
|
|
2422
2745
|
attr_accessor :hostname
|
2423
2746
|
|
@@ -2442,6 +2765,7 @@ module SDM
|
|
2442
2765
|
name: nil,
|
2443
2766
|
healthy: nil,
|
2444
2767
|
tags: nil,
|
2768
|
+
secret_store_id: nil,
|
2445
2769
|
hostname: nil,
|
2446
2770
|
auth_database: nil,
|
2447
2771
|
port_override: nil,
|
@@ -2464,6 +2788,9 @@ module SDM
|
|
2464
2788
|
if tags != nil
|
2465
2789
|
@tags = tags
|
2466
2790
|
end
|
2791
|
+
if secret_store_id != nil
|
2792
|
+
@secret_store_id = secret_store_id
|
2793
|
+
end
|
2467
2794
|
if hostname != nil
|
2468
2795
|
@hostname = hostname
|
2469
2796
|
end
|
@@ -2511,6 +2838,8 @@ module SDM
|
|
2511
2838
|
attr_accessor :healthy
|
2512
2839
|
# Tags is a map of key, value pairs.
|
2513
2840
|
attr_accessor :tags
|
2841
|
+
# ID of the secret store containing credentials for this resource, if any.
|
2842
|
+
attr_accessor :secret_store_id
|
2514
2843
|
|
2515
2844
|
attr_accessor :hostname
|
2516
2845
|
|
@@ -2529,6 +2858,7 @@ module SDM
|
|
2529
2858
|
name: nil,
|
2530
2859
|
healthy: nil,
|
2531
2860
|
tags: nil,
|
2861
|
+
secret_store_id: nil,
|
2532
2862
|
hostname: nil,
|
2533
2863
|
username: nil,
|
2534
2864
|
password: nil,
|
@@ -2548,6 +2878,9 @@ module SDM
|
|
2548
2878
|
if tags != nil
|
2549
2879
|
@tags = tags
|
2550
2880
|
end
|
2881
|
+
if secret_store_id != nil
|
2882
|
+
@secret_store_id = secret_store_id
|
2883
|
+
end
|
2551
2884
|
if hostname != nil
|
2552
2885
|
@hostname = hostname
|
2553
2886
|
end
|
@@ -2586,6 +2919,8 @@ module SDM
|
|
2586
2919
|
attr_accessor :healthy
|
2587
2920
|
# Tags is a map of key, value pairs.
|
2588
2921
|
attr_accessor :tags
|
2922
|
+
# ID of the secret store containing credentials for this resource, if any.
|
2923
|
+
attr_accessor :secret_store_id
|
2589
2924
|
|
2590
2925
|
attr_accessor :hostname
|
2591
2926
|
|
@@ -2604,6 +2939,7 @@ module SDM
|
|
2604
2939
|
name: nil,
|
2605
2940
|
healthy: nil,
|
2606
2941
|
tags: nil,
|
2942
|
+
secret_store_id: nil,
|
2607
2943
|
hostname: nil,
|
2608
2944
|
username: nil,
|
2609
2945
|
password: nil,
|
@@ -2623,6 +2959,9 @@ module SDM
|
|
2623
2959
|
if tags != nil
|
2624
2960
|
@tags = tags
|
2625
2961
|
end
|
2962
|
+
if secret_store_id != nil
|
2963
|
+
@secret_store_id = secret_store_id
|
2964
|
+
end
|
2626
2965
|
if hostname != nil
|
2627
2966
|
@hostname = hostname
|
2628
2967
|
end
|
@@ -2661,6 +3000,8 @@ module SDM
|
|
2661
3000
|
attr_accessor :healthy
|
2662
3001
|
# Tags is a map of key, value pairs.
|
2663
3002
|
attr_accessor :tags
|
3003
|
+
# ID of the secret store containing credentials for this resource, if any.
|
3004
|
+
attr_accessor :secret_store_id
|
2664
3005
|
|
2665
3006
|
attr_accessor :hostname
|
2666
3007
|
|
@@ -2679,6 +3020,7 @@ module SDM
|
|
2679
3020
|
name: nil,
|
2680
3021
|
healthy: nil,
|
2681
3022
|
tags: nil,
|
3023
|
+
secret_store_id: nil,
|
2682
3024
|
hostname: nil,
|
2683
3025
|
username: nil,
|
2684
3026
|
password: nil,
|
@@ -2698,6 +3040,9 @@ module SDM
|
|
2698
3040
|
if tags != nil
|
2699
3041
|
@tags = tags
|
2700
3042
|
end
|
3043
|
+
if secret_store_id != nil
|
3044
|
+
@secret_store_id = secret_store_id
|
3045
|
+
end
|
2701
3046
|
if hostname != nil
|
2702
3047
|
@hostname = hostname
|
2703
3048
|
end
|
@@ -2736,6 +3081,8 @@ module SDM
|
|
2736
3081
|
attr_accessor :healthy
|
2737
3082
|
# Tags is a map of key, value pairs.
|
2738
3083
|
attr_accessor :tags
|
3084
|
+
# ID of the secret store containing credentials for this resource, if any.
|
3085
|
+
attr_accessor :secret_store_id
|
2739
3086
|
|
2740
3087
|
attr_accessor :hostname
|
2741
3088
|
|
@@ -2754,6 +3101,7 @@ module SDM
|
|
2754
3101
|
name: nil,
|
2755
3102
|
healthy: nil,
|
2756
3103
|
tags: nil,
|
3104
|
+
secret_store_id: nil,
|
2757
3105
|
hostname: nil,
|
2758
3106
|
username: nil,
|
2759
3107
|
password: nil,
|
@@ -2773,6 +3121,9 @@ module SDM
|
|
2773
3121
|
if tags != nil
|
2774
3122
|
@tags = tags
|
2775
3123
|
end
|
3124
|
+
if secret_store_id != nil
|
3125
|
+
@secret_store_id = secret_store_id
|
3126
|
+
end
|
2776
3127
|
if hostname != nil
|
2777
3128
|
@hostname = hostname
|
2778
3129
|
end
|
@@ -2811,6 +3162,8 @@ module SDM
|
|
2811
3162
|
attr_accessor :healthy
|
2812
3163
|
# Tags is a map of key, value pairs.
|
2813
3164
|
attr_accessor :tags
|
3165
|
+
# ID of the secret store containing credentials for this resource, if any.
|
3166
|
+
attr_accessor :secret_store_id
|
2814
3167
|
|
2815
3168
|
attr_accessor :hostname
|
2816
3169
|
|
@@ -2829,6 +3182,7 @@ module SDM
|
|
2829
3182
|
name: nil,
|
2830
3183
|
healthy: nil,
|
2831
3184
|
tags: nil,
|
3185
|
+
secret_store_id: nil,
|
2832
3186
|
hostname: nil,
|
2833
3187
|
username: nil,
|
2834
3188
|
password: nil,
|
@@ -2848,6 +3202,9 @@ module SDM
|
|
2848
3202
|
if tags != nil
|
2849
3203
|
@tags = tags
|
2850
3204
|
end
|
3205
|
+
if secret_store_id != nil
|
3206
|
+
@secret_store_id = secret_store_id
|
3207
|
+
end
|
2851
3208
|
if hostname != nil
|
2852
3209
|
@hostname = hostname
|
2853
3210
|
end
|
@@ -2886,6 +3243,8 @@ module SDM
|
|
2886
3243
|
attr_accessor :healthy
|
2887
3244
|
# Tags is a map of key, value pairs.
|
2888
3245
|
attr_accessor :tags
|
3246
|
+
# ID of the secret store containing credentials for this resource, if any.
|
3247
|
+
attr_accessor :secret_store_id
|
2889
3248
|
|
2890
3249
|
attr_accessor :hostname
|
2891
3250
|
|
@@ -2906,6 +3265,7 @@ module SDM
|
|
2906
3265
|
name: nil,
|
2907
3266
|
healthy: nil,
|
2908
3267
|
tags: nil,
|
3268
|
+
secret_store_id: nil,
|
2909
3269
|
hostname: nil,
|
2910
3270
|
username: nil,
|
2911
3271
|
password: nil,
|
@@ -2926,6 +3286,9 @@ module SDM
|
|
2926
3286
|
if tags != nil
|
2927
3287
|
@tags = tags
|
2928
3288
|
end
|
3289
|
+
if secret_store_id != nil
|
3290
|
+
@secret_store_id = secret_store_id
|
3291
|
+
end
|
2929
3292
|
if hostname != nil
|
2930
3293
|
@hostname = hostname
|
2931
3294
|
end
|
@@ -2967,6 +3330,8 @@ module SDM
|
|
2967
3330
|
attr_accessor :healthy
|
2968
3331
|
# Tags is a map of key, value pairs.
|
2969
3332
|
attr_accessor :tags
|
3333
|
+
# ID of the secret store containing credentials for this resource, if any.
|
3334
|
+
attr_accessor :secret_store_id
|
2970
3335
|
|
2971
3336
|
attr_accessor :hostname
|
2972
3337
|
|
@@ -2987,6 +3352,7 @@ module SDM
|
|
2987
3352
|
name: nil,
|
2988
3353
|
healthy: nil,
|
2989
3354
|
tags: nil,
|
3355
|
+
secret_store_id: nil,
|
2990
3356
|
hostname: nil,
|
2991
3357
|
username: nil,
|
2992
3358
|
password: nil,
|
@@ -3007,6 +3373,9 @@ module SDM
|
|
3007
3373
|
if tags != nil
|
3008
3374
|
@tags = tags
|
3009
3375
|
end
|
3376
|
+
if secret_store_id != nil
|
3377
|
+
@secret_store_id = secret_store_id
|
3378
|
+
end
|
3010
3379
|
if hostname != nil
|
3011
3380
|
@hostname = hostname
|
3012
3381
|
end
|
@@ -3048,6 +3417,8 @@ module SDM
|
|
3048
3417
|
attr_accessor :healthy
|
3049
3418
|
# Tags is a map of key, value pairs.
|
3050
3419
|
attr_accessor :tags
|
3420
|
+
# ID of the secret store containing credentials for this resource, if any.
|
3421
|
+
attr_accessor :secret_store_id
|
3051
3422
|
|
3052
3423
|
attr_accessor :hostname
|
3053
3424
|
|
@@ -3068,6 +3439,7 @@ module SDM
|
|
3068
3439
|
name: nil,
|
3069
3440
|
healthy: nil,
|
3070
3441
|
tags: nil,
|
3442
|
+
secret_store_id: nil,
|
3071
3443
|
hostname: nil,
|
3072
3444
|
username: nil,
|
3073
3445
|
password: nil,
|
@@ -3088,6 +3460,9 @@ module SDM
|
|
3088
3460
|
if tags != nil
|
3089
3461
|
@tags = tags
|
3090
3462
|
end
|
3463
|
+
if secret_store_id != nil
|
3464
|
+
@secret_store_id = secret_store_id
|
3465
|
+
end
|
3091
3466
|
if hostname != nil
|
3092
3467
|
@hostname = hostname
|
3093
3468
|
end
|
@@ -3129,6 +3504,8 @@ module SDM
|
|
3129
3504
|
attr_accessor :healthy
|
3130
3505
|
# Tags is a map of key, value pairs.
|
3131
3506
|
attr_accessor :tags
|
3507
|
+
# ID of the secret store containing credentials for this resource, if any.
|
3508
|
+
attr_accessor :secret_store_id
|
3132
3509
|
|
3133
3510
|
attr_accessor :hostname
|
3134
3511
|
|
@@ -3149,6 +3526,7 @@ module SDM
|
|
3149
3526
|
name: nil,
|
3150
3527
|
healthy: nil,
|
3151
3528
|
tags: nil,
|
3529
|
+
secret_store_id: nil,
|
3152
3530
|
hostname: nil,
|
3153
3531
|
username: nil,
|
3154
3532
|
password: nil,
|
@@ -3169,6 +3547,9 @@ module SDM
|
|
3169
3547
|
if tags != nil
|
3170
3548
|
@tags = tags
|
3171
3549
|
end
|
3550
|
+
if secret_store_id != nil
|
3551
|
+
@secret_store_id = secret_store_id
|
3552
|
+
end
|
3172
3553
|
if hostname != nil
|
3173
3554
|
@hostname = hostname
|
3174
3555
|
end
|
@@ -3210,6 +3591,8 @@ module SDM
|
|
3210
3591
|
attr_accessor :healthy
|
3211
3592
|
# Tags is a map of key, value pairs.
|
3212
3593
|
attr_accessor :tags
|
3594
|
+
# ID of the secret store containing credentials for this resource, if any.
|
3595
|
+
attr_accessor :secret_store_id
|
3213
3596
|
|
3214
3597
|
attr_accessor :hostname
|
3215
3598
|
|
@@ -3230,6 +3613,7 @@ module SDM
|
|
3230
3613
|
name: nil,
|
3231
3614
|
healthy: nil,
|
3232
3615
|
tags: nil,
|
3616
|
+
secret_store_id: nil,
|
3233
3617
|
hostname: nil,
|
3234
3618
|
username: nil,
|
3235
3619
|
password: nil,
|
@@ -3250,6 +3634,9 @@ module SDM
|
|
3250
3634
|
if tags != nil
|
3251
3635
|
@tags = tags
|
3252
3636
|
end
|
3637
|
+
if secret_store_id != nil
|
3638
|
+
@secret_store_id = secret_store_id
|
3639
|
+
end
|
3253
3640
|
if hostname != nil
|
3254
3641
|
@hostname = hostname
|
3255
3642
|
end
|
@@ -3291,6 +3678,8 @@ module SDM
|
|
3291
3678
|
attr_accessor :healthy
|
3292
3679
|
# Tags is a map of key, value pairs.
|
3293
3680
|
attr_accessor :tags
|
3681
|
+
# ID of the secret store containing credentials for this resource, if any.
|
3682
|
+
attr_accessor :secret_store_id
|
3294
3683
|
|
3295
3684
|
attr_accessor :hostname
|
3296
3685
|
|
@@ -3311,6 +3700,7 @@ module SDM
|
|
3311
3700
|
name: nil,
|
3312
3701
|
healthy: nil,
|
3313
3702
|
tags: nil,
|
3703
|
+
secret_store_id: nil,
|
3314
3704
|
hostname: nil,
|
3315
3705
|
username: nil,
|
3316
3706
|
password: nil,
|
@@ -3331,6 +3721,9 @@ module SDM
|
|
3331
3721
|
if tags != nil
|
3332
3722
|
@tags = tags
|
3333
3723
|
end
|
3724
|
+
if secret_store_id != nil
|
3725
|
+
@secret_store_id = secret_store_id
|
3726
|
+
end
|
3334
3727
|
if hostname != nil
|
3335
3728
|
@hostname = hostname
|
3336
3729
|
end
|
@@ -3372,6 +3765,8 @@ module SDM
|
|
3372
3765
|
attr_accessor :healthy
|
3373
3766
|
# Tags is a map of key, value pairs.
|
3374
3767
|
attr_accessor :tags
|
3768
|
+
# ID of the secret store containing credentials for this resource, if any.
|
3769
|
+
attr_accessor :secret_store_id
|
3375
3770
|
|
3376
3771
|
attr_accessor :hostname
|
3377
3772
|
|
@@ -3392,6 +3787,7 @@ module SDM
|
|
3392
3787
|
name: nil,
|
3393
3788
|
healthy: nil,
|
3394
3789
|
tags: nil,
|
3790
|
+
secret_store_id: nil,
|
3395
3791
|
hostname: nil,
|
3396
3792
|
username: nil,
|
3397
3793
|
password: nil,
|
@@ -3412,6 +3808,9 @@ module SDM
|
|
3412
3808
|
if tags != nil
|
3413
3809
|
@tags = tags
|
3414
3810
|
end
|
3811
|
+
if secret_store_id != nil
|
3812
|
+
@secret_store_id = secret_store_id
|
3813
|
+
end
|
3415
3814
|
if hostname != nil
|
3416
3815
|
@hostname = hostname
|
3417
3816
|
end
|
@@ -3453,6 +3852,8 @@ module SDM
|
|
3453
3852
|
attr_accessor :healthy
|
3454
3853
|
# Tags is a map of key, value pairs.
|
3455
3854
|
attr_accessor :tags
|
3855
|
+
# ID of the secret store containing credentials for this resource, if any.
|
3856
|
+
attr_accessor :secret_store_id
|
3456
3857
|
|
3457
3858
|
attr_accessor :hostname
|
3458
3859
|
|
@@ -3473,6 +3874,7 @@ module SDM
|
|
3473
3874
|
name: nil,
|
3474
3875
|
healthy: nil,
|
3475
3876
|
tags: nil,
|
3877
|
+
secret_store_id: nil,
|
3476
3878
|
hostname: nil,
|
3477
3879
|
password: nil,
|
3478
3880
|
database: nil,
|
@@ -3493,6 +3895,9 @@ module SDM
|
|
3493
3895
|
if tags != nil
|
3494
3896
|
@tags = tags
|
3495
3897
|
end
|
3898
|
+
if secret_store_id != nil
|
3899
|
+
@secret_store_id = secret_store_id
|
3900
|
+
end
|
3496
3901
|
if hostname != nil
|
3497
3902
|
@hostname = hostname
|
3498
3903
|
end
|
@@ -3534,6 +3939,8 @@ module SDM
|
|
3534
3939
|
attr_accessor :healthy
|
3535
3940
|
# Tags is a map of key, value pairs.
|
3536
3941
|
attr_accessor :tags
|
3942
|
+
# ID of the secret store containing credentials for this resource, if any.
|
3943
|
+
attr_accessor :secret_store_id
|
3537
3944
|
|
3538
3945
|
attr_accessor :hostname
|
3539
3946
|
|
@@ -3550,6 +3957,7 @@ module SDM
|
|
3550
3957
|
name: nil,
|
3551
3958
|
healthy: nil,
|
3552
3959
|
tags: nil,
|
3960
|
+
secret_store_id: nil,
|
3553
3961
|
hostname: nil,
|
3554
3962
|
username: nil,
|
3555
3963
|
password: nil,
|
@@ -3568,6 +3976,9 @@ module SDM
|
|
3568
3976
|
if tags != nil
|
3569
3977
|
@tags = tags
|
3570
3978
|
end
|
3979
|
+
if secret_store_id != nil
|
3980
|
+
@secret_store_id = secret_store_id
|
3981
|
+
end
|
3571
3982
|
if hostname != nil
|
3572
3983
|
@hostname = hostname
|
3573
3984
|
end
|
@@ -3603,6 +4014,8 @@ module SDM
|
|
3603
4014
|
attr_accessor :healthy
|
3604
4015
|
# Tags is a map of key, value pairs.
|
3605
4016
|
attr_accessor :tags
|
4017
|
+
# ID of the secret store containing credentials for this resource, if any.
|
4018
|
+
attr_accessor :secret_store_id
|
3606
4019
|
|
3607
4020
|
attr_accessor :hostname
|
3608
4021
|
|
@@ -3617,6 +4030,7 @@ module SDM
|
|
3617
4030
|
name: nil,
|
3618
4031
|
healthy: nil,
|
3619
4032
|
tags: nil,
|
4033
|
+
secret_store_id: nil,
|
3620
4034
|
hostname: nil,
|
3621
4035
|
port_override: nil,
|
3622
4036
|
password: nil,
|
@@ -3634,6 +4048,9 @@ module SDM
|
|
3634
4048
|
if tags != nil
|
3635
4049
|
@tags = tags
|
3636
4050
|
end
|
4051
|
+
if secret_store_id != nil
|
4052
|
+
@secret_store_id = secret_store_id
|
4053
|
+
end
|
3637
4054
|
if hostname != nil
|
3638
4055
|
@hostname = hostname
|
3639
4056
|
end
|
@@ -3666,6 +4083,8 @@ module SDM
|
|
3666
4083
|
attr_accessor :healthy
|
3667
4084
|
# Tags is a map of key, value pairs.
|
3668
4085
|
attr_accessor :tags
|
4086
|
+
# ID of the secret store containing credentials for this resource, if any.
|
4087
|
+
attr_accessor :secret_store_id
|
3669
4088
|
|
3670
4089
|
attr_accessor :hostname
|
3671
4090
|
|
@@ -3682,6 +4101,7 @@ module SDM
|
|
3682
4101
|
name: nil,
|
3683
4102
|
healthy: nil,
|
3684
4103
|
tags: nil,
|
4104
|
+
secret_store_id: nil,
|
3685
4105
|
hostname: nil,
|
3686
4106
|
port_override: nil,
|
3687
4107
|
password: nil,
|
@@ -3700,6 +4120,9 @@ module SDM
|
|
3700
4120
|
if tags != nil
|
3701
4121
|
@tags = tags
|
3702
4122
|
end
|
4123
|
+
if secret_store_id != nil
|
4124
|
+
@secret_store_id = secret_store_id
|
4125
|
+
end
|
3703
4126
|
if hostname != nil
|
3704
4127
|
@hostname = hostname
|
3705
4128
|
end
|
@@ -3735,6 +4158,8 @@ module SDM
|
|
3735
4158
|
attr_accessor :healthy
|
3736
4159
|
# Tags is a map of key, value pairs.
|
3737
4160
|
attr_accessor :tags
|
4161
|
+
# ID of the secret store containing credentials for this resource, if any.
|
4162
|
+
attr_accessor :secret_store_id
|
3738
4163
|
|
3739
4164
|
attr_accessor :hostname
|
3740
4165
|
|
@@ -3753,6 +4178,7 @@ module SDM
|
|
3753
4178
|
name: nil,
|
3754
4179
|
healthy: nil,
|
3755
4180
|
tags: nil,
|
4181
|
+
secret_store_id: nil,
|
3756
4182
|
hostname: nil,
|
3757
4183
|
username: nil,
|
3758
4184
|
password: nil,
|
@@ -3772,6 +4198,9 @@ module SDM
|
|
3772
4198
|
if tags != nil
|
3773
4199
|
@tags = tags
|
3774
4200
|
end
|
4201
|
+
if secret_store_id != nil
|
4202
|
+
@secret_store_id = secret_store_id
|
4203
|
+
end
|
3775
4204
|
if hostname != nil
|
3776
4205
|
@hostname = hostname
|
3777
4206
|
end
|
@@ -3810,6 +4239,8 @@ module SDM
|
|
3810
4239
|
attr_accessor :healthy
|
3811
4240
|
# Tags is a map of key, value pairs.
|
3812
4241
|
attr_accessor :tags
|
4242
|
+
# ID of the secret store containing credentials for this resource, if any.
|
4243
|
+
attr_accessor :secret_store_id
|
3813
4244
|
|
3814
4245
|
attr_accessor :hostname
|
3815
4246
|
|
@@ -3832,6 +4263,7 @@ module SDM
|
|
3832
4263
|
name: nil,
|
3833
4264
|
healthy: nil,
|
3834
4265
|
tags: nil,
|
4266
|
+
secret_store_id: nil,
|
3835
4267
|
hostname: nil,
|
3836
4268
|
username: nil,
|
3837
4269
|
password: nil,
|
@@ -3853,6 +4285,9 @@ module SDM
|
|
3853
4285
|
if tags != nil
|
3854
4286
|
@tags = tags
|
3855
4287
|
end
|
4288
|
+
if secret_store_id != nil
|
4289
|
+
@secret_store_id = secret_store_id
|
4290
|
+
end
|
3856
4291
|
if hostname != nil
|
3857
4292
|
@hostname = hostname
|
3858
4293
|
end
|
@@ -3897,6 +4332,8 @@ module SDM
|
|
3897
4332
|
attr_accessor :healthy
|
3898
4333
|
# Tags is a map of key, value pairs.
|
3899
4334
|
attr_accessor :tags
|
4335
|
+
# ID of the secret store containing credentials for this resource, if any.
|
4336
|
+
attr_accessor :secret_store_id
|
3900
4337
|
|
3901
4338
|
attr_accessor :hostname
|
3902
4339
|
|
@@ -3915,6 +4352,7 @@ module SDM
|
|
3915
4352
|
name: nil,
|
3916
4353
|
healthy: nil,
|
3917
4354
|
tags: nil,
|
4355
|
+
secret_store_id: nil,
|
3918
4356
|
hostname: nil,
|
3919
4357
|
username: nil,
|
3920
4358
|
port: nil,
|
@@ -3934,6 +4372,9 @@ module SDM
|
|
3934
4372
|
if tags != nil
|
3935
4373
|
@tags = tags
|
3936
4374
|
end
|
4375
|
+
if secret_store_id != nil
|
4376
|
+
@secret_store_id = secret_store_id
|
4377
|
+
end
|
3937
4378
|
if hostname != nil
|
3938
4379
|
@hostname = hostname
|
3939
4380
|
end
|
@@ -3972,6 +4413,8 @@ module SDM
|
|
3972
4413
|
attr_accessor :healthy
|
3973
4414
|
# Tags is a map of key, value pairs.
|
3974
4415
|
attr_accessor :tags
|
4416
|
+
# ID of the secret store containing credentials for this resource, if any.
|
4417
|
+
attr_accessor :secret_store_id
|
3975
4418
|
|
3976
4419
|
attr_accessor :hostname
|
3977
4420
|
|
@@ -3988,6 +4431,7 @@ module SDM
|
|
3988
4431
|
name: nil,
|
3989
4432
|
healthy: nil,
|
3990
4433
|
tags: nil,
|
4434
|
+
secret_store_id: nil,
|
3991
4435
|
hostname: nil,
|
3992
4436
|
username: nil,
|
3993
4437
|
port: nil,
|
@@ -4006,6 +4450,9 @@ module SDM
|
|
4006
4450
|
if tags != nil
|
4007
4451
|
@tags = tags
|
4008
4452
|
end
|
4453
|
+
if secret_store_id != nil
|
4454
|
+
@secret_store_id = secret_store_id
|
4455
|
+
end
|
4009
4456
|
if hostname != nil
|
4010
4457
|
@hostname = hostname
|
4011
4458
|
end
|
@@ -4041,6 +4488,8 @@ module SDM
|
|
4041
4488
|
attr_accessor :healthy
|
4042
4489
|
# Tags is a map of key, value pairs.
|
4043
4490
|
attr_accessor :tags
|
4491
|
+
# ID of the secret store containing credentials for this resource, if any.
|
4492
|
+
attr_accessor :secret_store_id
|
4044
4493
|
|
4045
4494
|
attr_accessor :hostname
|
4046
4495
|
|
@@ -4057,6 +4506,7 @@ module SDM
|
|
4057
4506
|
name: nil,
|
4058
4507
|
healthy: nil,
|
4059
4508
|
tags: nil,
|
4509
|
+
secret_store_id: nil,
|
4060
4510
|
hostname: nil,
|
4061
4511
|
username: nil,
|
4062
4512
|
port_override: nil,
|
@@ -4075,6 +4525,9 @@ module SDM
|
|
4075
4525
|
if tags != nil
|
4076
4526
|
@tags = tags
|
4077
4527
|
end
|
4528
|
+
if secret_store_id != nil
|
4529
|
+
@secret_store_id = secret_store_id
|
4530
|
+
end
|
4078
4531
|
if hostname != nil
|
4079
4532
|
@hostname = hostname
|
4080
4533
|
end
|
@@ -4110,6 +4563,8 @@ module SDM
|
|
4110
4563
|
attr_accessor :healthy
|
4111
4564
|
# Tags is a map of key, value pairs.
|
4112
4565
|
attr_accessor :tags
|
4566
|
+
# ID of the secret store containing credentials for this resource, if any.
|
4567
|
+
attr_accessor :secret_store_id
|
4113
4568
|
|
4114
4569
|
attr_accessor :hostname
|
4115
4570
|
|
@@ -4126,6 +4581,7 @@ module SDM
|
|
4126
4581
|
name: nil,
|
4127
4582
|
healthy: nil,
|
4128
4583
|
tags: nil,
|
4584
|
+
secret_store_id: nil,
|
4129
4585
|
hostname: nil,
|
4130
4586
|
username: nil,
|
4131
4587
|
port_override: nil,
|
@@ -4144,6 +4600,9 @@ module SDM
|
|
4144
4600
|
if tags != nil
|
4145
4601
|
@tags = tags
|
4146
4602
|
end
|
4603
|
+
if secret_store_id != nil
|
4604
|
+
@secret_store_id = secret_store_id
|
4605
|
+
end
|
4147
4606
|
if hostname != nil
|
4148
4607
|
@hostname = hostname
|
4149
4608
|
end
|
@@ -4179,6 +4638,8 @@ module SDM
|
|
4179
4638
|
attr_accessor :healthy
|
4180
4639
|
# Tags is a map of key, value pairs.
|
4181
4640
|
attr_accessor :tags
|
4641
|
+
# ID of the secret store containing credentials for this resource, if any.
|
4642
|
+
attr_accessor :secret_store_id
|
4182
4643
|
|
4183
4644
|
attr_accessor :hostname
|
4184
4645
|
|
@@ -4195,6 +4656,7 @@ module SDM
|
|
4195
4656
|
name: nil,
|
4196
4657
|
healthy: nil,
|
4197
4658
|
tags: nil,
|
4659
|
+
secret_store_id: nil,
|
4198
4660
|
hostname: nil,
|
4199
4661
|
username: nil,
|
4200
4662
|
password: nil,
|
@@ -4213,6 +4675,9 @@ module SDM
|
|
4213
4675
|
if tags != nil
|
4214
4676
|
@tags = tags
|
4215
4677
|
end
|
4678
|
+
if secret_store_id != nil
|
4679
|
+
@secret_store_id = secret_store_id
|
4680
|
+
end
|
4216
4681
|
if hostname != nil
|
4217
4682
|
@hostname = hostname
|
4218
4683
|
end
|
@@ -5035,4 +5500,270 @@ module SDM
|
|
5035
5500
|
hash.to_json
|
5036
5501
|
end
|
5037
5502
|
end
|
5503
|
+
|
5504
|
+
class AWSStore
|
5505
|
+
# Unique identifier of the SecretStore.
|
5506
|
+
attr_accessor :id
|
5507
|
+
# Unique human-readable name of the SecretStore.
|
5508
|
+
attr_accessor :name
|
5509
|
+
|
5510
|
+
attr_accessor :region
|
5511
|
+
# Tags is a map of key, value pairs.
|
5512
|
+
attr_accessor :tags
|
5513
|
+
|
5514
|
+
def initialize(
|
5515
|
+
id: nil,
|
5516
|
+
name: nil,
|
5517
|
+
region: nil,
|
5518
|
+
tags: nil
|
5519
|
+
)
|
5520
|
+
if id != nil
|
5521
|
+
@id = id
|
5522
|
+
end
|
5523
|
+
if name != nil
|
5524
|
+
@name = name
|
5525
|
+
end
|
5526
|
+
if region != nil
|
5527
|
+
@region = region
|
5528
|
+
end
|
5529
|
+
if tags != nil
|
5530
|
+
@tags = tags
|
5531
|
+
end
|
5532
|
+
end
|
5533
|
+
|
5534
|
+
def to_json(options = {})
|
5535
|
+
hash = {}
|
5536
|
+
self.instance_variables.each do |var|
|
5537
|
+
hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
|
5538
|
+
end
|
5539
|
+
hash.to_json
|
5540
|
+
end
|
5541
|
+
end
|
5542
|
+
|
5543
|
+
class VaultTLSStore
|
5544
|
+
# Unique identifier of the SecretStore.
|
5545
|
+
attr_accessor :id
|
5546
|
+
# Unique human-readable name of the SecretStore.
|
5547
|
+
attr_accessor :name
|
5548
|
+
|
5549
|
+
attr_accessor :server_address
|
5550
|
+
|
5551
|
+
attr_accessor :ca_cert_path
|
5552
|
+
|
5553
|
+
attr_accessor :client_cert_path
|
5554
|
+
|
5555
|
+
attr_accessor :client_key_path
|
5556
|
+
# Tags is a map of key, value pairs.
|
5557
|
+
attr_accessor :tags
|
5558
|
+
|
5559
|
+
def initialize(
|
5560
|
+
id: nil,
|
5561
|
+
name: nil,
|
5562
|
+
server_address: nil,
|
5563
|
+
ca_cert_path: nil,
|
5564
|
+
client_cert_path: nil,
|
5565
|
+
client_key_path: nil,
|
5566
|
+
tags: nil
|
5567
|
+
)
|
5568
|
+
if id != nil
|
5569
|
+
@id = id
|
5570
|
+
end
|
5571
|
+
if name != nil
|
5572
|
+
@name = name
|
5573
|
+
end
|
5574
|
+
if server_address != nil
|
5575
|
+
@server_address = server_address
|
5576
|
+
end
|
5577
|
+
if ca_cert_path != nil
|
5578
|
+
@ca_cert_path = ca_cert_path
|
5579
|
+
end
|
5580
|
+
if client_cert_path != nil
|
5581
|
+
@client_cert_path = client_cert_path
|
5582
|
+
end
|
5583
|
+
if client_key_path != nil
|
5584
|
+
@client_key_path = client_key_path
|
5585
|
+
end
|
5586
|
+
if tags != nil
|
5587
|
+
@tags = tags
|
5588
|
+
end
|
5589
|
+
end
|
5590
|
+
|
5591
|
+
def to_json(options = {})
|
5592
|
+
hash = {}
|
5593
|
+
self.instance_variables.each do |var|
|
5594
|
+
hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
|
5595
|
+
end
|
5596
|
+
hash.to_json
|
5597
|
+
end
|
5598
|
+
end
|
5599
|
+
|
5600
|
+
class VaultTokenStore
|
5601
|
+
# Unique identifier of the SecretStore.
|
5602
|
+
attr_accessor :id
|
5603
|
+
# Unique human-readable name of the SecretStore.
|
5604
|
+
attr_accessor :name
|
5605
|
+
|
5606
|
+
attr_accessor :server_address
|
5607
|
+
# Tags is a map of key, value pairs.
|
5608
|
+
attr_accessor :tags
|
5609
|
+
|
5610
|
+
def initialize(
|
5611
|
+
id: nil,
|
5612
|
+
name: nil,
|
5613
|
+
server_address: nil,
|
5614
|
+
tags: nil
|
5615
|
+
)
|
5616
|
+
if id != nil
|
5617
|
+
@id = id
|
5618
|
+
end
|
5619
|
+
if name != nil
|
5620
|
+
@name = name
|
5621
|
+
end
|
5622
|
+
if server_address != nil
|
5623
|
+
@server_address = server_address
|
5624
|
+
end
|
5625
|
+
if tags != nil
|
5626
|
+
@tags = tags
|
5627
|
+
end
|
5628
|
+
end
|
5629
|
+
|
5630
|
+
def to_json(options = {})
|
5631
|
+
hash = {}
|
5632
|
+
self.instance_variables.each do |var|
|
5633
|
+
hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
|
5634
|
+
end
|
5635
|
+
hash.to_json
|
5636
|
+
end
|
5637
|
+
end
|
5638
|
+
|
5639
|
+
# SecretStoreCreateResponse reports how the SecretStores were created in the system.
|
5640
|
+
class SecretStoreCreateResponse
|
5641
|
+
# Reserved for future use.
|
5642
|
+
attr_accessor :meta
|
5643
|
+
# The created SecretStore.
|
5644
|
+
attr_accessor :secret_store
|
5645
|
+
# Rate limit information.
|
5646
|
+
attr_accessor :rate_limit
|
5647
|
+
|
5648
|
+
def initialize(
|
5649
|
+
meta: nil,
|
5650
|
+
secret_store: nil,
|
5651
|
+
rate_limit: nil
|
5652
|
+
)
|
5653
|
+
if meta != nil
|
5654
|
+
@meta = meta
|
5655
|
+
end
|
5656
|
+
if secret_store != nil
|
5657
|
+
@secret_store = secret_store
|
5658
|
+
end
|
5659
|
+
if rate_limit != nil
|
5660
|
+
@rate_limit = rate_limit
|
5661
|
+
end
|
5662
|
+
end
|
5663
|
+
|
5664
|
+
def to_json(options = {})
|
5665
|
+
hash = {}
|
5666
|
+
self.instance_variables.each do |var|
|
5667
|
+
hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
|
5668
|
+
end
|
5669
|
+
hash.to_json
|
5670
|
+
end
|
5671
|
+
end
|
5672
|
+
|
5673
|
+
# SecretStoreGetResponse returns a requested SecretStore.
|
5674
|
+
class SecretStoreGetResponse
|
5675
|
+
# Reserved for future use.
|
5676
|
+
attr_accessor :meta
|
5677
|
+
# The requested SecretStore.
|
5678
|
+
attr_accessor :secret_store
|
5679
|
+
# Rate limit information.
|
5680
|
+
attr_accessor :rate_limit
|
5681
|
+
|
5682
|
+
def initialize(
|
5683
|
+
meta: nil,
|
5684
|
+
secret_store: nil,
|
5685
|
+
rate_limit: nil
|
5686
|
+
)
|
5687
|
+
if meta != nil
|
5688
|
+
@meta = meta
|
5689
|
+
end
|
5690
|
+
if secret_store != nil
|
5691
|
+
@secret_store = secret_store
|
5692
|
+
end
|
5693
|
+
if rate_limit != nil
|
5694
|
+
@rate_limit = rate_limit
|
5695
|
+
end
|
5696
|
+
end
|
5697
|
+
|
5698
|
+
def to_json(options = {})
|
5699
|
+
hash = {}
|
5700
|
+
self.instance_variables.each do |var|
|
5701
|
+
hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
|
5702
|
+
end
|
5703
|
+
hash.to_json
|
5704
|
+
end
|
5705
|
+
end
|
5706
|
+
|
5707
|
+
# SecretStoreUpdateResponse returns the fields of a SecretStore after it has been updated by
|
5708
|
+
# a SecretStoreUpdateRequest.
|
5709
|
+
class SecretStoreUpdateResponse
|
5710
|
+
# Reserved for future use.
|
5711
|
+
attr_accessor :meta
|
5712
|
+
# The updated SecretStore.
|
5713
|
+
attr_accessor :secret_store
|
5714
|
+
# Rate limit information.
|
5715
|
+
attr_accessor :rate_limit
|
5716
|
+
|
5717
|
+
def initialize(
|
5718
|
+
meta: nil,
|
5719
|
+
secret_store: nil,
|
5720
|
+
rate_limit: nil
|
5721
|
+
)
|
5722
|
+
if meta != nil
|
5723
|
+
@meta = meta
|
5724
|
+
end
|
5725
|
+
if secret_store != nil
|
5726
|
+
@secret_store = secret_store
|
5727
|
+
end
|
5728
|
+
if rate_limit != nil
|
5729
|
+
@rate_limit = rate_limit
|
5730
|
+
end
|
5731
|
+
end
|
5732
|
+
|
5733
|
+
def to_json(options = {})
|
5734
|
+
hash = {}
|
5735
|
+
self.instance_variables.each do |var|
|
5736
|
+
hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
|
5737
|
+
end
|
5738
|
+
hash.to_json
|
5739
|
+
end
|
5740
|
+
end
|
5741
|
+
|
5742
|
+
# SecretStoreDeleteResponse returns information about a SecretStore that was deleted.
|
5743
|
+
class SecretStoreDeleteResponse
|
5744
|
+
# Reserved for future use.
|
5745
|
+
attr_accessor :meta
|
5746
|
+
# Rate limit information.
|
5747
|
+
attr_accessor :rate_limit
|
5748
|
+
|
5749
|
+
def initialize(
|
5750
|
+
meta: nil,
|
5751
|
+
rate_limit: nil
|
5752
|
+
)
|
5753
|
+
if meta != nil
|
5754
|
+
@meta = meta
|
5755
|
+
end
|
5756
|
+
if rate_limit != nil
|
5757
|
+
@rate_limit = rate_limit
|
5758
|
+
end
|
5759
|
+
end
|
5760
|
+
|
5761
|
+
def to_json(options = {})
|
5762
|
+
hash = {}
|
5763
|
+
self.instance_variables.each do |var|
|
5764
|
+
hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
|
5765
|
+
end
|
5766
|
+
hash.to_json
|
5767
|
+
end
|
5768
|
+
end
|
5038
5769
|
end
|