strongdm 1.0.12 → 1.0.17
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/{DB2.html → AWS.html} +46 -46
- 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 +37 -6
- data/doc/SDM/Clustrix.html +21 -3
- data/doc/SDM/Cockroach.html +21 -3
- data/doc/SDM/ControlPanel.html +236 -0
- data/doc/SDM/ControlPanelGetSSHCAPublicKeyResponse.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 +3126 -1160
- 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 +325 -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/ControlPanel.html +113 -0
- data/doc/V1/ControlPanel/Service.html +119 -0
- data/doc/V1/DemoProvisioningRequests.html +113 -0
- data/doc/V1/DemoProvisioningRequests/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 +52 -35
- data/doc/index.html +52 -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/table_of_contents.html +989 -494
- data/lib/grpc/account_attachments_pb.rb +0 -2
- data/lib/grpc/account_attachments_services_pb.rb +4 -4
- data/lib/grpc/account_grants_pb.rb +0 -2
- data/lib/grpc/account_grants_services_pb.rb +4 -4
- data/lib/grpc/accounts_pb.rb +0 -2
- data/lib/grpc/accounts_services_pb.rb +5 -5
- data/lib/grpc/control_panel_pb.rb +38 -0
- data/lib/grpc/control_panel_services_pb.rb +37 -0
- data/lib/grpc/demo_provisioning_requests_pb.rb +93 -0
- data/lib/grpc/demo_provisioning_requests_services_pb.rb +49 -0
- data/lib/grpc/drivers_pb.rb +69 -1
- data/lib/grpc/nodes_pb.rb +0 -2
- data/lib/grpc/nodes_services_pb.rb +5 -5
- data/lib/grpc/options_pb.rb +18 -0
- data/lib/grpc/plumbing.rb +571 -1
- data/lib/grpc/resources_pb.rb +12 -1
- data/lib/grpc/resources_services_pb.rb +7 -5
- data/lib/grpc/role_attachments_pb.rb +0 -2
- data/lib/grpc/role_attachments_services_pb.rb +4 -4
- data/lib/grpc/role_grants_pb.rb +0 -2
- data/lib/grpc/role_grants_services_pb.rb +4 -4
- data/lib/grpc/roles_pb.rb +0 -2
- data/lib/grpc/roles_services_pb.rb +5 -5
- 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 +6 -0
- data/lib/grpc/tags_pb.rb +5 -0
- data/lib/models/porcelain.rb +736 -3
- data/lib/strongdm.rb +11 -2
- data/lib/svc.rb +254 -0
- data/lib/version +1 -1
- data/lib/version.rb +1 -1
- metadata +39 -4
- 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,16 +27,18 @@ 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, ::V1::EnumerateTagsRequest, ::V1::EnumerateTagsResponse
|
30
32
|
# Create registers a new Resource.
|
31
|
-
rpc :Create, ResourceCreateRequest, ResourceCreateResponse
|
33
|
+
rpc :Create, ::V1::ResourceCreateRequest, ::V1::ResourceCreateResponse
|
32
34
|
# Get reads one Resource by ID.
|
33
|
-
rpc :Get, ResourceGetRequest, ResourceGetResponse
|
35
|
+
rpc :Get, ::V1::ResourceGetRequest, ::V1::ResourceGetResponse
|
34
36
|
# Update patches a Resource by ID.
|
35
|
-
rpc :Update, ResourceUpdateRequest, ResourceUpdateResponse
|
37
|
+
rpc :Update, ::V1::ResourceUpdateRequest, ::V1::ResourceUpdateResponse
|
36
38
|
# Delete removes a Resource by ID.
|
37
|
-
rpc :Delete, ResourceDeleteRequest, ResourceDeleteResponse
|
39
|
+
rpc :Delete, ::V1::ResourceDeleteRequest, ::V1::ResourceDeleteResponse
|
38
40
|
# List gets a list of Resources matching a given set of criteria.
|
39
|
-
rpc :List, ResourceListRequest, ResourceListResponse
|
41
|
+
rpc :List, ::V1::ResourceListRequest, ::V1::ResourceListResponse
|
40
42
|
end
|
41
43
|
|
42
44
|
Stub = Service.rpc_stub_class
|
@@ -32,13 +32,13 @@ module V1
|
|
32
32
|
self.service_name = "v1.RoleAttachments"
|
33
33
|
|
34
34
|
# Create registers a new RoleAttachment.
|
35
|
-
rpc :Create, RoleAttachmentCreateRequest, RoleAttachmentCreateResponse
|
35
|
+
rpc :Create, ::V1::RoleAttachmentCreateRequest, ::V1::RoleAttachmentCreateResponse
|
36
36
|
# Get reads one RoleAttachment by ID.
|
37
|
-
rpc :Get, RoleAttachmentGetRequest, RoleAttachmentGetResponse
|
37
|
+
rpc :Get, ::V1::RoleAttachmentGetRequest, ::V1::RoleAttachmentGetResponse
|
38
38
|
# Delete removes a RoleAttachment by ID.
|
39
|
-
rpc :Delete, RoleAttachmentDeleteRequest, RoleAttachmentDeleteResponse
|
39
|
+
rpc :Delete, ::V1::RoleAttachmentDeleteRequest, ::V1::RoleAttachmentDeleteResponse
|
40
40
|
# List gets a list of RoleAttachments matching a given set of criteria.
|
41
|
-
rpc :List, RoleAttachmentListRequest, RoleAttachmentListResponse
|
41
|
+
rpc :List, ::V1::RoleAttachmentListRequest, ::V1::RoleAttachmentListResponse
|
42
42
|
end
|
43
43
|
|
44
44
|
Stub = Service.rpc_stub_class
|
data/lib/grpc/role_grants_pb.rb
CHANGED
@@ -32,13 +32,13 @@ module V1
|
|
32
32
|
self.service_name = "v1.RoleGrants"
|
33
33
|
|
34
34
|
# Create registers a new RoleGrant.
|
35
|
-
rpc :Create, RoleGrantCreateRequest, RoleGrantCreateResponse
|
35
|
+
rpc :Create, ::V1::RoleGrantCreateRequest, ::V1::RoleGrantCreateResponse
|
36
36
|
# Get reads one RoleGrant by ID.
|
37
|
-
rpc :Get, RoleGrantGetRequest, RoleGrantGetResponse
|
37
|
+
rpc :Get, ::V1::RoleGrantGetRequest, ::V1::RoleGrantGetResponse
|
38
38
|
# Delete removes a RoleGrant by ID.
|
39
|
-
rpc :Delete, RoleGrantDeleteRequest, RoleGrantDeleteResponse
|
39
|
+
rpc :Delete, ::V1::RoleGrantDeleteRequest, ::V1::RoleGrantDeleteResponse
|
40
40
|
# List gets a list of RoleGrants matching a given set of criteria.
|
41
|
-
rpc :List, RoleGrantListRequest, RoleGrantListResponse
|
41
|
+
rpc :List, ::V1::RoleGrantListRequest, ::V1::RoleGrantListResponse
|
42
42
|
end
|
43
43
|
|
44
44
|
Stub = Service.rpc_stub_class
|
data/lib/grpc/roles_pb.rb
CHANGED
@@ -33,15 +33,15 @@ module V1
|
|
33
33
|
self.service_name = "v1.Roles"
|
34
34
|
|
35
35
|
# Create registers a new Role.
|
36
|
-
rpc :Create, RoleCreateRequest, RoleCreateResponse
|
36
|
+
rpc :Create, ::V1::RoleCreateRequest, ::V1::RoleCreateResponse
|
37
37
|
# Get reads one Role by ID.
|
38
|
-
rpc :Get, RoleGetRequest, RoleGetResponse
|
38
|
+
rpc :Get, ::V1::RoleGetRequest, ::V1::RoleGetResponse
|
39
39
|
# Update patches a Role by ID.
|
40
|
-
rpc :Update, RoleUpdateRequest, RoleUpdateResponse
|
40
|
+
rpc :Update, ::V1::RoleUpdateRequest, ::V1::RoleUpdateResponse
|
41
41
|
# Delete removes a Role by ID.
|
42
|
-
rpc :Delete, RoleDeleteRequest, RoleDeleteResponse
|
42
|
+
rpc :Delete, ::V1::RoleDeleteRequest, ::V1::RoleDeleteResponse
|
43
43
|
# List gets a list of Roles matching a given set of criteria.
|
44
|
-
rpc :List, RoleListRequest, RoleListResponse
|
44
|
+
rpc :List, ::V1::RoleListRequest, ::V1::RoleListResponse
|
45
45
|
end
|
46
46
|
|
47
47
|
Stub = Service.rpc_stub_class
|
@@ -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, ::V1::SecretStoreCreateRequest, ::V1::SecretStoreCreateResponse
|
32
|
+
# Get reads one SecretStore by ID.
|
33
|
+
rpc :Get, ::V1::SecretStoreGetRequest, ::V1::SecretStoreGetResponse
|
34
|
+
# Update patches a SecretStore by ID.
|
35
|
+
rpc :Update, ::V1::SecretStoreUpdateRequest, ::V1::SecretStoreUpdateResponse
|
36
|
+
# Delete removes a SecretStore by ID.
|
37
|
+
rpc :Delete, ::V1::SecretStoreDeleteRequest, ::V1::SecretStoreDeleteResponse
|
38
|
+
# List gets a list of SecretStores matching a given set of criteria.
|
39
|
+
rpc :List, ::V1::SecretStoreListRequest, ::V1::SecretStoreListResponse
|
40
|
+
end
|
41
|
+
|
42
|
+
Stub = Service.rpc_stub_class
|
43
|
+
end
|
44
|
+
end
|
data/lib/grpc/spec_pb.rb
CHANGED
@@ -69,6 +69,10 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
69
69
|
optional :reset_at, :message, 3, "google.protobuf.Timestamp"
|
70
70
|
optional :bucket, :string, 4
|
71
71
|
end
|
72
|
+
add_message "v1.GenericRequestMetadata" do
|
73
|
+
end
|
74
|
+
add_message "v1.GenericResponseMetadata" do
|
75
|
+
end
|
72
76
|
end
|
73
77
|
end
|
74
78
|
|
@@ -91,4 +95,6 @@ module V1
|
|
91
95
|
ListRequestMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ListRequestMetadata").msgclass
|
92
96
|
ListResponseMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ListResponseMetadata").msgclass
|
93
97
|
RateLimitMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.RateLimitMetadata").msgclass
|
98
|
+
GenericRequestMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.GenericRequestMetadata").msgclass
|
99
|
+
GenericResponseMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.GenericResponseMetadata").msgclass
|
94
100
|
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.
|
@@ -621,6 +647,42 @@ module SDM
|
|
621
647
|
end
|
622
648
|
end
|
623
649
|
|
650
|
+
# ControlPanelGetSSHCAPublicKeyResponse represents a request for an
|
651
|
+
# organization's SSH Certificate Authority public key.
|
652
|
+
class ControlPanelGetSSHCAPublicKeyResponse
|
653
|
+
# Reserved for future use.
|
654
|
+
attr_accessor :meta
|
655
|
+
# The public key of the SSH Certificate Authority, in OpenSSH RSA public
|
656
|
+
# key format.
|
657
|
+
attr_accessor :public_key
|
658
|
+
# Rate limit information.
|
659
|
+
attr_accessor :rate_limit
|
660
|
+
|
661
|
+
def initialize(
|
662
|
+
meta: nil,
|
663
|
+
public_key: nil,
|
664
|
+
rate_limit: nil
|
665
|
+
)
|
666
|
+
if meta != nil
|
667
|
+
@meta = meta
|
668
|
+
end
|
669
|
+
if public_key != nil
|
670
|
+
@public_key = public_key
|
671
|
+
end
|
672
|
+
if rate_limit != nil
|
673
|
+
@rate_limit = rate_limit
|
674
|
+
end
|
675
|
+
end
|
676
|
+
|
677
|
+
def to_json(options = {})
|
678
|
+
hash = {}
|
679
|
+
self.instance_variables.each do |var|
|
680
|
+
hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
|
681
|
+
end
|
682
|
+
hash.to_json
|
683
|
+
end
|
684
|
+
end
|
685
|
+
|
624
686
|
class Athena
|
625
687
|
# Unique identifier of the Resource.
|
626
688
|
attr_accessor :id
|
@@ -630,6 +692,8 @@ module SDM
|
|
630
692
|
attr_accessor :healthy
|
631
693
|
# Tags is a map of key, value pairs.
|
632
694
|
attr_accessor :tags
|
695
|
+
# ID of the secret store containing credentials for this resource, if any.
|
696
|
+
attr_accessor :secret_store_id
|
633
697
|
|
634
698
|
attr_accessor :access_key
|
635
699
|
|
@@ -641,16 +705,23 @@ module SDM
|
|
641
705
|
|
642
706
|
attr_accessor :region
|
643
707
|
|
708
|
+
attr_accessor :role_arn
|
709
|
+
|
710
|
+
attr_accessor :role_external_id
|
711
|
+
|
644
712
|
def initialize(
|
645
713
|
id: nil,
|
646
714
|
name: nil,
|
647
715
|
healthy: nil,
|
648
716
|
tags: nil,
|
717
|
+
secret_store_id: nil,
|
649
718
|
access_key: nil,
|
650
719
|
secret_access_key: nil,
|
651
720
|
output: nil,
|
652
721
|
port_override: nil,
|
653
|
-
region: nil
|
722
|
+
region: nil,
|
723
|
+
role_arn: nil,
|
724
|
+
role_external_id: nil
|
654
725
|
)
|
655
726
|
if id != nil
|
656
727
|
@id = id
|
@@ -664,6 +735,9 @@ module SDM
|
|
664
735
|
if tags != nil
|
665
736
|
@tags = tags
|
666
737
|
end
|
738
|
+
if secret_store_id != nil
|
739
|
+
@secret_store_id = secret_store_id
|
740
|
+
end
|
667
741
|
if access_key != nil
|
668
742
|
@access_key = access_key
|
669
743
|
end
|
@@ -679,6 +753,87 @@ module SDM
|
|
679
753
|
if region != nil
|
680
754
|
@region = region
|
681
755
|
end
|
756
|
+
if role_arn != nil
|
757
|
+
@role_arn = role_arn
|
758
|
+
end
|
759
|
+
if role_external_id != nil
|
760
|
+
@role_external_id = role_external_id
|
761
|
+
end
|
762
|
+
end
|
763
|
+
|
764
|
+
def to_json(options = {})
|
765
|
+
hash = {}
|
766
|
+
self.instance_variables.each do |var|
|
767
|
+
hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
|
768
|
+
end
|
769
|
+
hash.to_json
|
770
|
+
end
|
771
|
+
end
|
772
|
+
|
773
|
+
class AWS
|
774
|
+
# Unique identifier of the Resource.
|
775
|
+
attr_accessor :id
|
776
|
+
# Unique human-readable name of the Resource.
|
777
|
+
attr_accessor :name
|
778
|
+
# True if the datasource is reachable and the credentials are valid.
|
779
|
+
attr_accessor :healthy
|
780
|
+
# Tags is a map of key, value pairs.
|
781
|
+
attr_accessor :tags
|
782
|
+
# ID of the secret store containing credentials for this resource, if any.
|
783
|
+
attr_accessor :secret_store_id
|
784
|
+
|
785
|
+
attr_accessor :access_key
|
786
|
+
|
787
|
+
attr_accessor :secret_access_key
|
788
|
+
|
789
|
+
attr_accessor :healthcheck_region
|
790
|
+
|
791
|
+
attr_accessor :role_arn
|
792
|
+
|
793
|
+
attr_accessor :role_external_id
|
794
|
+
|
795
|
+
def initialize(
|
796
|
+
id: nil,
|
797
|
+
name: nil,
|
798
|
+
healthy: nil,
|
799
|
+
tags: nil,
|
800
|
+
secret_store_id: nil,
|
801
|
+
access_key: nil,
|
802
|
+
secret_access_key: nil,
|
803
|
+
healthcheck_region: nil,
|
804
|
+
role_arn: nil,
|
805
|
+
role_external_id: nil
|
806
|
+
)
|
807
|
+
if id != nil
|
808
|
+
@id = id
|
809
|
+
end
|
810
|
+
if name != nil
|
811
|
+
@name = name
|
812
|
+
end
|
813
|
+
if healthy != nil
|
814
|
+
@healthy = healthy
|
815
|
+
end
|
816
|
+
if tags != nil
|
817
|
+
@tags = tags
|
818
|
+
end
|
819
|
+
if secret_store_id != nil
|
820
|
+
@secret_store_id = secret_store_id
|
821
|
+
end
|
822
|
+
if access_key != nil
|
823
|
+
@access_key = access_key
|
824
|
+
end
|
825
|
+
if secret_access_key != nil
|
826
|
+
@secret_access_key = secret_access_key
|
827
|
+
end
|
828
|
+
if healthcheck_region != nil
|
829
|
+
@healthcheck_region = healthcheck_region
|
830
|
+
end
|
831
|
+
if role_arn != nil
|
832
|
+
@role_arn = role_arn
|
833
|
+
end
|
834
|
+
if role_external_id != nil
|
835
|
+
@role_external_id = role_external_id
|
836
|
+
end
|
682
837
|
end
|
683
838
|
|
684
839
|
def to_json(options = {})
|
@@ -699,6 +854,8 @@ module SDM
|
|
699
854
|
attr_accessor :healthy
|
700
855
|
# Tags is a map of key, value pairs.
|
701
856
|
attr_accessor :tags
|
857
|
+
# ID of the secret store containing credentials for this resource, if any.
|
858
|
+
attr_accessor :secret_store_id
|
702
859
|
|
703
860
|
attr_accessor :private_key
|
704
861
|
|
@@ -715,6 +872,7 @@ module SDM
|
|
715
872
|
name: nil,
|
716
873
|
healthy: nil,
|
717
874
|
tags: nil,
|
875
|
+
secret_store_id: nil,
|
718
876
|
private_key: nil,
|
719
877
|
project: nil,
|
720
878
|
port_override: nil,
|
@@ -733,6 +891,9 @@ module SDM
|
|
733
891
|
if tags != nil
|
734
892
|
@tags = tags
|
735
893
|
end
|
894
|
+
if secret_store_id != nil
|
895
|
+
@secret_store_id = secret_store_id
|
896
|
+
end
|
736
897
|
if private_key != nil
|
737
898
|
@private_key = private_key
|
738
899
|
end
|
@@ -768,6 +929,8 @@ module SDM
|
|
768
929
|
attr_accessor :healthy
|
769
930
|
# Tags is a map of key, value pairs.
|
770
931
|
attr_accessor :tags
|
932
|
+
# ID of the secret store containing credentials for this resource, if any.
|
933
|
+
attr_accessor :secret_store_id
|
771
934
|
|
772
935
|
attr_accessor :hostname
|
773
936
|
|
@@ -786,6 +949,7 @@ module SDM
|
|
786
949
|
name: nil,
|
787
950
|
healthy: nil,
|
788
951
|
tags: nil,
|
952
|
+
secret_store_id: nil,
|
789
953
|
hostname: nil,
|
790
954
|
username: nil,
|
791
955
|
password: nil,
|
@@ -805,6 +969,9 @@ module SDM
|
|
805
969
|
if tags != nil
|
806
970
|
@tags = tags
|
807
971
|
end
|
972
|
+
if secret_store_id != nil
|
973
|
+
@secret_store_id = secret_store_id
|
974
|
+
end
|
808
975
|
if hostname != nil
|
809
976
|
@hostname = hostname
|
810
977
|
end
|
@@ -843,6 +1010,8 @@ module SDM
|
|
843
1010
|
attr_accessor :healthy
|
844
1011
|
# Tags is a map of key, value pairs.
|
845
1012
|
attr_accessor :tags
|
1013
|
+
# ID of the secret store containing credentials for this resource, if any.
|
1014
|
+
attr_accessor :secret_store_id
|
846
1015
|
|
847
1016
|
attr_accessor :hostname
|
848
1017
|
|
@@ -861,6 +1030,7 @@ module SDM
|
|
861
1030
|
name: nil,
|
862
1031
|
healthy: nil,
|
863
1032
|
tags: nil,
|
1033
|
+
secret_store_id: nil,
|
864
1034
|
hostname: nil,
|
865
1035
|
username: nil,
|
866
1036
|
password: nil,
|
@@ -880,6 +1050,9 @@ module SDM
|
|
880
1050
|
if tags != nil
|
881
1051
|
@tags = tags
|
882
1052
|
end
|
1053
|
+
if secret_store_id != nil
|
1054
|
+
@secret_store_id = secret_store_id
|
1055
|
+
end
|
883
1056
|
if hostname != nil
|
884
1057
|
@hostname = hostname
|
885
1058
|
end
|
@@ -918,6 +1091,8 @@ module SDM
|
|
918
1091
|
attr_accessor :healthy
|
919
1092
|
# Tags is a map of key, value pairs.
|
920
1093
|
attr_accessor :tags
|
1094
|
+
# ID of the secret store containing credentials for this resource, if any.
|
1095
|
+
attr_accessor :secret_store_id
|
921
1096
|
|
922
1097
|
attr_accessor :hostname
|
923
1098
|
|
@@ -936,6 +1111,7 @@ module SDM
|
|
936
1111
|
name: nil,
|
937
1112
|
healthy: nil,
|
938
1113
|
tags: nil,
|
1114
|
+
secret_store_id: nil,
|
939
1115
|
hostname: nil,
|
940
1116
|
username: nil,
|
941
1117
|
password: nil,
|
@@ -955,6 +1131,9 @@ module SDM
|
|
955
1131
|
if tags != nil
|
956
1132
|
@tags = tags
|
957
1133
|
end
|
1134
|
+
if secret_store_id != nil
|
1135
|
+
@secret_store_id = secret_store_id
|
1136
|
+
end
|
958
1137
|
if hostname != nil
|
959
1138
|
@hostname = hostname
|
960
1139
|
end
|
@@ -993,6 +1172,8 @@ module SDM
|
|
993
1172
|
attr_accessor :healthy
|
994
1173
|
# Tags is a map of key, value pairs.
|
995
1174
|
attr_accessor :tags
|
1175
|
+
# ID of the secret store containing credentials for this resource, if any.
|
1176
|
+
attr_accessor :secret_store_id
|
996
1177
|
|
997
1178
|
attr_accessor :hostname
|
998
1179
|
|
@@ -1009,6 +1190,7 @@ module SDM
|
|
1009
1190
|
name: nil,
|
1010
1191
|
healthy: nil,
|
1011
1192
|
tags: nil,
|
1193
|
+
secret_store_id: nil,
|
1012
1194
|
hostname: nil,
|
1013
1195
|
port_override: nil,
|
1014
1196
|
username: nil,
|
@@ -1027,6 +1209,9 @@ module SDM
|
|
1027
1209
|
if tags != nil
|
1028
1210
|
@tags = tags
|
1029
1211
|
end
|
1212
|
+
if secret_store_id != nil
|
1213
|
+
@secret_store_id = secret_store_id
|
1214
|
+
end
|
1030
1215
|
if hostname != nil
|
1031
1216
|
@hostname = hostname
|
1032
1217
|
end
|
@@ -1062,6 +1247,8 @@ module SDM
|
|
1062
1247
|
attr_accessor :healthy
|
1063
1248
|
# Tags is a map of key, value pairs.
|
1064
1249
|
attr_accessor :tags
|
1250
|
+
# ID of the secret store containing credentials for this resource, if any.
|
1251
|
+
attr_accessor :secret_store_id
|
1065
1252
|
|
1066
1253
|
attr_accessor :access_key
|
1067
1254
|
|
@@ -1073,16 +1260,23 @@ module SDM
|
|
1073
1260
|
|
1074
1261
|
attr_accessor :port_override
|
1075
1262
|
|
1263
|
+
attr_accessor :role_arn
|
1264
|
+
|
1265
|
+
attr_accessor :role_external_id
|
1266
|
+
|
1076
1267
|
def initialize(
|
1077
1268
|
id: nil,
|
1078
1269
|
name: nil,
|
1079
1270
|
healthy: nil,
|
1080
1271
|
tags: nil,
|
1272
|
+
secret_store_id: nil,
|
1081
1273
|
access_key: nil,
|
1082
1274
|
secret_access_key: nil,
|
1083
1275
|
region: nil,
|
1084
1276
|
endpoint: nil,
|
1085
|
-
port_override: nil
|
1277
|
+
port_override: nil,
|
1278
|
+
role_arn: nil,
|
1279
|
+
role_external_id: nil
|
1086
1280
|
)
|
1087
1281
|
if id != nil
|
1088
1282
|
@id = id
|
@@ -1096,6 +1290,9 @@ module SDM
|
|
1096
1290
|
if tags != nil
|
1097
1291
|
@tags = tags
|
1098
1292
|
end
|
1293
|
+
if secret_store_id != nil
|
1294
|
+
@secret_store_id = secret_store_id
|
1295
|
+
end
|
1099
1296
|
if access_key != nil
|
1100
1297
|
@access_key = access_key
|
1101
1298
|
end
|
@@ -1111,6 +1308,12 @@ module SDM
|
|
1111
1308
|
if port_override != nil
|
1112
1309
|
@port_override = port_override
|
1113
1310
|
end
|
1311
|
+
if role_arn != nil
|
1312
|
+
@role_arn = role_arn
|
1313
|
+
end
|
1314
|
+
if role_external_id != nil
|
1315
|
+
@role_external_id = role_external_id
|
1316
|
+
end
|
1114
1317
|
end
|
1115
1318
|
|
1116
1319
|
def to_json(options = {})
|
@@ -1131,6 +1334,8 @@ module SDM
|
|
1131
1334
|
attr_accessor :healthy
|
1132
1335
|
# Tags is a map of key, value pairs.
|
1133
1336
|
attr_accessor :tags
|
1337
|
+
# ID of the secret store containing credentials for this resource, if any.
|
1338
|
+
attr_accessor :secret_store_id
|
1134
1339
|
|
1135
1340
|
attr_accessor :region
|
1136
1341
|
|
@@ -1142,16 +1347,23 @@ module SDM
|
|
1142
1347
|
|
1143
1348
|
attr_accessor :port_override
|
1144
1349
|
|
1350
|
+
attr_accessor :role_arn
|
1351
|
+
|
1352
|
+
attr_accessor :role_external_id
|
1353
|
+
|
1145
1354
|
def initialize(
|
1146
1355
|
id: nil,
|
1147
1356
|
name: nil,
|
1148
1357
|
healthy: nil,
|
1149
1358
|
tags: nil,
|
1359
|
+
secret_store_id: nil,
|
1150
1360
|
region: nil,
|
1151
1361
|
secret_access_key: nil,
|
1152
1362
|
endpoint: nil,
|
1153
1363
|
access_key: nil,
|
1154
|
-
port_override: nil
|
1364
|
+
port_override: nil,
|
1365
|
+
role_arn: nil,
|
1366
|
+
role_external_id: nil
|
1155
1367
|
)
|
1156
1368
|
if id != nil
|
1157
1369
|
@id = id
|
@@ -1165,6 +1377,9 @@ module SDM
|
|
1165
1377
|
if tags != nil
|
1166
1378
|
@tags = tags
|
1167
1379
|
end
|
1380
|
+
if secret_store_id != nil
|
1381
|
+
@secret_store_id = secret_store_id
|
1382
|
+
end
|
1168
1383
|
if region != nil
|
1169
1384
|
@region = region
|
1170
1385
|
end
|
@@ -1180,6 +1395,12 @@ module SDM
|
|
1180
1395
|
if port_override != nil
|
1181
1396
|
@port_override = port_override
|
1182
1397
|
end
|
1398
|
+
if role_arn != nil
|
1399
|
+
@role_arn = role_arn
|
1400
|
+
end
|
1401
|
+
if role_external_id != nil
|
1402
|
+
@role_external_id = role_external_id
|
1403
|
+
end
|
1183
1404
|
end
|
1184
1405
|
|
1185
1406
|
def to_json(options = {})
|
@@ -1200,6 +1421,8 @@ module SDM
|
|
1200
1421
|
attr_accessor :healthy
|
1201
1422
|
# Tags is a map of key, value pairs.
|
1202
1423
|
attr_accessor :tags
|
1424
|
+
# ID of the secret store containing credentials for this resource, if any.
|
1425
|
+
attr_accessor :secret_store_id
|
1203
1426
|
|
1204
1427
|
attr_accessor :hostname
|
1205
1428
|
|
@@ -1218,6 +1441,7 @@ module SDM
|
|
1218
1441
|
name: nil,
|
1219
1442
|
healthy: nil,
|
1220
1443
|
tags: nil,
|
1444
|
+
secret_store_id: nil,
|
1221
1445
|
hostname: nil,
|
1222
1446
|
username: nil,
|
1223
1447
|
password: nil,
|
@@ -1237,6 +1461,9 @@ module SDM
|
|
1237
1461
|
if tags != nil
|
1238
1462
|
@tags = tags
|
1239
1463
|
end
|
1464
|
+
if secret_store_id != nil
|
1465
|
+
@secret_store_id = secret_store_id
|
1466
|
+
end
|
1240
1467
|
if hostname != nil
|
1241
1468
|
@hostname = hostname
|
1242
1469
|
end
|
@@ -1275,6 +1502,8 @@ module SDM
|
|
1275
1502
|
attr_accessor :healthy
|
1276
1503
|
# Tags is a map of key, value pairs.
|
1277
1504
|
attr_accessor :tags
|
1505
|
+
# ID of the secret store containing credentials for this resource, if any.
|
1506
|
+
attr_accessor :secret_store_id
|
1278
1507
|
|
1279
1508
|
attr_accessor :url
|
1280
1509
|
|
@@ -1295,6 +1524,7 @@ module SDM
|
|
1295
1524
|
name: nil,
|
1296
1525
|
healthy: nil,
|
1297
1526
|
tags: nil,
|
1527
|
+
secret_store_id: nil,
|
1298
1528
|
url: nil,
|
1299
1529
|
healthcheck_path: nil,
|
1300
1530
|
username: nil,
|
@@ -1315,6 +1545,9 @@ module SDM
|
|
1315
1545
|
if tags != nil
|
1316
1546
|
@tags = tags
|
1317
1547
|
end
|
1548
|
+
if secret_store_id != nil
|
1549
|
+
@secret_store_id = secret_store_id
|
1550
|
+
end
|
1318
1551
|
if url != nil
|
1319
1552
|
@url = url
|
1320
1553
|
end
|
@@ -1356,6 +1589,8 @@ module SDM
|
|
1356
1589
|
attr_accessor :healthy
|
1357
1590
|
# Tags is a map of key, value pairs.
|
1358
1591
|
attr_accessor :tags
|
1592
|
+
# ID of the secret store containing credentials for this resource, if any.
|
1593
|
+
attr_accessor :secret_store_id
|
1359
1594
|
|
1360
1595
|
attr_accessor :url
|
1361
1596
|
|
@@ -1372,6 +1607,7 @@ module SDM
|
|
1372
1607
|
name: nil,
|
1373
1608
|
healthy: nil,
|
1374
1609
|
tags: nil,
|
1610
|
+
secret_store_id: nil,
|
1375
1611
|
url: nil,
|
1376
1612
|
healthcheck_path: nil,
|
1377
1613
|
headers_blacklist: nil,
|
@@ -1390,6 +1626,9 @@ module SDM
|
|
1390
1626
|
if tags != nil
|
1391
1627
|
@tags = tags
|
1392
1628
|
end
|
1629
|
+
if secret_store_id != nil
|
1630
|
+
@secret_store_id = secret_store_id
|
1631
|
+
end
|
1393
1632
|
if url != nil
|
1394
1633
|
@url = url
|
1395
1634
|
end
|
@@ -1425,6 +1664,8 @@ module SDM
|
|
1425
1664
|
attr_accessor :healthy
|
1426
1665
|
# Tags is a map of key, value pairs.
|
1427
1666
|
attr_accessor :tags
|
1667
|
+
# ID of the secret store containing credentials for this resource, if any.
|
1668
|
+
attr_accessor :secret_store_id
|
1428
1669
|
|
1429
1670
|
attr_accessor :url
|
1430
1671
|
|
@@ -1443,6 +1684,7 @@ module SDM
|
|
1443
1684
|
name: nil,
|
1444
1685
|
healthy: nil,
|
1445
1686
|
tags: nil,
|
1687
|
+
secret_store_id: nil,
|
1446
1688
|
url: nil,
|
1447
1689
|
healthcheck_path: nil,
|
1448
1690
|
auth_header: nil,
|
@@ -1462,6 +1704,9 @@ module SDM
|
|
1462
1704
|
if tags != nil
|
1463
1705
|
@tags = tags
|
1464
1706
|
end
|
1707
|
+
if secret_store_id != nil
|
1708
|
+
@secret_store_id = secret_store_id
|
1709
|
+
end
|
1465
1710
|
if url != nil
|
1466
1711
|
@url = url
|
1467
1712
|
end
|
@@ -1500,6 +1745,8 @@ module SDM
|
|
1500
1745
|
attr_accessor :healthy
|
1501
1746
|
# Tags is a map of key, value pairs.
|
1502
1747
|
attr_accessor :tags
|
1748
|
+
# ID of the secret store containing credentials for this resource, if any.
|
1749
|
+
attr_accessor :secret_store_id
|
1503
1750
|
|
1504
1751
|
attr_accessor :hostname
|
1505
1752
|
|
@@ -1518,6 +1765,7 @@ module SDM
|
|
1518
1765
|
name: nil,
|
1519
1766
|
healthy: nil,
|
1520
1767
|
tags: nil,
|
1768
|
+
secret_store_id: nil,
|
1521
1769
|
hostname: nil,
|
1522
1770
|
port: nil,
|
1523
1771
|
certificate_authority: nil,
|
@@ -1537,6 +1785,9 @@ module SDM
|
|
1537
1785
|
if tags != nil
|
1538
1786
|
@tags = tags
|
1539
1787
|
end
|
1788
|
+
if secret_store_id != nil
|
1789
|
+
@secret_store_id = secret_store_id
|
1790
|
+
end
|
1540
1791
|
if hostname != nil
|
1541
1792
|
@hostname = hostname
|
1542
1793
|
end
|
@@ -1575,6 +1826,8 @@ module SDM
|
|
1575
1826
|
attr_accessor :healthy
|
1576
1827
|
# Tags is a map of key, value pairs.
|
1577
1828
|
attr_accessor :tags
|
1829
|
+
# ID of the secret store containing credentials for this resource, if any.
|
1830
|
+
attr_accessor :secret_store_id
|
1578
1831
|
|
1579
1832
|
attr_accessor :hostname
|
1580
1833
|
|
@@ -1591,6 +1844,7 @@ module SDM
|
|
1591
1844
|
name: nil,
|
1592
1845
|
healthy: nil,
|
1593
1846
|
tags: nil,
|
1847
|
+
secret_store_id: nil,
|
1594
1848
|
hostname: nil,
|
1595
1849
|
port: nil,
|
1596
1850
|
username: nil,
|
@@ -1609,6 +1863,9 @@ module SDM
|
|
1609
1863
|
if tags != nil
|
1610
1864
|
@tags = tags
|
1611
1865
|
end
|
1866
|
+
if secret_store_id != nil
|
1867
|
+
@secret_store_id = secret_store_id
|
1868
|
+
end
|
1612
1869
|
if hostname != nil
|
1613
1870
|
@hostname = hostname
|
1614
1871
|
end
|
@@ -1644,6 +1901,8 @@ module SDM
|
|
1644
1901
|
attr_accessor :healthy
|
1645
1902
|
# Tags is a map of key, value pairs.
|
1646
1903
|
attr_accessor :tags
|
1904
|
+
# ID of the secret store containing credentials for this resource, if any.
|
1905
|
+
attr_accessor :secret_store_id
|
1647
1906
|
|
1648
1907
|
attr_accessor :hostname
|
1649
1908
|
|
@@ -1658,6 +1917,7 @@ module SDM
|
|
1658
1917
|
name: nil,
|
1659
1918
|
healthy: nil,
|
1660
1919
|
tags: nil,
|
1920
|
+
secret_store_id: nil,
|
1661
1921
|
hostname: nil,
|
1662
1922
|
port: nil,
|
1663
1923
|
token: nil,
|
@@ -1675,6 +1935,9 @@ module SDM
|
|
1675
1935
|
if tags != nil
|
1676
1936
|
@tags = tags
|
1677
1937
|
end
|
1938
|
+
if secret_store_id != nil
|
1939
|
+
@secret_store_id = secret_store_id
|
1940
|
+
end
|
1678
1941
|
if hostname != nil
|
1679
1942
|
@hostname = hostname
|
1680
1943
|
end
|
@@ -1707,6 +1970,8 @@ module SDM
|
|
1707
1970
|
attr_accessor :healthy
|
1708
1971
|
# Tags is a map of key, value pairs.
|
1709
1972
|
attr_accessor :tags
|
1973
|
+
# ID of the secret store containing credentials for this resource, if any.
|
1974
|
+
attr_accessor :secret_store_id
|
1710
1975
|
|
1711
1976
|
attr_accessor :endpoint
|
1712
1977
|
|
@@ -1722,6 +1987,8 @@ module SDM
|
|
1722
1987
|
|
1723
1988
|
attr_accessor :role_arn
|
1724
1989
|
|
1990
|
+
attr_accessor :role_external_id
|
1991
|
+
|
1725
1992
|
attr_accessor :healthcheck_namespace
|
1726
1993
|
|
1727
1994
|
def initialize(
|
@@ -1729,6 +1996,7 @@ module SDM
|
|
1729
1996
|
name: nil,
|
1730
1997
|
healthy: nil,
|
1731
1998
|
tags: nil,
|
1999
|
+
secret_store_id: nil,
|
1732
2000
|
endpoint: nil,
|
1733
2001
|
access_key: nil,
|
1734
2002
|
secret_access_key: nil,
|
@@ -1736,6 +2004,7 @@ module SDM
|
|
1736
2004
|
region: nil,
|
1737
2005
|
cluster_name: nil,
|
1738
2006
|
role_arn: nil,
|
2007
|
+
role_external_id: nil,
|
1739
2008
|
healthcheck_namespace: nil
|
1740
2009
|
)
|
1741
2010
|
if id != nil
|
@@ -1750,6 +2019,9 @@ module SDM
|
|
1750
2019
|
if tags != nil
|
1751
2020
|
@tags = tags
|
1752
2021
|
end
|
2022
|
+
if secret_store_id != nil
|
2023
|
+
@secret_store_id = secret_store_id
|
2024
|
+
end
|
1753
2025
|
if endpoint != nil
|
1754
2026
|
@endpoint = endpoint
|
1755
2027
|
end
|
@@ -1771,6 +2043,9 @@ module SDM
|
|
1771
2043
|
if role_arn != nil
|
1772
2044
|
@role_arn = role_arn
|
1773
2045
|
end
|
2046
|
+
if role_external_id != nil
|
2047
|
+
@role_external_id = role_external_id
|
2048
|
+
end
|
1774
2049
|
if healthcheck_namespace != nil
|
1775
2050
|
@healthcheck_namespace = healthcheck_namespace
|
1776
2051
|
end
|
@@ -1794,6 +2069,8 @@ module SDM
|
|
1794
2069
|
attr_accessor :healthy
|
1795
2070
|
# Tags is a map of key, value pairs.
|
1796
2071
|
attr_accessor :tags
|
2072
|
+
# ID of the secret store containing credentials for this resource, if any.
|
2073
|
+
attr_accessor :secret_store_id
|
1797
2074
|
|
1798
2075
|
attr_accessor :endpoint
|
1799
2076
|
|
@@ -1808,6 +2085,7 @@ module SDM
|
|
1808
2085
|
name: nil,
|
1809
2086
|
healthy: nil,
|
1810
2087
|
tags: nil,
|
2088
|
+
secret_store_id: nil,
|
1811
2089
|
endpoint: nil,
|
1812
2090
|
certificate_authority: nil,
|
1813
2091
|
service_account_key: nil,
|
@@ -1825,6 +2103,9 @@ module SDM
|
|
1825
2103
|
if tags != nil
|
1826
2104
|
@tags = tags
|
1827
2105
|
end
|
2106
|
+
if secret_store_id != nil
|
2107
|
+
@secret_store_id = secret_store_id
|
2108
|
+
end
|
1828
2109
|
if endpoint != nil
|
1829
2110
|
@endpoint = endpoint
|
1830
2111
|
end
|
@@ -1857,6 +2138,8 @@ module SDM
|
|
1857
2138
|
attr_accessor :healthy
|
1858
2139
|
# Tags is a map of key, value pairs.
|
1859
2140
|
attr_accessor :tags
|
2141
|
+
# ID of the secret store containing credentials for this resource, if any.
|
2142
|
+
attr_accessor :secret_store_id
|
1860
2143
|
|
1861
2144
|
attr_accessor :hostname
|
1862
2145
|
|
@@ -1875,6 +2158,7 @@ module SDM
|
|
1875
2158
|
name: nil,
|
1876
2159
|
healthy: nil,
|
1877
2160
|
tags: nil,
|
2161
|
+
secret_store_id: nil,
|
1878
2162
|
hostname: nil,
|
1879
2163
|
port: nil,
|
1880
2164
|
certificate_authority: nil,
|
@@ -1894,6 +2178,9 @@ module SDM
|
|
1894
2178
|
if tags != nil
|
1895
2179
|
@tags = tags
|
1896
2180
|
end
|
2181
|
+
if secret_store_id != nil
|
2182
|
+
@secret_store_id = secret_store_id
|
2183
|
+
end
|
1897
2184
|
if hostname != nil
|
1898
2185
|
@hostname = hostname
|
1899
2186
|
end
|
@@ -1932,6 +2219,8 @@ module SDM
|
|
1932
2219
|
attr_accessor :healthy
|
1933
2220
|
# Tags is a map of key, value pairs.
|
1934
2221
|
attr_accessor :tags
|
2222
|
+
# ID of the secret store containing credentials for this resource, if any.
|
2223
|
+
attr_accessor :secret_store_id
|
1935
2224
|
|
1936
2225
|
attr_accessor :hostname
|
1937
2226
|
|
@@ -1948,6 +2237,7 @@ module SDM
|
|
1948
2237
|
name: nil,
|
1949
2238
|
healthy: nil,
|
1950
2239
|
tags: nil,
|
2240
|
+
secret_store_id: nil,
|
1951
2241
|
hostname: nil,
|
1952
2242
|
port: nil,
|
1953
2243
|
username: nil,
|
@@ -1966,6 +2256,9 @@ module SDM
|
|
1966
2256
|
if tags != nil
|
1967
2257
|
@tags = tags
|
1968
2258
|
end
|
2259
|
+
if secret_store_id != nil
|
2260
|
+
@secret_store_id = secret_store_id
|
2261
|
+
end
|
1969
2262
|
if hostname != nil
|
1970
2263
|
@hostname = hostname
|
1971
2264
|
end
|
@@ -2001,6 +2294,8 @@ module SDM
|
|
2001
2294
|
attr_accessor :healthy
|
2002
2295
|
# Tags is a map of key, value pairs.
|
2003
2296
|
attr_accessor :tags
|
2297
|
+
# ID of the secret store containing credentials for this resource, if any.
|
2298
|
+
attr_accessor :secret_store_id
|
2004
2299
|
|
2005
2300
|
attr_accessor :hostname
|
2006
2301
|
|
@@ -2015,6 +2310,7 @@ module SDM
|
|
2015
2310
|
name: nil,
|
2016
2311
|
healthy: nil,
|
2017
2312
|
tags: nil,
|
2313
|
+
secret_store_id: nil,
|
2018
2314
|
hostname: nil,
|
2019
2315
|
port: nil,
|
2020
2316
|
token: nil,
|
@@ -2032,6 +2328,9 @@ module SDM
|
|
2032
2328
|
if tags != nil
|
2033
2329
|
@tags = tags
|
2034
2330
|
end
|
2331
|
+
if secret_store_id != nil
|
2332
|
+
@secret_store_id = secret_store_id
|
2333
|
+
end
|
2035
2334
|
if hostname != nil
|
2036
2335
|
@hostname = hostname
|
2037
2336
|
end
|
@@ -2064,6 +2363,8 @@ module SDM
|
|
2064
2363
|
attr_accessor :healthy
|
2065
2364
|
# Tags is a map of key, value pairs.
|
2066
2365
|
attr_accessor :tags
|
2366
|
+
# ID of the secret store containing credentials for this resource, if any.
|
2367
|
+
attr_accessor :secret_store_id
|
2067
2368
|
|
2068
2369
|
attr_accessor :hostname
|
2069
2370
|
|
@@ -2076,6 +2377,7 @@ module SDM
|
|
2076
2377
|
name: nil,
|
2077
2378
|
healthy: nil,
|
2078
2379
|
tags: nil,
|
2380
|
+
secret_store_id: nil,
|
2079
2381
|
hostname: nil,
|
2080
2382
|
port_override: nil,
|
2081
2383
|
port: nil
|
@@ -2092,6 +2394,9 @@ module SDM
|
|
2092
2394
|
if tags != nil
|
2093
2395
|
@tags = tags
|
2094
2396
|
end
|
2397
|
+
if secret_store_id != nil
|
2398
|
+
@secret_store_id = secret_store_id
|
2399
|
+
end
|
2095
2400
|
if hostname != nil
|
2096
2401
|
@hostname = hostname
|
2097
2402
|
end
|
@@ -2121,6 +2426,8 @@ module SDM
|
|
2121
2426
|
attr_accessor :healthy
|
2122
2427
|
# Tags is a map of key, value pairs.
|
2123
2428
|
attr_accessor :tags
|
2429
|
+
# ID of the secret store containing credentials for this resource, if any.
|
2430
|
+
attr_accessor :secret_store_id
|
2124
2431
|
|
2125
2432
|
attr_accessor :hostname
|
2126
2433
|
|
@@ -2143,6 +2450,7 @@ module SDM
|
|
2143
2450
|
name: nil,
|
2144
2451
|
healthy: nil,
|
2145
2452
|
tags: nil,
|
2453
|
+
secret_store_id: nil,
|
2146
2454
|
hostname: nil,
|
2147
2455
|
auth_database: nil,
|
2148
2456
|
port_override: nil,
|
@@ -2164,6 +2472,9 @@ module SDM
|
|
2164
2472
|
if tags != nil
|
2165
2473
|
@tags = tags
|
2166
2474
|
end
|
2475
|
+
if secret_store_id != nil
|
2476
|
+
@secret_store_id = secret_store_id
|
2477
|
+
end
|
2167
2478
|
if hostname != nil
|
2168
2479
|
@hostname = hostname
|
2169
2480
|
end
|
@@ -2208,6 +2519,8 @@ module SDM
|
|
2208
2519
|
attr_accessor :healthy
|
2209
2520
|
# Tags is a map of key, value pairs.
|
2210
2521
|
attr_accessor :tags
|
2522
|
+
# ID of the secret store containing credentials for this resource, if any.
|
2523
|
+
attr_accessor :secret_store_id
|
2211
2524
|
|
2212
2525
|
attr_accessor :hostname
|
2213
2526
|
|
@@ -2232,6 +2545,7 @@ module SDM
|
|
2232
2545
|
name: nil,
|
2233
2546
|
healthy: nil,
|
2234
2547
|
tags: nil,
|
2548
|
+
secret_store_id: nil,
|
2235
2549
|
hostname: nil,
|
2236
2550
|
auth_database: nil,
|
2237
2551
|
port_override: nil,
|
@@ -2254,6 +2568,9 @@ module SDM
|
|
2254
2568
|
if tags != nil
|
2255
2569
|
@tags = tags
|
2256
2570
|
end
|
2571
|
+
if secret_store_id != nil
|
2572
|
+
@secret_store_id = secret_store_id
|
2573
|
+
end
|
2257
2574
|
if hostname != nil
|
2258
2575
|
@hostname = hostname
|
2259
2576
|
end
|
@@ -2301,6 +2618,8 @@ module SDM
|
|
2301
2618
|
attr_accessor :healthy
|
2302
2619
|
# Tags is a map of key, value pairs.
|
2303
2620
|
attr_accessor :tags
|
2621
|
+
# ID of the secret store containing credentials for this resource, if any.
|
2622
|
+
attr_accessor :secret_store_id
|
2304
2623
|
|
2305
2624
|
attr_accessor :hostname
|
2306
2625
|
|
@@ -2321,6 +2640,7 @@ module SDM
|
|
2321
2640
|
name: nil,
|
2322
2641
|
healthy: nil,
|
2323
2642
|
tags: nil,
|
2643
|
+
secret_store_id: nil,
|
2324
2644
|
hostname: nil,
|
2325
2645
|
auth_database: nil,
|
2326
2646
|
port_override: nil,
|
@@ -2341,6 +2661,9 @@ module SDM
|
|
2341
2661
|
if tags != nil
|
2342
2662
|
@tags = tags
|
2343
2663
|
end
|
2664
|
+
if secret_store_id != nil
|
2665
|
+
@secret_store_id = secret_store_id
|
2666
|
+
end
|
2344
2667
|
if hostname != nil
|
2345
2668
|
@hostname = hostname
|
2346
2669
|
end
|
@@ -2382,6 +2705,8 @@ module SDM
|
|
2382
2705
|
attr_accessor :healthy
|
2383
2706
|
# Tags is a map of key, value pairs.
|
2384
2707
|
attr_accessor :tags
|
2708
|
+
# ID of the secret store containing credentials for this resource, if any.
|
2709
|
+
attr_accessor :secret_store_id
|
2385
2710
|
|
2386
2711
|
attr_accessor :hostname
|
2387
2712
|
|
@@ -2406,6 +2731,7 @@ module SDM
|
|
2406
2731
|
name: nil,
|
2407
2732
|
healthy: nil,
|
2408
2733
|
tags: nil,
|
2734
|
+
secret_store_id: nil,
|
2409
2735
|
hostname: nil,
|
2410
2736
|
auth_database: nil,
|
2411
2737
|
port_override: nil,
|
@@ -2428,6 +2754,9 @@ module SDM
|
|
2428
2754
|
if tags != nil
|
2429
2755
|
@tags = tags
|
2430
2756
|
end
|
2757
|
+
if secret_store_id != nil
|
2758
|
+
@secret_store_id = secret_store_id
|
2759
|
+
end
|
2431
2760
|
if hostname != nil
|
2432
2761
|
@hostname = hostname
|
2433
2762
|
end
|
@@ -2475,6 +2804,8 @@ module SDM
|
|
2475
2804
|
attr_accessor :healthy
|
2476
2805
|
# Tags is a map of key, value pairs.
|
2477
2806
|
attr_accessor :tags
|
2807
|
+
# ID of the secret store containing credentials for this resource, if any.
|
2808
|
+
attr_accessor :secret_store_id
|
2478
2809
|
|
2479
2810
|
attr_accessor :hostname
|
2480
2811
|
|
@@ -2493,6 +2824,7 @@ module SDM
|
|
2493
2824
|
name: nil,
|
2494
2825
|
healthy: nil,
|
2495
2826
|
tags: nil,
|
2827
|
+
secret_store_id: nil,
|
2496
2828
|
hostname: nil,
|
2497
2829
|
username: nil,
|
2498
2830
|
password: nil,
|
@@ -2512,6 +2844,9 @@ module SDM
|
|
2512
2844
|
if tags != nil
|
2513
2845
|
@tags = tags
|
2514
2846
|
end
|
2847
|
+
if secret_store_id != nil
|
2848
|
+
@secret_store_id = secret_store_id
|
2849
|
+
end
|
2515
2850
|
if hostname != nil
|
2516
2851
|
@hostname = hostname
|
2517
2852
|
end
|
@@ -2550,6 +2885,8 @@ module SDM
|
|
2550
2885
|
attr_accessor :healthy
|
2551
2886
|
# Tags is a map of key, value pairs.
|
2552
2887
|
attr_accessor :tags
|
2888
|
+
# ID of the secret store containing credentials for this resource, if any.
|
2889
|
+
attr_accessor :secret_store_id
|
2553
2890
|
|
2554
2891
|
attr_accessor :hostname
|
2555
2892
|
|
@@ -2568,6 +2905,7 @@ module SDM
|
|
2568
2905
|
name: nil,
|
2569
2906
|
healthy: nil,
|
2570
2907
|
tags: nil,
|
2908
|
+
secret_store_id: nil,
|
2571
2909
|
hostname: nil,
|
2572
2910
|
username: nil,
|
2573
2911
|
password: nil,
|
@@ -2587,6 +2925,9 @@ module SDM
|
|
2587
2925
|
if tags != nil
|
2588
2926
|
@tags = tags
|
2589
2927
|
end
|
2928
|
+
if secret_store_id != nil
|
2929
|
+
@secret_store_id = secret_store_id
|
2930
|
+
end
|
2590
2931
|
if hostname != nil
|
2591
2932
|
@hostname = hostname
|
2592
2933
|
end
|
@@ -2625,6 +2966,8 @@ module SDM
|
|
2625
2966
|
attr_accessor :healthy
|
2626
2967
|
# Tags is a map of key, value pairs.
|
2627
2968
|
attr_accessor :tags
|
2969
|
+
# ID of the secret store containing credentials for this resource, if any.
|
2970
|
+
attr_accessor :secret_store_id
|
2628
2971
|
|
2629
2972
|
attr_accessor :hostname
|
2630
2973
|
|
@@ -2643,6 +2986,7 @@ module SDM
|
|
2643
2986
|
name: nil,
|
2644
2987
|
healthy: nil,
|
2645
2988
|
tags: nil,
|
2989
|
+
secret_store_id: nil,
|
2646
2990
|
hostname: nil,
|
2647
2991
|
username: nil,
|
2648
2992
|
password: nil,
|
@@ -2662,6 +3006,9 @@ module SDM
|
|
2662
3006
|
if tags != nil
|
2663
3007
|
@tags = tags
|
2664
3008
|
end
|
3009
|
+
if secret_store_id != nil
|
3010
|
+
@secret_store_id = secret_store_id
|
3011
|
+
end
|
2665
3012
|
if hostname != nil
|
2666
3013
|
@hostname = hostname
|
2667
3014
|
end
|
@@ -2700,6 +3047,8 @@ module SDM
|
|
2700
3047
|
attr_accessor :healthy
|
2701
3048
|
# Tags is a map of key, value pairs.
|
2702
3049
|
attr_accessor :tags
|
3050
|
+
# ID of the secret store containing credentials for this resource, if any.
|
3051
|
+
attr_accessor :secret_store_id
|
2703
3052
|
|
2704
3053
|
attr_accessor :hostname
|
2705
3054
|
|
@@ -2718,6 +3067,7 @@ module SDM
|
|
2718
3067
|
name: nil,
|
2719
3068
|
healthy: nil,
|
2720
3069
|
tags: nil,
|
3070
|
+
secret_store_id: nil,
|
2721
3071
|
hostname: nil,
|
2722
3072
|
username: nil,
|
2723
3073
|
password: nil,
|
@@ -2737,6 +3087,9 @@ module SDM
|
|
2737
3087
|
if tags != nil
|
2738
3088
|
@tags = tags
|
2739
3089
|
end
|
3090
|
+
if secret_store_id != nil
|
3091
|
+
@secret_store_id = secret_store_id
|
3092
|
+
end
|
2740
3093
|
if hostname != nil
|
2741
3094
|
@hostname = hostname
|
2742
3095
|
end
|
@@ -2775,6 +3128,8 @@ module SDM
|
|
2775
3128
|
attr_accessor :healthy
|
2776
3129
|
# Tags is a map of key, value pairs.
|
2777
3130
|
attr_accessor :tags
|
3131
|
+
# ID of the secret store containing credentials for this resource, if any.
|
3132
|
+
attr_accessor :secret_store_id
|
2778
3133
|
|
2779
3134
|
attr_accessor :hostname
|
2780
3135
|
|
@@ -2793,6 +3148,7 @@ module SDM
|
|
2793
3148
|
name: nil,
|
2794
3149
|
healthy: nil,
|
2795
3150
|
tags: nil,
|
3151
|
+
secret_store_id: nil,
|
2796
3152
|
hostname: nil,
|
2797
3153
|
username: nil,
|
2798
3154
|
password: nil,
|
@@ -2812,6 +3168,9 @@ module SDM
|
|
2812
3168
|
if tags != nil
|
2813
3169
|
@tags = tags
|
2814
3170
|
end
|
3171
|
+
if secret_store_id != nil
|
3172
|
+
@secret_store_id = secret_store_id
|
3173
|
+
end
|
2815
3174
|
if hostname != nil
|
2816
3175
|
@hostname = hostname
|
2817
3176
|
end
|
@@ -2850,6 +3209,8 @@ module SDM
|
|
2850
3209
|
attr_accessor :healthy
|
2851
3210
|
# Tags is a map of key, value pairs.
|
2852
3211
|
attr_accessor :tags
|
3212
|
+
# ID of the secret store containing credentials for this resource, if any.
|
3213
|
+
attr_accessor :secret_store_id
|
2853
3214
|
|
2854
3215
|
attr_accessor :hostname
|
2855
3216
|
|
@@ -2870,6 +3231,7 @@ module SDM
|
|
2870
3231
|
name: nil,
|
2871
3232
|
healthy: nil,
|
2872
3233
|
tags: nil,
|
3234
|
+
secret_store_id: nil,
|
2873
3235
|
hostname: nil,
|
2874
3236
|
username: nil,
|
2875
3237
|
password: nil,
|
@@ -2890,6 +3252,9 @@ module SDM
|
|
2890
3252
|
if tags != nil
|
2891
3253
|
@tags = tags
|
2892
3254
|
end
|
3255
|
+
if secret_store_id != nil
|
3256
|
+
@secret_store_id = secret_store_id
|
3257
|
+
end
|
2893
3258
|
if hostname != nil
|
2894
3259
|
@hostname = hostname
|
2895
3260
|
end
|
@@ -2931,6 +3296,8 @@ module SDM
|
|
2931
3296
|
attr_accessor :healthy
|
2932
3297
|
# Tags is a map of key, value pairs.
|
2933
3298
|
attr_accessor :tags
|
3299
|
+
# ID of the secret store containing credentials for this resource, if any.
|
3300
|
+
attr_accessor :secret_store_id
|
2934
3301
|
|
2935
3302
|
attr_accessor :hostname
|
2936
3303
|
|
@@ -2951,6 +3318,7 @@ module SDM
|
|
2951
3318
|
name: nil,
|
2952
3319
|
healthy: nil,
|
2953
3320
|
tags: nil,
|
3321
|
+
secret_store_id: nil,
|
2954
3322
|
hostname: nil,
|
2955
3323
|
username: nil,
|
2956
3324
|
password: nil,
|
@@ -2971,6 +3339,9 @@ module SDM
|
|
2971
3339
|
if tags != nil
|
2972
3340
|
@tags = tags
|
2973
3341
|
end
|
3342
|
+
if secret_store_id != nil
|
3343
|
+
@secret_store_id = secret_store_id
|
3344
|
+
end
|
2974
3345
|
if hostname != nil
|
2975
3346
|
@hostname = hostname
|
2976
3347
|
end
|
@@ -3012,6 +3383,8 @@ module SDM
|
|
3012
3383
|
attr_accessor :healthy
|
3013
3384
|
# Tags is a map of key, value pairs.
|
3014
3385
|
attr_accessor :tags
|
3386
|
+
# ID of the secret store containing credentials for this resource, if any.
|
3387
|
+
attr_accessor :secret_store_id
|
3015
3388
|
|
3016
3389
|
attr_accessor :hostname
|
3017
3390
|
|
@@ -3032,6 +3405,7 @@ module SDM
|
|
3032
3405
|
name: nil,
|
3033
3406
|
healthy: nil,
|
3034
3407
|
tags: nil,
|
3408
|
+
secret_store_id: nil,
|
3035
3409
|
hostname: nil,
|
3036
3410
|
username: nil,
|
3037
3411
|
password: nil,
|
@@ -3052,6 +3426,9 @@ module SDM
|
|
3052
3426
|
if tags != nil
|
3053
3427
|
@tags = tags
|
3054
3428
|
end
|
3429
|
+
if secret_store_id != nil
|
3430
|
+
@secret_store_id = secret_store_id
|
3431
|
+
end
|
3055
3432
|
if hostname != nil
|
3056
3433
|
@hostname = hostname
|
3057
3434
|
end
|
@@ -3093,6 +3470,8 @@ module SDM
|
|
3093
3470
|
attr_accessor :healthy
|
3094
3471
|
# Tags is a map of key, value pairs.
|
3095
3472
|
attr_accessor :tags
|
3473
|
+
# ID of the secret store containing credentials for this resource, if any.
|
3474
|
+
attr_accessor :secret_store_id
|
3096
3475
|
|
3097
3476
|
attr_accessor :hostname
|
3098
3477
|
|
@@ -3113,6 +3492,7 @@ module SDM
|
|
3113
3492
|
name: nil,
|
3114
3493
|
healthy: nil,
|
3115
3494
|
tags: nil,
|
3495
|
+
secret_store_id: nil,
|
3116
3496
|
hostname: nil,
|
3117
3497
|
username: nil,
|
3118
3498
|
password: nil,
|
@@ -3133,6 +3513,9 @@ module SDM
|
|
3133
3513
|
if tags != nil
|
3134
3514
|
@tags = tags
|
3135
3515
|
end
|
3516
|
+
if secret_store_id != nil
|
3517
|
+
@secret_store_id = secret_store_id
|
3518
|
+
end
|
3136
3519
|
if hostname != nil
|
3137
3520
|
@hostname = hostname
|
3138
3521
|
end
|
@@ -3174,6 +3557,8 @@ module SDM
|
|
3174
3557
|
attr_accessor :healthy
|
3175
3558
|
# Tags is a map of key, value pairs.
|
3176
3559
|
attr_accessor :tags
|
3560
|
+
# ID of the secret store containing credentials for this resource, if any.
|
3561
|
+
attr_accessor :secret_store_id
|
3177
3562
|
|
3178
3563
|
attr_accessor :hostname
|
3179
3564
|
|
@@ -3194,6 +3579,7 @@ module SDM
|
|
3194
3579
|
name: nil,
|
3195
3580
|
healthy: nil,
|
3196
3581
|
tags: nil,
|
3582
|
+
secret_store_id: nil,
|
3197
3583
|
hostname: nil,
|
3198
3584
|
username: nil,
|
3199
3585
|
password: nil,
|
@@ -3214,6 +3600,9 @@ module SDM
|
|
3214
3600
|
if tags != nil
|
3215
3601
|
@tags = tags
|
3216
3602
|
end
|
3603
|
+
if secret_store_id != nil
|
3604
|
+
@secret_store_id = secret_store_id
|
3605
|
+
end
|
3217
3606
|
if hostname != nil
|
3218
3607
|
@hostname = hostname
|
3219
3608
|
end
|
@@ -3255,6 +3644,8 @@ module SDM
|
|
3255
3644
|
attr_accessor :healthy
|
3256
3645
|
# Tags is a map of key, value pairs.
|
3257
3646
|
attr_accessor :tags
|
3647
|
+
# ID of the secret store containing credentials for this resource, if any.
|
3648
|
+
attr_accessor :secret_store_id
|
3258
3649
|
|
3259
3650
|
attr_accessor :hostname
|
3260
3651
|
|
@@ -3275,6 +3666,7 @@ module SDM
|
|
3275
3666
|
name: nil,
|
3276
3667
|
healthy: nil,
|
3277
3668
|
tags: nil,
|
3669
|
+
secret_store_id: nil,
|
3278
3670
|
hostname: nil,
|
3279
3671
|
username: nil,
|
3280
3672
|
password: nil,
|
@@ -3295,6 +3687,9 @@ module SDM
|
|
3295
3687
|
if tags != nil
|
3296
3688
|
@tags = tags
|
3297
3689
|
end
|
3690
|
+
if secret_store_id != nil
|
3691
|
+
@secret_store_id = secret_store_id
|
3692
|
+
end
|
3298
3693
|
if hostname != nil
|
3299
3694
|
@hostname = hostname
|
3300
3695
|
end
|
@@ -3336,6 +3731,8 @@ module SDM
|
|
3336
3731
|
attr_accessor :healthy
|
3337
3732
|
# Tags is a map of key, value pairs.
|
3338
3733
|
attr_accessor :tags
|
3734
|
+
# ID of the secret store containing credentials for this resource, if any.
|
3735
|
+
attr_accessor :secret_store_id
|
3339
3736
|
|
3340
3737
|
attr_accessor :hostname
|
3341
3738
|
|
@@ -3356,6 +3753,7 @@ module SDM
|
|
3356
3753
|
name: nil,
|
3357
3754
|
healthy: nil,
|
3358
3755
|
tags: nil,
|
3756
|
+
secret_store_id: nil,
|
3359
3757
|
hostname: nil,
|
3360
3758
|
username: nil,
|
3361
3759
|
password: nil,
|
@@ -3376,6 +3774,9 @@ module SDM
|
|
3376
3774
|
if tags != nil
|
3377
3775
|
@tags = tags
|
3378
3776
|
end
|
3777
|
+
if secret_store_id != nil
|
3778
|
+
@secret_store_id = secret_store_id
|
3779
|
+
end
|
3379
3780
|
if hostname != nil
|
3380
3781
|
@hostname = hostname
|
3381
3782
|
end
|
@@ -3417,6 +3818,8 @@ module SDM
|
|
3417
3818
|
attr_accessor :healthy
|
3418
3819
|
# Tags is a map of key, value pairs.
|
3419
3820
|
attr_accessor :tags
|
3821
|
+
# ID of the secret store containing credentials for this resource, if any.
|
3822
|
+
attr_accessor :secret_store_id
|
3420
3823
|
|
3421
3824
|
attr_accessor :hostname
|
3422
3825
|
|
@@ -3437,6 +3840,7 @@ module SDM
|
|
3437
3840
|
name: nil,
|
3438
3841
|
healthy: nil,
|
3439
3842
|
tags: nil,
|
3843
|
+
secret_store_id: nil,
|
3440
3844
|
hostname: nil,
|
3441
3845
|
password: nil,
|
3442
3846
|
database: nil,
|
@@ -3457,6 +3861,9 @@ module SDM
|
|
3457
3861
|
if tags != nil
|
3458
3862
|
@tags = tags
|
3459
3863
|
end
|
3864
|
+
if secret_store_id != nil
|
3865
|
+
@secret_store_id = secret_store_id
|
3866
|
+
end
|
3460
3867
|
if hostname != nil
|
3461
3868
|
@hostname = hostname
|
3462
3869
|
end
|
@@ -3498,6 +3905,8 @@ module SDM
|
|
3498
3905
|
attr_accessor :healthy
|
3499
3906
|
# Tags is a map of key, value pairs.
|
3500
3907
|
attr_accessor :tags
|
3908
|
+
# ID of the secret store containing credentials for this resource, if any.
|
3909
|
+
attr_accessor :secret_store_id
|
3501
3910
|
|
3502
3911
|
attr_accessor :hostname
|
3503
3912
|
|
@@ -3514,6 +3923,7 @@ module SDM
|
|
3514
3923
|
name: nil,
|
3515
3924
|
healthy: nil,
|
3516
3925
|
tags: nil,
|
3926
|
+
secret_store_id: nil,
|
3517
3927
|
hostname: nil,
|
3518
3928
|
username: nil,
|
3519
3929
|
password: nil,
|
@@ -3532,6 +3942,9 @@ module SDM
|
|
3532
3942
|
if tags != nil
|
3533
3943
|
@tags = tags
|
3534
3944
|
end
|
3945
|
+
if secret_store_id != nil
|
3946
|
+
@secret_store_id = secret_store_id
|
3947
|
+
end
|
3535
3948
|
if hostname != nil
|
3536
3949
|
@hostname = hostname
|
3537
3950
|
end
|
@@ -3567,6 +3980,8 @@ module SDM
|
|
3567
3980
|
attr_accessor :healthy
|
3568
3981
|
# Tags is a map of key, value pairs.
|
3569
3982
|
attr_accessor :tags
|
3983
|
+
# ID of the secret store containing credentials for this resource, if any.
|
3984
|
+
attr_accessor :secret_store_id
|
3570
3985
|
|
3571
3986
|
attr_accessor :hostname
|
3572
3987
|
|
@@ -3581,6 +3996,7 @@ module SDM
|
|
3581
3996
|
name: nil,
|
3582
3997
|
healthy: nil,
|
3583
3998
|
tags: nil,
|
3999
|
+
secret_store_id: nil,
|
3584
4000
|
hostname: nil,
|
3585
4001
|
port_override: nil,
|
3586
4002
|
password: nil,
|
@@ -3598,6 +4014,9 @@ module SDM
|
|
3598
4014
|
if tags != nil
|
3599
4015
|
@tags = tags
|
3600
4016
|
end
|
4017
|
+
if secret_store_id != nil
|
4018
|
+
@secret_store_id = secret_store_id
|
4019
|
+
end
|
3601
4020
|
if hostname != nil
|
3602
4021
|
@hostname = hostname
|
3603
4022
|
end
|
@@ -3630,6 +4049,8 @@ module SDM
|
|
3630
4049
|
attr_accessor :healthy
|
3631
4050
|
# Tags is a map of key, value pairs.
|
3632
4051
|
attr_accessor :tags
|
4052
|
+
# ID of the secret store containing credentials for this resource, if any.
|
4053
|
+
attr_accessor :secret_store_id
|
3633
4054
|
|
3634
4055
|
attr_accessor :hostname
|
3635
4056
|
|
@@ -3646,6 +4067,7 @@ module SDM
|
|
3646
4067
|
name: nil,
|
3647
4068
|
healthy: nil,
|
3648
4069
|
tags: nil,
|
4070
|
+
secret_store_id: nil,
|
3649
4071
|
hostname: nil,
|
3650
4072
|
port_override: nil,
|
3651
4073
|
password: nil,
|
@@ -3664,6 +4086,9 @@ module SDM
|
|
3664
4086
|
if tags != nil
|
3665
4087
|
@tags = tags
|
3666
4088
|
end
|
4089
|
+
if secret_store_id != nil
|
4090
|
+
@secret_store_id = secret_store_id
|
4091
|
+
end
|
3667
4092
|
if hostname != nil
|
3668
4093
|
@hostname = hostname
|
3669
4094
|
end
|
@@ -3699,6 +4124,8 @@ module SDM
|
|
3699
4124
|
attr_accessor :healthy
|
3700
4125
|
# Tags is a map of key, value pairs.
|
3701
4126
|
attr_accessor :tags
|
4127
|
+
# ID of the secret store containing credentials for this resource, if any.
|
4128
|
+
attr_accessor :secret_store_id
|
3702
4129
|
|
3703
4130
|
attr_accessor :hostname
|
3704
4131
|
|
@@ -3717,6 +4144,7 @@ module SDM
|
|
3717
4144
|
name: nil,
|
3718
4145
|
healthy: nil,
|
3719
4146
|
tags: nil,
|
4147
|
+
secret_store_id: nil,
|
3720
4148
|
hostname: nil,
|
3721
4149
|
username: nil,
|
3722
4150
|
password: nil,
|
@@ -3736,6 +4164,9 @@ module SDM
|
|
3736
4164
|
if tags != nil
|
3737
4165
|
@tags = tags
|
3738
4166
|
end
|
4167
|
+
if secret_store_id != nil
|
4168
|
+
@secret_store_id = secret_store_id
|
4169
|
+
end
|
3739
4170
|
if hostname != nil
|
3740
4171
|
@hostname = hostname
|
3741
4172
|
end
|
@@ -3774,6 +4205,8 @@ module SDM
|
|
3774
4205
|
attr_accessor :healthy
|
3775
4206
|
# Tags is a map of key, value pairs.
|
3776
4207
|
attr_accessor :tags
|
4208
|
+
# ID of the secret store containing credentials for this resource, if any.
|
4209
|
+
attr_accessor :secret_store_id
|
3777
4210
|
|
3778
4211
|
attr_accessor :hostname
|
3779
4212
|
|
@@ -3796,6 +4229,7 @@ module SDM
|
|
3796
4229
|
name: nil,
|
3797
4230
|
healthy: nil,
|
3798
4231
|
tags: nil,
|
4232
|
+
secret_store_id: nil,
|
3799
4233
|
hostname: nil,
|
3800
4234
|
username: nil,
|
3801
4235
|
password: nil,
|
@@ -3817,6 +4251,9 @@ module SDM
|
|
3817
4251
|
if tags != nil
|
3818
4252
|
@tags = tags
|
3819
4253
|
end
|
4254
|
+
if secret_store_id != nil
|
4255
|
+
@secret_store_id = secret_store_id
|
4256
|
+
end
|
3820
4257
|
if hostname != nil
|
3821
4258
|
@hostname = hostname
|
3822
4259
|
end
|
@@ -3861,6 +4298,8 @@ module SDM
|
|
3861
4298
|
attr_accessor :healthy
|
3862
4299
|
# Tags is a map of key, value pairs.
|
3863
4300
|
attr_accessor :tags
|
4301
|
+
# ID of the secret store containing credentials for this resource, if any.
|
4302
|
+
attr_accessor :secret_store_id
|
3864
4303
|
|
3865
4304
|
attr_accessor :hostname
|
3866
4305
|
|
@@ -3879,6 +4318,7 @@ module SDM
|
|
3879
4318
|
name: nil,
|
3880
4319
|
healthy: nil,
|
3881
4320
|
tags: nil,
|
4321
|
+
secret_store_id: nil,
|
3882
4322
|
hostname: nil,
|
3883
4323
|
username: nil,
|
3884
4324
|
port: nil,
|
@@ -3898,6 +4338,9 @@ module SDM
|
|
3898
4338
|
if tags != nil
|
3899
4339
|
@tags = tags
|
3900
4340
|
end
|
4341
|
+
if secret_store_id != nil
|
4342
|
+
@secret_store_id = secret_store_id
|
4343
|
+
end
|
3901
4344
|
if hostname != nil
|
3902
4345
|
@hostname = hostname
|
3903
4346
|
end
|
@@ -3936,6 +4379,8 @@ module SDM
|
|
3936
4379
|
attr_accessor :healthy
|
3937
4380
|
# Tags is a map of key, value pairs.
|
3938
4381
|
attr_accessor :tags
|
4382
|
+
# ID of the secret store containing credentials for this resource, if any.
|
4383
|
+
attr_accessor :secret_store_id
|
3939
4384
|
|
3940
4385
|
attr_accessor :hostname
|
3941
4386
|
|
@@ -3952,6 +4397,7 @@ module SDM
|
|
3952
4397
|
name: nil,
|
3953
4398
|
healthy: nil,
|
3954
4399
|
tags: nil,
|
4400
|
+
secret_store_id: nil,
|
3955
4401
|
hostname: nil,
|
3956
4402
|
username: nil,
|
3957
4403
|
port: nil,
|
@@ -3970,6 +4416,9 @@ module SDM
|
|
3970
4416
|
if tags != nil
|
3971
4417
|
@tags = tags
|
3972
4418
|
end
|
4419
|
+
if secret_store_id != nil
|
4420
|
+
@secret_store_id = secret_store_id
|
4421
|
+
end
|
3973
4422
|
if hostname != nil
|
3974
4423
|
@hostname = hostname
|
3975
4424
|
end
|
@@ -4005,6 +4454,8 @@ module SDM
|
|
4005
4454
|
attr_accessor :healthy
|
4006
4455
|
# Tags is a map of key, value pairs.
|
4007
4456
|
attr_accessor :tags
|
4457
|
+
# ID of the secret store containing credentials for this resource, if any.
|
4458
|
+
attr_accessor :secret_store_id
|
4008
4459
|
|
4009
4460
|
attr_accessor :hostname
|
4010
4461
|
|
@@ -4021,6 +4472,7 @@ module SDM
|
|
4021
4472
|
name: nil,
|
4022
4473
|
healthy: nil,
|
4023
4474
|
tags: nil,
|
4475
|
+
secret_store_id: nil,
|
4024
4476
|
hostname: nil,
|
4025
4477
|
username: nil,
|
4026
4478
|
port_override: nil,
|
@@ -4039,6 +4491,9 @@ module SDM
|
|
4039
4491
|
if tags != nil
|
4040
4492
|
@tags = tags
|
4041
4493
|
end
|
4494
|
+
if secret_store_id != nil
|
4495
|
+
@secret_store_id = secret_store_id
|
4496
|
+
end
|
4042
4497
|
if hostname != nil
|
4043
4498
|
@hostname = hostname
|
4044
4499
|
end
|
@@ -4074,6 +4529,8 @@ module SDM
|
|
4074
4529
|
attr_accessor :healthy
|
4075
4530
|
# Tags is a map of key, value pairs.
|
4076
4531
|
attr_accessor :tags
|
4532
|
+
# ID of the secret store containing credentials for this resource, if any.
|
4533
|
+
attr_accessor :secret_store_id
|
4077
4534
|
|
4078
4535
|
attr_accessor :hostname
|
4079
4536
|
|
@@ -4090,6 +4547,7 @@ module SDM
|
|
4090
4547
|
name: nil,
|
4091
4548
|
healthy: nil,
|
4092
4549
|
tags: nil,
|
4550
|
+
secret_store_id: nil,
|
4093
4551
|
hostname: nil,
|
4094
4552
|
username: nil,
|
4095
4553
|
port_override: nil,
|
@@ -4108,6 +4566,9 @@ module SDM
|
|
4108
4566
|
if tags != nil
|
4109
4567
|
@tags = tags
|
4110
4568
|
end
|
4569
|
+
if secret_store_id != nil
|
4570
|
+
@secret_store_id = secret_store_id
|
4571
|
+
end
|
4111
4572
|
if hostname != nil
|
4112
4573
|
@hostname = hostname
|
4113
4574
|
end
|
@@ -4143,6 +4604,8 @@ module SDM
|
|
4143
4604
|
attr_accessor :healthy
|
4144
4605
|
# Tags is a map of key, value pairs.
|
4145
4606
|
attr_accessor :tags
|
4607
|
+
# ID of the secret store containing credentials for this resource, if any.
|
4608
|
+
attr_accessor :secret_store_id
|
4146
4609
|
|
4147
4610
|
attr_accessor :hostname
|
4148
4611
|
|
@@ -4159,6 +4622,7 @@ module SDM
|
|
4159
4622
|
name: nil,
|
4160
4623
|
healthy: nil,
|
4161
4624
|
tags: nil,
|
4625
|
+
secret_store_id: nil,
|
4162
4626
|
hostname: nil,
|
4163
4627
|
username: nil,
|
4164
4628
|
password: nil,
|
@@ -4177,6 +4641,9 @@ module SDM
|
|
4177
4641
|
if tags != nil
|
4178
4642
|
@tags = tags
|
4179
4643
|
end
|
4644
|
+
if secret_store_id != nil
|
4645
|
+
@secret_store_id = secret_store_id
|
4646
|
+
end
|
4180
4647
|
if hostname != nil
|
4181
4648
|
@hostname = hostname
|
4182
4649
|
end
|
@@ -4999,4 +5466,270 @@ module SDM
|
|
4999
5466
|
hash.to_json
|
5000
5467
|
end
|
5001
5468
|
end
|
5469
|
+
|
5470
|
+
class AWSStore
|
5471
|
+
# Unique identifier of the SecretStore.
|
5472
|
+
attr_accessor :id
|
5473
|
+
# Unique human-readable name of the SecretStore.
|
5474
|
+
attr_accessor :name
|
5475
|
+
|
5476
|
+
attr_accessor :region
|
5477
|
+
# Tags is a map of key, value pairs.
|
5478
|
+
attr_accessor :tags
|
5479
|
+
|
5480
|
+
def initialize(
|
5481
|
+
id: nil,
|
5482
|
+
name: nil,
|
5483
|
+
region: nil,
|
5484
|
+
tags: nil
|
5485
|
+
)
|
5486
|
+
if id != nil
|
5487
|
+
@id = id
|
5488
|
+
end
|
5489
|
+
if name != nil
|
5490
|
+
@name = name
|
5491
|
+
end
|
5492
|
+
if region != nil
|
5493
|
+
@region = region
|
5494
|
+
end
|
5495
|
+
if tags != nil
|
5496
|
+
@tags = tags
|
5497
|
+
end
|
5498
|
+
end
|
5499
|
+
|
5500
|
+
def to_json(options = {})
|
5501
|
+
hash = {}
|
5502
|
+
self.instance_variables.each do |var|
|
5503
|
+
hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
|
5504
|
+
end
|
5505
|
+
hash.to_json
|
5506
|
+
end
|
5507
|
+
end
|
5508
|
+
|
5509
|
+
class VaultTLSStore
|
5510
|
+
# Unique identifier of the SecretStore.
|
5511
|
+
attr_accessor :id
|
5512
|
+
# Unique human-readable name of the SecretStore.
|
5513
|
+
attr_accessor :name
|
5514
|
+
|
5515
|
+
attr_accessor :server_address
|
5516
|
+
|
5517
|
+
attr_accessor :ca_cert_path
|
5518
|
+
|
5519
|
+
attr_accessor :client_cert_path
|
5520
|
+
|
5521
|
+
attr_accessor :client_key_path
|
5522
|
+
# Tags is a map of key, value pairs.
|
5523
|
+
attr_accessor :tags
|
5524
|
+
|
5525
|
+
def initialize(
|
5526
|
+
id: nil,
|
5527
|
+
name: nil,
|
5528
|
+
server_address: nil,
|
5529
|
+
ca_cert_path: nil,
|
5530
|
+
client_cert_path: nil,
|
5531
|
+
client_key_path: nil,
|
5532
|
+
tags: nil
|
5533
|
+
)
|
5534
|
+
if id != nil
|
5535
|
+
@id = id
|
5536
|
+
end
|
5537
|
+
if name != nil
|
5538
|
+
@name = name
|
5539
|
+
end
|
5540
|
+
if server_address != nil
|
5541
|
+
@server_address = server_address
|
5542
|
+
end
|
5543
|
+
if ca_cert_path != nil
|
5544
|
+
@ca_cert_path = ca_cert_path
|
5545
|
+
end
|
5546
|
+
if client_cert_path != nil
|
5547
|
+
@client_cert_path = client_cert_path
|
5548
|
+
end
|
5549
|
+
if client_key_path != nil
|
5550
|
+
@client_key_path = client_key_path
|
5551
|
+
end
|
5552
|
+
if tags != nil
|
5553
|
+
@tags = tags
|
5554
|
+
end
|
5555
|
+
end
|
5556
|
+
|
5557
|
+
def to_json(options = {})
|
5558
|
+
hash = {}
|
5559
|
+
self.instance_variables.each do |var|
|
5560
|
+
hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
|
5561
|
+
end
|
5562
|
+
hash.to_json
|
5563
|
+
end
|
5564
|
+
end
|
5565
|
+
|
5566
|
+
class VaultTokenStore
|
5567
|
+
# Unique identifier of the SecretStore.
|
5568
|
+
attr_accessor :id
|
5569
|
+
# Unique human-readable name of the SecretStore.
|
5570
|
+
attr_accessor :name
|
5571
|
+
|
5572
|
+
attr_accessor :server_address
|
5573
|
+
# Tags is a map of key, value pairs.
|
5574
|
+
attr_accessor :tags
|
5575
|
+
|
5576
|
+
def initialize(
|
5577
|
+
id: nil,
|
5578
|
+
name: nil,
|
5579
|
+
server_address: nil,
|
5580
|
+
tags: nil
|
5581
|
+
)
|
5582
|
+
if id != nil
|
5583
|
+
@id = id
|
5584
|
+
end
|
5585
|
+
if name != nil
|
5586
|
+
@name = name
|
5587
|
+
end
|
5588
|
+
if server_address != nil
|
5589
|
+
@server_address = server_address
|
5590
|
+
end
|
5591
|
+
if tags != nil
|
5592
|
+
@tags = tags
|
5593
|
+
end
|
5594
|
+
end
|
5595
|
+
|
5596
|
+
def to_json(options = {})
|
5597
|
+
hash = {}
|
5598
|
+
self.instance_variables.each do |var|
|
5599
|
+
hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
|
5600
|
+
end
|
5601
|
+
hash.to_json
|
5602
|
+
end
|
5603
|
+
end
|
5604
|
+
|
5605
|
+
# SecretStoreCreateResponse reports how the SecretStores were created in the system.
|
5606
|
+
class SecretStoreCreateResponse
|
5607
|
+
# Reserved for future use.
|
5608
|
+
attr_accessor :meta
|
5609
|
+
# The created SecretStore.
|
5610
|
+
attr_accessor :secret_store
|
5611
|
+
# Rate limit information.
|
5612
|
+
attr_accessor :rate_limit
|
5613
|
+
|
5614
|
+
def initialize(
|
5615
|
+
meta: nil,
|
5616
|
+
secret_store: nil,
|
5617
|
+
rate_limit: nil
|
5618
|
+
)
|
5619
|
+
if meta != nil
|
5620
|
+
@meta = meta
|
5621
|
+
end
|
5622
|
+
if secret_store != nil
|
5623
|
+
@secret_store = secret_store
|
5624
|
+
end
|
5625
|
+
if rate_limit != nil
|
5626
|
+
@rate_limit = rate_limit
|
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
|
+
# SecretStoreGetResponse returns a requested SecretStore.
|
5640
|
+
class SecretStoreGetResponse
|
5641
|
+
# Reserved for future use.
|
5642
|
+
attr_accessor :meta
|
5643
|
+
# The requested 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
|
+
# SecretStoreUpdateResponse returns the fields of a SecretStore after it has been updated by
|
5674
|
+
# a SecretStoreUpdateRequest.
|
5675
|
+
class SecretStoreUpdateResponse
|
5676
|
+
# Reserved for future use.
|
5677
|
+
attr_accessor :meta
|
5678
|
+
# The updated SecretStore.
|
5679
|
+
attr_accessor :secret_store
|
5680
|
+
# Rate limit information.
|
5681
|
+
attr_accessor :rate_limit
|
5682
|
+
|
5683
|
+
def initialize(
|
5684
|
+
meta: nil,
|
5685
|
+
secret_store: nil,
|
5686
|
+
rate_limit: nil
|
5687
|
+
)
|
5688
|
+
if meta != nil
|
5689
|
+
@meta = meta
|
5690
|
+
end
|
5691
|
+
if secret_store != nil
|
5692
|
+
@secret_store = secret_store
|
5693
|
+
end
|
5694
|
+
if rate_limit != nil
|
5695
|
+
@rate_limit = rate_limit
|
5696
|
+
end
|
5697
|
+
end
|
5698
|
+
|
5699
|
+
def to_json(options = {})
|
5700
|
+
hash = {}
|
5701
|
+
self.instance_variables.each do |var|
|
5702
|
+
hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
|
5703
|
+
end
|
5704
|
+
hash.to_json
|
5705
|
+
end
|
5706
|
+
end
|
5707
|
+
|
5708
|
+
# SecretStoreDeleteResponse returns information about a SecretStore that was deleted.
|
5709
|
+
class SecretStoreDeleteResponse
|
5710
|
+
# Reserved for future use.
|
5711
|
+
attr_accessor :meta
|
5712
|
+
# Rate limit information.
|
5713
|
+
attr_accessor :rate_limit
|
5714
|
+
|
5715
|
+
def initialize(
|
5716
|
+
meta: nil,
|
5717
|
+
rate_limit: nil
|
5718
|
+
)
|
5719
|
+
if meta != nil
|
5720
|
+
@meta = meta
|
5721
|
+
end
|
5722
|
+
if rate_limit != nil
|
5723
|
+
@rate_limit = rate_limit
|
5724
|
+
end
|
5725
|
+
end
|
5726
|
+
|
5727
|
+
def to_json(options = {})
|
5728
|
+
hash = {}
|
5729
|
+
self.instance_variables.each do |var|
|
5730
|
+
hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
|
5731
|
+
end
|
5732
|
+
hash.to_json
|
5733
|
+
end
|
5734
|
+
end
|
5002
5735
|
end
|