strongdm 1.0.8 → 1.0.14
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -1
- data/doc/README_md.html +2 -0
- data/doc/SDM/AKS.html +21 -57
- data/doc/SDM/AKSBasicAuth.html +21 -3
- data/doc/SDM/AKSServiceAccount.html +21 -3
- 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 +1 -1
- data/doc/SDM/AccountAttachments.html +1 -1
- data/doc/SDM/Accounts.html +8 -8
- data/doc/SDM/AmazonEKS.html +21 -21
- data/doc/SDM/AmazonES.html +21 -3
- data/doc/SDM/Athena.html +21 -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 +39 -11
- 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 +21 -3
- data/doc/SDM/Elastic.html +21 -3
- data/doc/SDM/ElasticacheRedis.html +21 -3
- data/doc/SDM/Gateway.html +3 -3
- data/doc/SDM/GoogleGKE.html +13 -31
- 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 -57
- 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 +10 -10
- data/doc/SDM/Oracle.html +21 -3
- data/doc/SDM/Plumbing.html +2582 -994
- 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 +3 -3
- 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 +6 -6
- data/doc/SDM/Role.html +3 -3
- 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/Snowflake.html +21 -3
- data/doc/SDM/Sybase.html +21 -3
- data/doc/SDM/SybaseIQ.html +21 -3
- data/doc/SDM/Teradata.html +21 -3
- data/doc/SDM/{DB2.html → VaultTLSStore.html} +34 -88
- data/doc/SDM/VaultTokenStore.html +283 -0
- data/doc/V1.html +195 -0
- data/doc/V1/AccessRules.html +113 -0
- data/doc/V1/AccessRules/Service.html +119 -0
- data/doc/V1/AccountAttachments/Service.html +1 -1
- data/doc/V1/Accounts/Service.html +2 -2
- data/doc/V1/Audits.html +113 -0
- data/doc/V1/Audits/Service.html +119 -0
- data/doc/V1/ControlPanel.html +113 -0
- data/doc/V1/ControlPanel/Service.html +119 -0
- data/doc/V1/Nodes/Service.html +4 -4
- 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 +44 -35
- data/doc/index.html +40 -0
- data/doc/js/search_index.js +1 -1
- data/doc/js/search_index.js.gz +0 -0
- data/doc/lib/version.html +1 -1
- data/doc/strongdm_gemspec.html +0 -8
- data/doc/table_of_contents.html +697 -297
- data/examples/Gemfile +3 -0
- data/{lib/grpc/protoc-gen-swagger/options/annotations_pb.rb → examples/listUsers.rb} +7 -1
- data/lib/grpc/access_rules_pb.rb +115 -0
- data/lib/grpc/access_rules_services_pb.rb +50 -0
- data/lib/grpc/account_attachments_pb.rb +0 -2
- data/lib/grpc/account_attachments_services_pb.rb +1 -1
- data/lib/grpc/account_grants_pb.rb +0 -2
- data/lib/grpc/accounts_pb.rb +0 -2
- data/lib/grpc/accounts_services_pb.rb +3 -4
- data/lib/grpc/audits_pb.rb +40 -0
- data/lib/grpc/audits_services_pb.rb +37 -0
- data/lib/grpc/control_panel_pb.rb +38 -0
- data/lib/grpc/control_panel_services_pb.rb +37 -0
- data/lib/grpc/drivers_pb.rb +48 -10
- data/lib/grpc/nodes_pb.rb +0 -2
- data/lib/grpc/nodes_services_pb.rb +3 -4
- data/lib/grpc/options_pb.rb +18 -0
- data/lib/grpc/plumbing.rb +464 -19
- data/lib/grpc/resources_pb.rb +0 -1
- 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_healths_pb.rb +59 -0
- data/lib/grpc/secret_store_healths_services_pb.rb +39 -0
- data/lib/grpc/secret_stores_pb.rb +116 -0
- data/lib/grpc/secret_stores_services_pb.rb +44 -0
- data/lib/models/porcelain.rb +595 -60
- data/lib/strongdm.rb +13 -9
- data/lib/svc.rb +224 -9
- data/lib/version +1 -1
- data/lib/version.rb +1 -1
- data/strongdm.gemspec +1 -1
- metadata +52 -19
data/lib/grpc/resources_pb.rb
CHANGED
data/lib/grpc/role_grants_pb.rb
CHANGED
data/lib/grpc/roles_pb.rb
CHANGED
@@ -0,0 +1,59 @@
|
|
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_healths.proto
|
17
|
+
|
18
|
+
require "google/protobuf"
|
19
|
+
|
20
|
+
require "google/protobuf/timestamp_pb"
|
21
|
+
require "options_pb"
|
22
|
+
require "spec_pb"
|
23
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
24
|
+
add_file("secret_store_healths.proto", :syntax => :proto3) do
|
25
|
+
add_message "v1.SecretStoreHealthListRequest" do
|
26
|
+
optional :meta, :message, 1, "v1.ListRequestMetadata"
|
27
|
+
optional :filter, :string, 2
|
28
|
+
end
|
29
|
+
add_message "v1.SecretStoreHealthListResponse" do
|
30
|
+
optional :meta, :message, 1, "v1.ListResponseMetadata"
|
31
|
+
repeated :secret_store_healths, :message, 2, "v1.SecretStoreHealth"
|
32
|
+
optional :rate_limit, :message, 3, "v1.RateLimitMetadata"
|
33
|
+
end
|
34
|
+
add_message "v1.SecretStoreHealthCheckRequest" do
|
35
|
+
optional :meta, :message, 1, "v1.CreateRequestMetadata"
|
36
|
+
optional :secret_store_id, :string, 2
|
37
|
+
end
|
38
|
+
add_message "v1.SecretStoreHealthCheckResponse" do
|
39
|
+
optional :meta, :message, 1, "v1.CreateResponseMetadata"
|
40
|
+
optional :rate_limit, :message, 2, "v1.RateLimitMetadata"
|
41
|
+
end
|
42
|
+
add_message "v1.SecretStoreHealth" do
|
43
|
+
optional :secret_store_id, :string, 1
|
44
|
+
optional :node_id, :string, 2
|
45
|
+
optional :detail, :string, 3
|
46
|
+
optional :status, :string, 4
|
47
|
+
optional :changed_at, :message, 6, "google.protobuf.Timestamp"
|
48
|
+
optional :checked_at, :message, 7, "google.protobuf.Timestamp"
|
49
|
+
end
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
module V1
|
54
|
+
SecretStoreHealthListRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.SecretStoreHealthListRequest").msgclass
|
55
|
+
SecretStoreHealthListResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.SecretStoreHealthListResponse").msgclass
|
56
|
+
SecretStoreHealthCheckRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.SecretStoreHealthCheckRequest").msgclass
|
57
|
+
SecretStoreHealthCheckResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.SecretStoreHealthCheckResponse").msgclass
|
58
|
+
SecretStoreHealth = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.SecretStoreHealth").msgclass
|
59
|
+
end
|
@@ -0,0 +1,39 @@
|
|
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_healths.proto for package 'v1'
|
17
|
+
|
18
|
+
require "grpc"
|
19
|
+
require "secret_store_healths_pb"
|
20
|
+
|
21
|
+
module V1
|
22
|
+
module SecretStoreHealths
|
23
|
+
# Audit exposes the endpoints to extract point-in-time snapshot of data.
|
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.SecretStoreHealths"
|
30
|
+
|
31
|
+
# List lists an org's secret store healths
|
32
|
+
rpc :List, SecretStoreHealthListRequest, SecretStoreHealthListResponse
|
33
|
+
# Check pushes a healthcheck request for a secret store
|
34
|
+
rpc :Check, SecretStoreHealthCheckRequest, SecretStoreHealthCheckResponse
|
35
|
+
end
|
36
|
+
|
37
|
+
Stub = Service.rpc_stub_class
|
38
|
+
end
|
39
|
+
end
|
@@ -0,0 +1,116 @@
|
|
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 "tags_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
|
+
add_message "v1.SecretStore" do
|
71
|
+
oneof :secret_store do
|
72
|
+
optional :vault_tls, :message, 1, "v1.VaultTLSStore"
|
73
|
+
optional :vault_token, :message, 2, "v1.VaultTokenStore"
|
74
|
+
optional :aws, :message, 3, "v1.AWSStore"
|
75
|
+
end
|
76
|
+
end
|
77
|
+
add_message "v1.VaultTokenStore" do
|
78
|
+
optional :id, :string, 1
|
79
|
+
optional :name, :string, 2
|
80
|
+
optional :server_address, :string, 3
|
81
|
+
optional :tags, :message, 4, "v1.Tags"
|
82
|
+
end
|
83
|
+
add_message "v1.VaultTLSStore" do
|
84
|
+
optional :id, :string, 1
|
85
|
+
optional :name, :string, 2
|
86
|
+
optional :server_address, :string, 3
|
87
|
+
optional :CA_cert_path, :string, 4
|
88
|
+
optional :client_cert_path, :string, 5
|
89
|
+
optional :client_key_path, :string, 6
|
90
|
+
optional :tags, :message, 7, "v1.Tags"
|
91
|
+
end
|
92
|
+
add_message "v1.AWSStore" do
|
93
|
+
optional :id, :string, 1
|
94
|
+
optional :name, :string, 2
|
95
|
+
optional :region, :string, 3
|
96
|
+
optional :tags, :message, 4, "v1.Tags"
|
97
|
+
end
|
98
|
+
end
|
99
|
+
end
|
100
|
+
|
101
|
+
module V1
|
102
|
+
SecretStoreCreateRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.SecretStoreCreateRequest").msgclass
|
103
|
+
SecretStoreCreateResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.SecretStoreCreateResponse").msgclass
|
104
|
+
SecretStoreGetRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.SecretStoreGetRequest").msgclass
|
105
|
+
SecretStoreGetResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.SecretStoreGetResponse").msgclass
|
106
|
+
SecretStoreUpdateRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.SecretStoreUpdateRequest").msgclass
|
107
|
+
SecretStoreUpdateResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.SecretStoreUpdateResponse").msgclass
|
108
|
+
SecretStoreDeleteRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.SecretStoreDeleteRequest").msgclass
|
109
|
+
SecretStoreDeleteResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.SecretStoreDeleteResponse").msgclass
|
110
|
+
SecretStoreListRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.SecretStoreListRequest").msgclass
|
111
|
+
SecretStoreListResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.SecretStoreListResponse").msgclass
|
112
|
+
SecretStore = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.SecretStore").msgclass
|
113
|
+
VaultTokenStore = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.VaultTokenStore").msgclass
|
114
|
+
VaultTLSStore = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.VaultTLSStore").msgclass
|
115
|
+
AWSStore = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AWSStore").msgclass
|
116
|
+
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/models/porcelain.rb
CHANGED
@@ -211,7 +211,7 @@ module SDM
|
|
211
211
|
end
|
212
212
|
end
|
213
213
|
|
214
|
-
# AccountAttachments assign an account to a role.
|
214
|
+
# AccountAttachments assign an account to a role or composite role.
|
215
215
|
class AccountAttachment
|
216
216
|
# Unique identifier of the AccountAttachment.
|
217
217
|
attr_accessor :id
|
@@ -621,6 +621,42 @@ module SDM
|
|
621
621
|
end
|
622
622
|
end
|
623
623
|
|
624
|
+
# ControlPanelGetSSHCAPublicKeyResponse represents a request for an
|
625
|
+
# organization's SSH Certificate Authority public key.
|
626
|
+
class ControlPanelGetSSHCAPublicKeyResponse
|
627
|
+
# Reserved for future use.
|
628
|
+
attr_accessor :meta
|
629
|
+
# The public key of the SSH Certificate Authority, in OpenSSH RSA public
|
630
|
+
# key format.
|
631
|
+
attr_accessor :public_key
|
632
|
+
# Rate limit information.
|
633
|
+
attr_accessor :rate_limit
|
634
|
+
|
635
|
+
def initialize(
|
636
|
+
meta: nil,
|
637
|
+
public_key: nil,
|
638
|
+
rate_limit: nil
|
639
|
+
)
|
640
|
+
if meta != nil
|
641
|
+
@meta = meta
|
642
|
+
end
|
643
|
+
if public_key != nil
|
644
|
+
@public_key = public_key
|
645
|
+
end
|
646
|
+
if rate_limit != nil
|
647
|
+
@rate_limit = rate_limit
|
648
|
+
end
|
649
|
+
end
|
650
|
+
|
651
|
+
def to_json(options = {})
|
652
|
+
hash = {}
|
653
|
+
self.instance_variables.each do |var|
|
654
|
+
hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
|
655
|
+
end
|
656
|
+
hash.to_json
|
657
|
+
end
|
658
|
+
end
|
659
|
+
|
624
660
|
class Athena
|
625
661
|
# Unique identifier of the Resource.
|
626
662
|
attr_accessor :id
|
@@ -630,6 +666,8 @@ module SDM
|
|
630
666
|
attr_accessor :healthy
|
631
667
|
# Tags is a map of key, value pairs.
|
632
668
|
attr_accessor :tags
|
669
|
+
# ID of the secret store containing credentials for this resource, if any.
|
670
|
+
attr_accessor :secret_store_id
|
633
671
|
|
634
672
|
attr_accessor :access_key
|
635
673
|
|
@@ -646,6 +684,7 @@ module SDM
|
|
646
684
|
name: nil,
|
647
685
|
healthy: nil,
|
648
686
|
tags: nil,
|
687
|
+
secret_store_id: nil,
|
649
688
|
access_key: nil,
|
650
689
|
secret_access_key: nil,
|
651
690
|
output: nil,
|
@@ -664,6 +703,9 @@ module SDM
|
|
664
703
|
if tags != nil
|
665
704
|
@tags = tags
|
666
705
|
end
|
706
|
+
if secret_store_id != nil
|
707
|
+
@secret_store_id = secret_store_id
|
708
|
+
end
|
667
709
|
if access_key != nil
|
668
710
|
@access_key = access_key
|
669
711
|
end
|
@@ -699,6 +741,8 @@ module SDM
|
|
699
741
|
attr_accessor :healthy
|
700
742
|
# Tags is a map of key, value pairs.
|
701
743
|
attr_accessor :tags
|
744
|
+
# ID of the secret store containing credentials for this resource, if any.
|
745
|
+
attr_accessor :secret_store_id
|
702
746
|
|
703
747
|
attr_accessor :private_key
|
704
748
|
|
@@ -715,6 +759,7 @@ module SDM
|
|
715
759
|
name: nil,
|
716
760
|
healthy: nil,
|
717
761
|
tags: nil,
|
762
|
+
secret_store_id: nil,
|
718
763
|
private_key: nil,
|
719
764
|
project: nil,
|
720
765
|
port_override: nil,
|
@@ -733,6 +778,9 @@ module SDM
|
|
733
778
|
if tags != nil
|
734
779
|
@tags = tags
|
735
780
|
end
|
781
|
+
if secret_store_id != nil
|
782
|
+
@secret_store_id = secret_store_id
|
783
|
+
end
|
736
784
|
if private_key != nil
|
737
785
|
@private_key = private_key
|
738
786
|
end
|
@@ -768,6 +816,8 @@ module SDM
|
|
768
816
|
attr_accessor :healthy
|
769
817
|
# Tags is a map of key, value pairs.
|
770
818
|
attr_accessor :tags
|
819
|
+
# ID of the secret store containing credentials for this resource, if any.
|
820
|
+
attr_accessor :secret_store_id
|
771
821
|
|
772
822
|
attr_accessor :hostname
|
773
823
|
|
@@ -786,6 +836,7 @@ module SDM
|
|
786
836
|
name: nil,
|
787
837
|
healthy: nil,
|
788
838
|
tags: nil,
|
839
|
+
secret_store_id: nil,
|
789
840
|
hostname: nil,
|
790
841
|
username: nil,
|
791
842
|
password: nil,
|
@@ -805,6 +856,9 @@ module SDM
|
|
805
856
|
if tags != nil
|
806
857
|
@tags = tags
|
807
858
|
end
|
859
|
+
if secret_store_id != nil
|
860
|
+
@secret_store_id = secret_store_id
|
861
|
+
end
|
808
862
|
if hostname != nil
|
809
863
|
@hostname = hostname
|
810
864
|
end
|
@@ -843,6 +897,8 @@ module SDM
|
|
843
897
|
attr_accessor :healthy
|
844
898
|
# Tags is a map of key, value pairs.
|
845
899
|
attr_accessor :tags
|
900
|
+
# ID of the secret store containing credentials for this resource, if any.
|
901
|
+
attr_accessor :secret_store_id
|
846
902
|
|
847
903
|
attr_accessor :hostname
|
848
904
|
|
@@ -861,6 +917,7 @@ module SDM
|
|
861
917
|
name: nil,
|
862
918
|
healthy: nil,
|
863
919
|
tags: nil,
|
920
|
+
secret_store_id: nil,
|
864
921
|
hostname: nil,
|
865
922
|
username: nil,
|
866
923
|
password: nil,
|
@@ -880,6 +937,9 @@ module SDM
|
|
880
937
|
if tags != nil
|
881
938
|
@tags = tags
|
882
939
|
end
|
940
|
+
if secret_store_id != nil
|
941
|
+
@secret_store_id = secret_store_id
|
942
|
+
end
|
883
943
|
if hostname != nil
|
884
944
|
@hostname = hostname
|
885
945
|
end
|
@@ -918,6 +978,8 @@ module SDM
|
|
918
978
|
attr_accessor :healthy
|
919
979
|
# Tags is a map of key, value pairs.
|
920
980
|
attr_accessor :tags
|
981
|
+
# ID of the secret store containing credentials for this resource, if any.
|
982
|
+
attr_accessor :secret_store_id
|
921
983
|
|
922
984
|
attr_accessor :hostname
|
923
985
|
|
@@ -936,6 +998,7 @@ module SDM
|
|
936
998
|
name: nil,
|
937
999
|
healthy: nil,
|
938
1000
|
tags: nil,
|
1001
|
+
secret_store_id: nil,
|
939
1002
|
hostname: nil,
|
940
1003
|
username: nil,
|
941
1004
|
password: nil,
|
@@ -955,6 +1018,9 @@ module SDM
|
|
955
1018
|
if tags != nil
|
956
1019
|
@tags = tags
|
957
1020
|
end
|
1021
|
+
if secret_store_id != nil
|
1022
|
+
@secret_store_id = secret_store_id
|
1023
|
+
end
|
958
1024
|
if hostname != nil
|
959
1025
|
@hostname = hostname
|
960
1026
|
end
|
@@ -993,6 +1059,8 @@ module SDM
|
|
993
1059
|
attr_accessor :healthy
|
994
1060
|
# Tags is a map of key, value pairs.
|
995
1061
|
attr_accessor :tags
|
1062
|
+
# ID of the secret store containing credentials for this resource, if any.
|
1063
|
+
attr_accessor :secret_store_id
|
996
1064
|
|
997
1065
|
attr_accessor :hostname
|
998
1066
|
|
@@ -1009,6 +1077,7 @@ module SDM
|
|
1009
1077
|
name: nil,
|
1010
1078
|
healthy: nil,
|
1011
1079
|
tags: nil,
|
1080
|
+
secret_store_id: nil,
|
1012
1081
|
hostname: nil,
|
1013
1082
|
port_override: nil,
|
1014
1083
|
username: nil,
|
@@ -1027,6 +1096,9 @@ module SDM
|
|
1027
1096
|
if tags != nil
|
1028
1097
|
@tags = tags
|
1029
1098
|
end
|
1099
|
+
if secret_store_id != nil
|
1100
|
+
@secret_store_id = secret_store_id
|
1101
|
+
end
|
1030
1102
|
if hostname != nil
|
1031
1103
|
@hostname = hostname
|
1032
1104
|
end
|
@@ -1062,6 +1134,8 @@ module SDM
|
|
1062
1134
|
attr_accessor :healthy
|
1063
1135
|
# Tags is a map of key, value pairs.
|
1064
1136
|
attr_accessor :tags
|
1137
|
+
# ID of the secret store containing credentials for this resource, if any.
|
1138
|
+
attr_accessor :secret_store_id
|
1065
1139
|
|
1066
1140
|
attr_accessor :access_key
|
1067
1141
|
|
@@ -1078,6 +1152,7 @@ module SDM
|
|
1078
1152
|
name: nil,
|
1079
1153
|
healthy: nil,
|
1080
1154
|
tags: nil,
|
1155
|
+
secret_store_id: nil,
|
1081
1156
|
access_key: nil,
|
1082
1157
|
secret_access_key: nil,
|
1083
1158
|
region: nil,
|
@@ -1096,6 +1171,9 @@ module SDM
|
|
1096
1171
|
if tags != nil
|
1097
1172
|
@tags = tags
|
1098
1173
|
end
|
1174
|
+
if secret_store_id != nil
|
1175
|
+
@secret_store_id = secret_store_id
|
1176
|
+
end
|
1099
1177
|
if access_key != nil
|
1100
1178
|
@access_key = access_key
|
1101
1179
|
end
|
@@ -1131,6 +1209,8 @@ module SDM
|
|
1131
1209
|
attr_accessor :healthy
|
1132
1210
|
# Tags is a map of key, value pairs.
|
1133
1211
|
attr_accessor :tags
|
1212
|
+
# ID of the secret store containing credentials for this resource, if any.
|
1213
|
+
attr_accessor :secret_store_id
|
1134
1214
|
|
1135
1215
|
attr_accessor :region
|
1136
1216
|
|
@@ -1147,6 +1227,7 @@ module SDM
|
|
1147
1227
|
name: nil,
|
1148
1228
|
healthy: nil,
|
1149
1229
|
tags: nil,
|
1230
|
+
secret_store_id: nil,
|
1150
1231
|
region: nil,
|
1151
1232
|
secret_access_key: nil,
|
1152
1233
|
endpoint: nil,
|
@@ -1165,6 +1246,9 @@ module SDM
|
|
1165
1246
|
if tags != nil
|
1166
1247
|
@tags = tags
|
1167
1248
|
end
|
1249
|
+
if secret_store_id != nil
|
1250
|
+
@secret_store_id = secret_store_id
|
1251
|
+
end
|
1168
1252
|
if region != nil
|
1169
1253
|
@region = region
|
1170
1254
|
end
|
@@ -1200,6 +1284,8 @@ module SDM
|
|
1200
1284
|
attr_accessor :healthy
|
1201
1285
|
# Tags is a map of key, value pairs.
|
1202
1286
|
attr_accessor :tags
|
1287
|
+
# ID of the secret store containing credentials for this resource, if any.
|
1288
|
+
attr_accessor :secret_store_id
|
1203
1289
|
|
1204
1290
|
attr_accessor :hostname
|
1205
1291
|
|
@@ -1218,6 +1304,7 @@ module SDM
|
|
1218
1304
|
name: nil,
|
1219
1305
|
healthy: nil,
|
1220
1306
|
tags: nil,
|
1307
|
+
secret_store_id: nil,
|
1221
1308
|
hostname: nil,
|
1222
1309
|
username: nil,
|
1223
1310
|
password: nil,
|
@@ -1237,6 +1324,9 @@ module SDM
|
|
1237
1324
|
if tags != nil
|
1238
1325
|
@tags = tags
|
1239
1326
|
end
|
1327
|
+
if secret_store_id != nil
|
1328
|
+
@secret_store_id = secret_store_id
|
1329
|
+
end
|
1240
1330
|
if hostname != nil
|
1241
1331
|
@hostname = hostname
|
1242
1332
|
end
|
@@ -1275,6 +1365,8 @@ module SDM
|
|
1275
1365
|
attr_accessor :healthy
|
1276
1366
|
# Tags is a map of key, value pairs.
|
1277
1367
|
attr_accessor :tags
|
1368
|
+
# ID of the secret store containing credentials for this resource, if any.
|
1369
|
+
attr_accessor :secret_store_id
|
1278
1370
|
|
1279
1371
|
attr_accessor :url
|
1280
1372
|
|
@@ -1295,6 +1387,7 @@ module SDM
|
|
1295
1387
|
name: nil,
|
1296
1388
|
healthy: nil,
|
1297
1389
|
tags: nil,
|
1390
|
+
secret_store_id: nil,
|
1298
1391
|
url: nil,
|
1299
1392
|
healthcheck_path: nil,
|
1300
1393
|
username: nil,
|
@@ -1315,6 +1408,9 @@ module SDM
|
|
1315
1408
|
if tags != nil
|
1316
1409
|
@tags = tags
|
1317
1410
|
end
|
1411
|
+
if secret_store_id != nil
|
1412
|
+
@secret_store_id = secret_store_id
|
1413
|
+
end
|
1318
1414
|
if url != nil
|
1319
1415
|
@url = url
|
1320
1416
|
end
|
@@ -1356,6 +1452,8 @@ module SDM
|
|
1356
1452
|
attr_accessor :healthy
|
1357
1453
|
# Tags is a map of key, value pairs.
|
1358
1454
|
attr_accessor :tags
|
1455
|
+
# ID of the secret store containing credentials for this resource, if any.
|
1456
|
+
attr_accessor :secret_store_id
|
1359
1457
|
|
1360
1458
|
attr_accessor :url
|
1361
1459
|
|
@@ -1372,6 +1470,7 @@ module SDM
|
|
1372
1470
|
name: nil,
|
1373
1471
|
healthy: nil,
|
1374
1472
|
tags: nil,
|
1473
|
+
secret_store_id: nil,
|
1375
1474
|
url: nil,
|
1376
1475
|
healthcheck_path: nil,
|
1377
1476
|
headers_blacklist: nil,
|
@@ -1390,6 +1489,9 @@ module SDM
|
|
1390
1489
|
if tags != nil
|
1391
1490
|
@tags = tags
|
1392
1491
|
end
|
1492
|
+
if secret_store_id != nil
|
1493
|
+
@secret_store_id = secret_store_id
|
1494
|
+
end
|
1393
1495
|
if url != nil
|
1394
1496
|
@url = url
|
1395
1497
|
end
|
@@ -1425,6 +1527,8 @@ module SDM
|
|
1425
1527
|
attr_accessor :healthy
|
1426
1528
|
# Tags is a map of key, value pairs.
|
1427
1529
|
attr_accessor :tags
|
1530
|
+
# ID of the secret store containing credentials for this resource, if any.
|
1531
|
+
attr_accessor :secret_store_id
|
1428
1532
|
|
1429
1533
|
attr_accessor :url
|
1430
1534
|
|
@@ -1443,6 +1547,7 @@ module SDM
|
|
1443
1547
|
name: nil,
|
1444
1548
|
healthy: nil,
|
1445
1549
|
tags: nil,
|
1550
|
+
secret_store_id: nil,
|
1446
1551
|
url: nil,
|
1447
1552
|
healthcheck_path: nil,
|
1448
1553
|
auth_header: nil,
|
@@ -1462,6 +1567,9 @@ module SDM
|
|
1462
1567
|
if tags != nil
|
1463
1568
|
@tags = tags
|
1464
1569
|
end
|
1570
|
+
if secret_store_id != nil
|
1571
|
+
@secret_store_id = secret_store_id
|
1572
|
+
end
|
1465
1573
|
if url != nil
|
1466
1574
|
@url = url
|
1467
1575
|
end
|
@@ -1500,6 +1608,8 @@ module SDM
|
|
1500
1608
|
attr_accessor :healthy
|
1501
1609
|
# Tags is a map of key, value pairs.
|
1502
1610
|
attr_accessor :tags
|
1611
|
+
# ID of the secret store containing credentials for this resource, if any.
|
1612
|
+
attr_accessor :secret_store_id
|
1503
1613
|
|
1504
1614
|
attr_accessor :hostname
|
1505
1615
|
|
@@ -1507,16 +1617,10 @@ module SDM
|
|
1507
1617
|
|
1508
1618
|
attr_accessor :certificate_authority
|
1509
1619
|
|
1510
|
-
attr_accessor :certificate_authority_filename
|
1511
|
-
|
1512
1620
|
attr_accessor :client_certificate
|
1513
1621
|
|
1514
|
-
attr_accessor :client_certificate_filename
|
1515
|
-
|
1516
1622
|
attr_accessor :client_key
|
1517
1623
|
|
1518
|
-
attr_accessor :client_key_filename
|
1519
|
-
|
1520
1624
|
attr_accessor :healthcheck_namespace
|
1521
1625
|
|
1522
1626
|
def initialize(
|
@@ -1524,14 +1628,12 @@ module SDM
|
|
1524
1628
|
name: nil,
|
1525
1629
|
healthy: nil,
|
1526
1630
|
tags: nil,
|
1631
|
+
secret_store_id: nil,
|
1527
1632
|
hostname: nil,
|
1528
1633
|
port: nil,
|
1529
1634
|
certificate_authority: nil,
|
1530
|
-
certificate_authority_filename: nil,
|
1531
1635
|
client_certificate: nil,
|
1532
|
-
client_certificate_filename: nil,
|
1533
1636
|
client_key: nil,
|
1534
|
-
client_key_filename: nil,
|
1535
1637
|
healthcheck_namespace: nil
|
1536
1638
|
)
|
1537
1639
|
if id != nil
|
@@ -1546,6 +1648,9 @@ module SDM
|
|
1546
1648
|
if tags != nil
|
1547
1649
|
@tags = tags
|
1548
1650
|
end
|
1651
|
+
if secret_store_id != nil
|
1652
|
+
@secret_store_id = secret_store_id
|
1653
|
+
end
|
1549
1654
|
if hostname != nil
|
1550
1655
|
@hostname = hostname
|
1551
1656
|
end
|
@@ -1555,21 +1660,12 @@ module SDM
|
|
1555
1660
|
if certificate_authority != nil
|
1556
1661
|
@certificate_authority = certificate_authority
|
1557
1662
|
end
|
1558
|
-
if certificate_authority_filename != nil
|
1559
|
-
@certificate_authority_filename = certificate_authority_filename
|
1560
|
-
end
|
1561
1663
|
if client_certificate != nil
|
1562
1664
|
@client_certificate = client_certificate
|
1563
1665
|
end
|
1564
|
-
if client_certificate_filename != nil
|
1565
|
-
@client_certificate_filename = client_certificate_filename
|
1566
|
-
end
|
1567
1666
|
if client_key != nil
|
1568
1667
|
@client_key = client_key
|
1569
1668
|
end
|
1570
|
-
if client_key_filename != nil
|
1571
|
-
@client_key_filename = client_key_filename
|
1572
|
-
end
|
1573
1669
|
if healthcheck_namespace != nil
|
1574
1670
|
@healthcheck_namespace = healthcheck_namespace
|
1575
1671
|
end
|
@@ -1593,6 +1689,8 @@ module SDM
|
|
1593
1689
|
attr_accessor :healthy
|
1594
1690
|
# Tags is a map of key, value pairs.
|
1595
1691
|
attr_accessor :tags
|
1692
|
+
# ID of the secret store containing credentials for this resource, if any.
|
1693
|
+
attr_accessor :secret_store_id
|
1596
1694
|
|
1597
1695
|
attr_accessor :hostname
|
1598
1696
|
|
@@ -1609,6 +1707,7 @@ module SDM
|
|
1609
1707
|
name: nil,
|
1610
1708
|
healthy: nil,
|
1611
1709
|
tags: nil,
|
1710
|
+
secret_store_id: nil,
|
1612
1711
|
hostname: nil,
|
1613
1712
|
port: nil,
|
1614
1713
|
username: nil,
|
@@ -1627,6 +1726,9 @@ module SDM
|
|
1627
1726
|
if tags != nil
|
1628
1727
|
@tags = tags
|
1629
1728
|
end
|
1729
|
+
if secret_store_id != nil
|
1730
|
+
@secret_store_id = secret_store_id
|
1731
|
+
end
|
1630
1732
|
if hostname != nil
|
1631
1733
|
@hostname = hostname
|
1632
1734
|
end
|
@@ -1662,6 +1764,8 @@ module SDM
|
|
1662
1764
|
attr_accessor :healthy
|
1663
1765
|
# Tags is a map of key, value pairs.
|
1664
1766
|
attr_accessor :tags
|
1767
|
+
# ID of the secret store containing credentials for this resource, if any.
|
1768
|
+
attr_accessor :secret_store_id
|
1665
1769
|
|
1666
1770
|
attr_accessor :hostname
|
1667
1771
|
|
@@ -1676,6 +1780,7 @@ module SDM
|
|
1676
1780
|
name: nil,
|
1677
1781
|
healthy: nil,
|
1678
1782
|
tags: nil,
|
1783
|
+
secret_store_id: nil,
|
1679
1784
|
hostname: nil,
|
1680
1785
|
port: nil,
|
1681
1786
|
token: nil,
|
@@ -1693,6 +1798,9 @@ module SDM
|
|
1693
1798
|
if tags != nil
|
1694
1799
|
@tags = tags
|
1695
1800
|
end
|
1801
|
+
if secret_store_id != nil
|
1802
|
+
@secret_store_id = secret_store_id
|
1803
|
+
end
|
1696
1804
|
if hostname != nil
|
1697
1805
|
@hostname = hostname
|
1698
1806
|
end
|
@@ -1725,6 +1833,8 @@ module SDM
|
|
1725
1833
|
attr_accessor :healthy
|
1726
1834
|
# Tags is a map of key, value pairs.
|
1727
1835
|
attr_accessor :tags
|
1836
|
+
# ID of the secret store containing credentials for this resource, if any.
|
1837
|
+
attr_accessor :secret_store_id
|
1728
1838
|
|
1729
1839
|
attr_accessor :endpoint
|
1730
1840
|
|
@@ -1734,8 +1844,6 @@ module SDM
|
|
1734
1844
|
|
1735
1845
|
attr_accessor :certificate_authority
|
1736
1846
|
|
1737
|
-
attr_accessor :certificate_authority_filename
|
1738
|
-
|
1739
1847
|
attr_accessor :region
|
1740
1848
|
|
1741
1849
|
attr_accessor :cluster_name
|
@@ -1749,11 +1857,11 @@ module SDM
|
|
1749
1857
|
name: nil,
|
1750
1858
|
healthy: nil,
|
1751
1859
|
tags: nil,
|
1860
|
+
secret_store_id: nil,
|
1752
1861
|
endpoint: nil,
|
1753
1862
|
access_key: nil,
|
1754
1863
|
secret_access_key: nil,
|
1755
1864
|
certificate_authority: nil,
|
1756
|
-
certificate_authority_filename: nil,
|
1757
1865
|
region: nil,
|
1758
1866
|
cluster_name: nil,
|
1759
1867
|
role_arn: nil,
|
@@ -1771,6 +1879,9 @@ module SDM
|
|
1771
1879
|
if tags != nil
|
1772
1880
|
@tags = tags
|
1773
1881
|
end
|
1882
|
+
if secret_store_id != nil
|
1883
|
+
@secret_store_id = secret_store_id
|
1884
|
+
end
|
1774
1885
|
if endpoint != nil
|
1775
1886
|
@endpoint = endpoint
|
1776
1887
|
end
|
@@ -1783,9 +1894,6 @@ module SDM
|
|
1783
1894
|
if certificate_authority != nil
|
1784
1895
|
@certificate_authority = certificate_authority
|
1785
1896
|
end
|
1786
|
-
if certificate_authority_filename != nil
|
1787
|
-
@certificate_authority_filename = certificate_authority_filename
|
1788
|
-
end
|
1789
1897
|
if region != nil
|
1790
1898
|
@region = region
|
1791
1899
|
end
|
@@ -1818,17 +1926,15 @@ module SDM
|
|
1818
1926
|
attr_accessor :healthy
|
1819
1927
|
# Tags is a map of key, value pairs.
|
1820
1928
|
attr_accessor :tags
|
1929
|
+
# ID of the secret store containing credentials for this resource, if any.
|
1930
|
+
attr_accessor :secret_store_id
|
1821
1931
|
|
1822
1932
|
attr_accessor :endpoint
|
1823
1933
|
|
1824
1934
|
attr_accessor :certificate_authority
|
1825
1935
|
|
1826
|
-
attr_accessor :certificate_authority_filename
|
1827
|
-
|
1828
1936
|
attr_accessor :service_account_key
|
1829
1937
|
|
1830
|
-
attr_accessor :service_account_key_filename
|
1831
|
-
|
1832
1938
|
attr_accessor :healthcheck_namespace
|
1833
1939
|
|
1834
1940
|
def initialize(
|
@@ -1836,11 +1942,10 @@ module SDM
|
|
1836
1942
|
name: nil,
|
1837
1943
|
healthy: nil,
|
1838
1944
|
tags: nil,
|
1945
|
+
secret_store_id: nil,
|
1839
1946
|
endpoint: nil,
|
1840
1947
|
certificate_authority: nil,
|
1841
|
-
certificate_authority_filename: nil,
|
1842
1948
|
service_account_key: nil,
|
1843
|
-
service_account_key_filename: nil,
|
1844
1949
|
healthcheck_namespace: nil
|
1845
1950
|
)
|
1846
1951
|
if id != nil
|
@@ -1855,21 +1960,18 @@ module SDM
|
|
1855
1960
|
if tags != nil
|
1856
1961
|
@tags = tags
|
1857
1962
|
end
|
1963
|
+
if secret_store_id != nil
|
1964
|
+
@secret_store_id = secret_store_id
|
1965
|
+
end
|
1858
1966
|
if endpoint != nil
|
1859
1967
|
@endpoint = endpoint
|
1860
1968
|
end
|
1861
1969
|
if certificate_authority != nil
|
1862
1970
|
@certificate_authority = certificate_authority
|
1863
1971
|
end
|
1864
|
-
if certificate_authority_filename != nil
|
1865
|
-
@certificate_authority_filename = certificate_authority_filename
|
1866
|
-
end
|
1867
1972
|
if service_account_key != nil
|
1868
1973
|
@service_account_key = service_account_key
|
1869
1974
|
end
|
1870
|
-
if service_account_key_filename != nil
|
1871
|
-
@service_account_key_filename = service_account_key_filename
|
1872
|
-
end
|
1873
1975
|
if healthcheck_namespace != nil
|
1874
1976
|
@healthcheck_namespace = healthcheck_namespace
|
1875
1977
|
end
|
@@ -1893,6 +1995,8 @@ module SDM
|
|
1893
1995
|
attr_accessor :healthy
|
1894
1996
|
# Tags is a map of key, value pairs.
|
1895
1997
|
attr_accessor :tags
|
1998
|
+
# ID of the secret store containing credentials for this resource, if any.
|
1999
|
+
attr_accessor :secret_store_id
|
1896
2000
|
|
1897
2001
|
attr_accessor :hostname
|
1898
2002
|
|
@@ -1900,16 +2004,10 @@ module SDM
|
|
1900
2004
|
|
1901
2005
|
attr_accessor :certificate_authority
|
1902
2006
|
|
1903
|
-
attr_accessor :certificate_authority_filename
|
1904
|
-
|
1905
2007
|
attr_accessor :client_certificate
|
1906
2008
|
|
1907
|
-
attr_accessor :client_certificate_filename
|
1908
|
-
|
1909
2009
|
attr_accessor :client_key
|
1910
2010
|
|
1911
|
-
attr_accessor :client_key_filename
|
1912
|
-
|
1913
2011
|
attr_accessor :healthcheck_namespace
|
1914
2012
|
|
1915
2013
|
def initialize(
|
@@ -1917,14 +2015,12 @@ module SDM
|
|
1917
2015
|
name: nil,
|
1918
2016
|
healthy: nil,
|
1919
2017
|
tags: nil,
|
2018
|
+
secret_store_id: nil,
|
1920
2019
|
hostname: nil,
|
1921
2020
|
port: nil,
|
1922
2021
|
certificate_authority: nil,
|
1923
|
-
certificate_authority_filename: nil,
|
1924
2022
|
client_certificate: nil,
|
1925
|
-
client_certificate_filename: nil,
|
1926
2023
|
client_key: nil,
|
1927
|
-
client_key_filename: nil,
|
1928
2024
|
healthcheck_namespace: nil
|
1929
2025
|
)
|
1930
2026
|
if id != nil
|
@@ -1939,6 +2035,9 @@ module SDM
|
|
1939
2035
|
if tags != nil
|
1940
2036
|
@tags = tags
|
1941
2037
|
end
|
2038
|
+
if secret_store_id != nil
|
2039
|
+
@secret_store_id = secret_store_id
|
2040
|
+
end
|
1942
2041
|
if hostname != nil
|
1943
2042
|
@hostname = hostname
|
1944
2043
|
end
|
@@ -1948,21 +2047,12 @@ module SDM
|
|
1948
2047
|
if certificate_authority != nil
|
1949
2048
|
@certificate_authority = certificate_authority
|
1950
2049
|
end
|
1951
|
-
if certificate_authority_filename != nil
|
1952
|
-
@certificate_authority_filename = certificate_authority_filename
|
1953
|
-
end
|
1954
2050
|
if client_certificate != nil
|
1955
2051
|
@client_certificate = client_certificate
|
1956
2052
|
end
|
1957
|
-
if client_certificate_filename != nil
|
1958
|
-
@client_certificate_filename = client_certificate_filename
|
1959
|
-
end
|
1960
2053
|
if client_key != nil
|
1961
2054
|
@client_key = client_key
|
1962
2055
|
end
|
1963
|
-
if client_key_filename != nil
|
1964
|
-
@client_key_filename = client_key_filename
|
1965
|
-
end
|
1966
2056
|
if healthcheck_namespace != nil
|
1967
2057
|
@healthcheck_namespace = healthcheck_namespace
|
1968
2058
|
end
|
@@ -1986,6 +2076,8 @@ module SDM
|
|
1986
2076
|
attr_accessor :healthy
|
1987
2077
|
# Tags is a map of key, value pairs.
|
1988
2078
|
attr_accessor :tags
|
2079
|
+
# ID of the secret store containing credentials for this resource, if any.
|
2080
|
+
attr_accessor :secret_store_id
|
1989
2081
|
|
1990
2082
|
attr_accessor :hostname
|
1991
2083
|
|
@@ -2002,6 +2094,7 @@ module SDM
|
|
2002
2094
|
name: nil,
|
2003
2095
|
healthy: nil,
|
2004
2096
|
tags: nil,
|
2097
|
+
secret_store_id: nil,
|
2005
2098
|
hostname: nil,
|
2006
2099
|
port: nil,
|
2007
2100
|
username: nil,
|
@@ -2020,6 +2113,9 @@ module SDM
|
|
2020
2113
|
if tags != nil
|
2021
2114
|
@tags = tags
|
2022
2115
|
end
|
2116
|
+
if secret_store_id != nil
|
2117
|
+
@secret_store_id = secret_store_id
|
2118
|
+
end
|
2023
2119
|
if hostname != nil
|
2024
2120
|
@hostname = hostname
|
2025
2121
|
end
|
@@ -2055,6 +2151,8 @@ module SDM
|
|
2055
2151
|
attr_accessor :healthy
|
2056
2152
|
# Tags is a map of key, value pairs.
|
2057
2153
|
attr_accessor :tags
|
2154
|
+
# ID of the secret store containing credentials for this resource, if any.
|
2155
|
+
attr_accessor :secret_store_id
|
2058
2156
|
|
2059
2157
|
attr_accessor :hostname
|
2060
2158
|
|
@@ -2069,6 +2167,7 @@ module SDM
|
|
2069
2167
|
name: nil,
|
2070
2168
|
healthy: nil,
|
2071
2169
|
tags: nil,
|
2170
|
+
secret_store_id: nil,
|
2072
2171
|
hostname: nil,
|
2073
2172
|
port: nil,
|
2074
2173
|
token: nil,
|
@@ -2086,6 +2185,9 @@ module SDM
|
|
2086
2185
|
if tags != nil
|
2087
2186
|
@tags = tags
|
2088
2187
|
end
|
2188
|
+
if secret_store_id != nil
|
2189
|
+
@secret_store_id = secret_store_id
|
2190
|
+
end
|
2089
2191
|
if hostname != nil
|
2090
2192
|
@hostname = hostname
|
2091
2193
|
end
|
@@ -2118,6 +2220,8 @@ module SDM
|
|
2118
2220
|
attr_accessor :healthy
|
2119
2221
|
# Tags is a map of key, value pairs.
|
2120
2222
|
attr_accessor :tags
|
2223
|
+
# ID of the secret store containing credentials for this resource, if any.
|
2224
|
+
attr_accessor :secret_store_id
|
2121
2225
|
|
2122
2226
|
attr_accessor :hostname
|
2123
2227
|
|
@@ -2130,6 +2234,7 @@ module SDM
|
|
2130
2234
|
name: nil,
|
2131
2235
|
healthy: nil,
|
2132
2236
|
tags: nil,
|
2237
|
+
secret_store_id: nil,
|
2133
2238
|
hostname: nil,
|
2134
2239
|
port_override: nil,
|
2135
2240
|
port: nil
|
@@ -2146,6 +2251,9 @@ module SDM
|
|
2146
2251
|
if tags != nil
|
2147
2252
|
@tags = tags
|
2148
2253
|
end
|
2254
|
+
if secret_store_id != nil
|
2255
|
+
@secret_store_id = secret_store_id
|
2256
|
+
end
|
2149
2257
|
if hostname != nil
|
2150
2258
|
@hostname = hostname
|
2151
2259
|
end
|
@@ -2175,6 +2283,8 @@ module SDM
|
|
2175
2283
|
attr_accessor :healthy
|
2176
2284
|
# Tags is a map of key, value pairs.
|
2177
2285
|
attr_accessor :tags
|
2286
|
+
# ID of the secret store containing credentials for this resource, if any.
|
2287
|
+
attr_accessor :secret_store_id
|
2178
2288
|
|
2179
2289
|
attr_accessor :hostname
|
2180
2290
|
|
@@ -2197,6 +2307,7 @@ module SDM
|
|
2197
2307
|
name: nil,
|
2198
2308
|
healthy: nil,
|
2199
2309
|
tags: nil,
|
2310
|
+
secret_store_id: nil,
|
2200
2311
|
hostname: nil,
|
2201
2312
|
auth_database: nil,
|
2202
2313
|
port_override: nil,
|
@@ -2218,6 +2329,9 @@ module SDM
|
|
2218
2329
|
if tags != nil
|
2219
2330
|
@tags = tags
|
2220
2331
|
end
|
2332
|
+
if secret_store_id != nil
|
2333
|
+
@secret_store_id = secret_store_id
|
2334
|
+
end
|
2221
2335
|
if hostname != nil
|
2222
2336
|
@hostname = hostname
|
2223
2337
|
end
|
@@ -2262,6 +2376,8 @@ module SDM
|
|
2262
2376
|
attr_accessor :healthy
|
2263
2377
|
# Tags is a map of key, value pairs.
|
2264
2378
|
attr_accessor :tags
|
2379
|
+
# ID of the secret store containing credentials for this resource, if any.
|
2380
|
+
attr_accessor :secret_store_id
|
2265
2381
|
|
2266
2382
|
attr_accessor :hostname
|
2267
2383
|
|
@@ -2286,6 +2402,7 @@ module SDM
|
|
2286
2402
|
name: nil,
|
2287
2403
|
healthy: nil,
|
2288
2404
|
tags: nil,
|
2405
|
+
secret_store_id: nil,
|
2289
2406
|
hostname: nil,
|
2290
2407
|
auth_database: nil,
|
2291
2408
|
port_override: nil,
|
@@ -2308,6 +2425,9 @@ module SDM
|
|
2308
2425
|
if tags != nil
|
2309
2426
|
@tags = tags
|
2310
2427
|
end
|
2428
|
+
if secret_store_id != nil
|
2429
|
+
@secret_store_id = secret_store_id
|
2430
|
+
end
|
2311
2431
|
if hostname != nil
|
2312
2432
|
@hostname = hostname
|
2313
2433
|
end
|
@@ -2355,6 +2475,8 @@ module SDM
|
|
2355
2475
|
attr_accessor :healthy
|
2356
2476
|
# Tags is a map of key, value pairs.
|
2357
2477
|
attr_accessor :tags
|
2478
|
+
# ID of the secret store containing credentials for this resource, if any.
|
2479
|
+
attr_accessor :secret_store_id
|
2358
2480
|
|
2359
2481
|
attr_accessor :hostname
|
2360
2482
|
|
@@ -2375,6 +2497,7 @@ module SDM
|
|
2375
2497
|
name: nil,
|
2376
2498
|
healthy: nil,
|
2377
2499
|
tags: nil,
|
2500
|
+
secret_store_id: nil,
|
2378
2501
|
hostname: nil,
|
2379
2502
|
auth_database: nil,
|
2380
2503
|
port_override: nil,
|
@@ -2395,6 +2518,9 @@ module SDM
|
|
2395
2518
|
if tags != nil
|
2396
2519
|
@tags = tags
|
2397
2520
|
end
|
2521
|
+
if secret_store_id != nil
|
2522
|
+
@secret_store_id = secret_store_id
|
2523
|
+
end
|
2398
2524
|
if hostname != nil
|
2399
2525
|
@hostname = hostname
|
2400
2526
|
end
|
@@ -2436,6 +2562,8 @@ module SDM
|
|
2436
2562
|
attr_accessor :healthy
|
2437
2563
|
# Tags is a map of key, value pairs.
|
2438
2564
|
attr_accessor :tags
|
2565
|
+
# ID of the secret store containing credentials for this resource, if any.
|
2566
|
+
attr_accessor :secret_store_id
|
2439
2567
|
|
2440
2568
|
attr_accessor :hostname
|
2441
2569
|
|
@@ -2460,6 +2588,7 @@ module SDM
|
|
2460
2588
|
name: nil,
|
2461
2589
|
healthy: nil,
|
2462
2590
|
tags: nil,
|
2591
|
+
secret_store_id: nil,
|
2463
2592
|
hostname: nil,
|
2464
2593
|
auth_database: nil,
|
2465
2594
|
port_override: nil,
|
@@ -2482,6 +2611,9 @@ module SDM
|
|
2482
2611
|
if tags != nil
|
2483
2612
|
@tags = tags
|
2484
2613
|
end
|
2614
|
+
if secret_store_id != nil
|
2615
|
+
@secret_store_id = secret_store_id
|
2616
|
+
end
|
2485
2617
|
if hostname != nil
|
2486
2618
|
@hostname = hostname
|
2487
2619
|
end
|
@@ -2529,6 +2661,8 @@ module SDM
|
|
2529
2661
|
attr_accessor :healthy
|
2530
2662
|
# Tags is a map of key, value pairs.
|
2531
2663
|
attr_accessor :tags
|
2664
|
+
# ID of the secret store containing credentials for this resource, if any.
|
2665
|
+
attr_accessor :secret_store_id
|
2532
2666
|
|
2533
2667
|
attr_accessor :hostname
|
2534
2668
|
|
@@ -2547,6 +2681,7 @@ module SDM
|
|
2547
2681
|
name: nil,
|
2548
2682
|
healthy: nil,
|
2549
2683
|
tags: nil,
|
2684
|
+
secret_store_id: nil,
|
2550
2685
|
hostname: nil,
|
2551
2686
|
username: nil,
|
2552
2687
|
password: nil,
|
@@ -2566,6 +2701,9 @@ module SDM
|
|
2566
2701
|
if tags != nil
|
2567
2702
|
@tags = tags
|
2568
2703
|
end
|
2704
|
+
if secret_store_id != nil
|
2705
|
+
@secret_store_id = secret_store_id
|
2706
|
+
end
|
2569
2707
|
if hostname != nil
|
2570
2708
|
@hostname = hostname
|
2571
2709
|
end
|
@@ -2604,6 +2742,8 @@ module SDM
|
|
2604
2742
|
attr_accessor :healthy
|
2605
2743
|
# Tags is a map of key, value pairs.
|
2606
2744
|
attr_accessor :tags
|
2745
|
+
# ID of the secret store containing credentials for this resource, if any.
|
2746
|
+
attr_accessor :secret_store_id
|
2607
2747
|
|
2608
2748
|
attr_accessor :hostname
|
2609
2749
|
|
@@ -2622,6 +2762,7 @@ module SDM
|
|
2622
2762
|
name: nil,
|
2623
2763
|
healthy: nil,
|
2624
2764
|
tags: nil,
|
2765
|
+
secret_store_id: nil,
|
2625
2766
|
hostname: nil,
|
2626
2767
|
username: nil,
|
2627
2768
|
password: nil,
|
@@ -2641,6 +2782,9 @@ module SDM
|
|
2641
2782
|
if tags != nil
|
2642
2783
|
@tags = tags
|
2643
2784
|
end
|
2785
|
+
if secret_store_id != nil
|
2786
|
+
@secret_store_id = secret_store_id
|
2787
|
+
end
|
2644
2788
|
if hostname != nil
|
2645
2789
|
@hostname = hostname
|
2646
2790
|
end
|
@@ -2679,6 +2823,8 @@ module SDM
|
|
2679
2823
|
attr_accessor :healthy
|
2680
2824
|
# Tags is a map of key, value pairs.
|
2681
2825
|
attr_accessor :tags
|
2826
|
+
# ID of the secret store containing credentials for this resource, if any.
|
2827
|
+
attr_accessor :secret_store_id
|
2682
2828
|
|
2683
2829
|
attr_accessor :hostname
|
2684
2830
|
|
@@ -2697,6 +2843,7 @@ module SDM
|
|
2697
2843
|
name: nil,
|
2698
2844
|
healthy: nil,
|
2699
2845
|
tags: nil,
|
2846
|
+
secret_store_id: nil,
|
2700
2847
|
hostname: nil,
|
2701
2848
|
username: nil,
|
2702
2849
|
password: nil,
|
@@ -2716,6 +2863,9 @@ module SDM
|
|
2716
2863
|
if tags != nil
|
2717
2864
|
@tags = tags
|
2718
2865
|
end
|
2866
|
+
if secret_store_id != nil
|
2867
|
+
@secret_store_id = secret_store_id
|
2868
|
+
end
|
2719
2869
|
if hostname != nil
|
2720
2870
|
@hostname = hostname
|
2721
2871
|
end
|
@@ -2754,6 +2904,8 @@ module SDM
|
|
2754
2904
|
attr_accessor :healthy
|
2755
2905
|
# Tags is a map of key, value pairs.
|
2756
2906
|
attr_accessor :tags
|
2907
|
+
# ID of the secret store containing credentials for this resource, if any.
|
2908
|
+
attr_accessor :secret_store_id
|
2757
2909
|
|
2758
2910
|
attr_accessor :hostname
|
2759
2911
|
|
@@ -2772,6 +2924,7 @@ module SDM
|
|
2772
2924
|
name: nil,
|
2773
2925
|
healthy: nil,
|
2774
2926
|
tags: nil,
|
2927
|
+
secret_store_id: nil,
|
2775
2928
|
hostname: nil,
|
2776
2929
|
username: nil,
|
2777
2930
|
password: nil,
|
@@ -2791,6 +2944,9 @@ module SDM
|
|
2791
2944
|
if tags != nil
|
2792
2945
|
@tags = tags
|
2793
2946
|
end
|
2947
|
+
if secret_store_id != nil
|
2948
|
+
@secret_store_id = secret_store_id
|
2949
|
+
end
|
2794
2950
|
if hostname != nil
|
2795
2951
|
@hostname = hostname
|
2796
2952
|
end
|
@@ -2829,6 +2985,8 @@ module SDM
|
|
2829
2985
|
attr_accessor :healthy
|
2830
2986
|
# Tags is a map of key, value pairs.
|
2831
2987
|
attr_accessor :tags
|
2988
|
+
# ID of the secret store containing credentials for this resource, if any.
|
2989
|
+
attr_accessor :secret_store_id
|
2832
2990
|
|
2833
2991
|
attr_accessor :hostname
|
2834
2992
|
|
@@ -2847,6 +3005,7 @@ module SDM
|
|
2847
3005
|
name: nil,
|
2848
3006
|
healthy: nil,
|
2849
3007
|
tags: nil,
|
3008
|
+
secret_store_id: nil,
|
2850
3009
|
hostname: nil,
|
2851
3010
|
username: nil,
|
2852
3011
|
password: nil,
|
@@ -2866,6 +3025,9 @@ module SDM
|
|
2866
3025
|
if tags != nil
|
2867
3026
|
@tags = tags
|
2868
3027
|
end
|
3028
|
+
if secret_store_id != nil
|
3029
|
+
@secret_store_id = secret_store_id
|
3030
|
+
end
|
2869
3031
|
if hostname != nil
|
2870
3032
|
@hostname = hostname
|
2871
3033
|
end
|
@@ -2904,6 +3066,8 @@ module SDM
|
|
2904
3066
|
attr_accessor :healthy
|
2905
3067
|
# Tags is a map of key, value pairs.
|
2906
3068
|
attr_accessor :tags
|
3069
|
+
# ID of the secret store containing credentials for this resource, if any.
|
3070
|
+
attr_accessor :secret_store_id
|
2907
3071
|
|
2908
3072
|
attr_accessor :hostname
|
2909
3073
|
|
@@ -2924,6 +3088,7 @@ module SDM
|
|
2924
3088
|
name: nil,
|
2925
3089
|
healthy: nil,
|
2926
3090
|
tags: nil,
|
3091
|
+
secret_store_id: nil,
|
2927
3092
|
hostname: nil,
|
2928
3093
|
username: nil,
|
2929
3094
|
password: nil,
|
@@ -2944,6 +3109,9 @@ module SDM
|
|
2944
3109
|
if tags != nil
|
2945
3110
|
@tags = tags
|
2946
3111
|
end
|
3112
|
+
if secret_store_id != nil
|
3113
|
+
@secret_store_id = secret_store_id
|
3114
|
+
end
|
2947
3115
|
if hostname != nil
|
2948
3116
|
@hostname = hostname
|
2949
3117
|
end
|
@@ -2985,6 +3153,8 @@ module SDM
|
|
2985
3153
|
attr_accessor :healthy
|
2986
3154
|
# Tags is a map of key, value pairs.
|
2987
3155
|
attr_accessor :tags
|
3156
|
+
# ID of the secret store containing credentials for this resource, if any.
|
3157
|
+
attr_accessor :secret_store_id
|
2988
3158
|
|
2989
3159
|
attr_accessor :hostname
|
2990
3160
|
|
@@ -3005,6 +3175,7 @@ module SDM
|
|
3005
3175
|
name: nil,
|
3006
3176
|
healthy: nil,
|
3007
3177
|
tags: nil,
|
3178
|
+
secret_store_id: nil,
|
3008
3179
|
hostname: nil,
|
3009
3180
|
username: nil,
|
3010
3181
|
password: nil,
|
@@ -3025,6 +3196,9 @@ module SDM
|
|
3025
3196
|
if tags != nil
|
3026
3197
|
@tags = tags
|
3027
3198
|
end
|
3199
|
+
if secret_store_id != nil
|
3200
|
+
@secret_store_id = secret_store_id
|
3201
|
+
end
|
3028
3202
|
if hostname != nil
|
3029
3203
|
@hostname = hostname
|
3030
3204
|
end
|
@@ -3066,6 +3240,8 @@ module SDM
|
|
3066
3240
|
attr_accessor :healthy
|
3067
3241
|
# Tags is a map of key, value pairs.
|
3068
3242
|
attr_accessor :tags
|
3243
|
+
# ID of the secret store containing credentials for this resource, if any.
|
3244
|
+
attr_accessor :secret_store_id
|
3069
3245
|
|
3070
3246
|
attr_accessor :hostname
|
3071
3247
|
|
@@ -3086,6 +3262,7 @@ module SDM
|
|
3086
3262
|
name: nil,
|
3087
3263
|
healthy: nil,
|
3088
3264
|
tags: nil,
|
3265
|
+
secret_store_id: nil,
|
3089
3266
|
hostname: nil,
|
3090
3267
|
username: nil,
|
3091
3268
|
password: nil,
|
@@ -3106,6 +3283,9 @@ module SDM
|
|
3106
3283
|
if tags != nil
|
3107
3284
|
@tags = tags
|
3108
3285
|
end
|
3286
|
+
if secret_store_id != nil
|
3287
|
+
@secret_store_id = secret_store_id
|
3288
|
+
end
|
3109
3289
|
if hostname != nil
|
3110
3290
|
@hostname = hostname
|
3111
3291
|
end
|
@@ -3147,6 +3327,8 @@ module SDM
|
|
3147
3327
|
attr_accessor :healthy
|
3148
3328
|
# Tags is a map of key, value pairs.
|
3149
3329
|
attr_accessor :tags
|
3330
|
+
# ID of the secret store containing credentials for this resource, if any.
|
3331
|
+
attr_accessor :secret_store_id
|
3150
3332
|
|
3151
3333
|
attr_accessor :hostname
|
3152
3334
|
|
@@ -3167,6 +3349,7 @@ module SDM
|
|
3167
3349
|
name: nil,
|
3168
3350
|
healthy: nil,
|
3169
3351
|
tags: nil,
|
3352
|
+
secret_store_id: nil,
|
3170
3353
|
hostname: nil,
|
3171
3354
|
username: nil,
|
3172
3355
|
password: nil,
|
@@ -3187,6 +3370,9 @@ module SDM
|
|
3187
3370
|
if tags != nil
|
3188
3371
|
@tags = tags
|
3189
3372
|
end
|
3373
|
+
if secret_store_id != nil
|
3374
|
+
@secret_store_id = secret_store_id
|
3375
|
+
end
|
3190
3376
|
if hostname != nil
|
3191
3377
|
@hostname = hostname
|
3192
3378
|
end
|
@@ -3228,6 +3414,8 @@ module SDM
|
|
3228
3414
|
attr_accessor :healthy
|
3229
3415
|
# Tags is a map of key, value pairs.
|
3230
3416
|
attr_accessor :tags
|
3417
|
+
# ID of the secret store containing credentials for this resource, if any.
|
3418
|
+
attr_accessor :secret_store_id
|
3231
3419
|
|
3232
3420
|
attr_accessor :hostname
|
3233
3421
|
|
@@ -3248,6 +3436,7 @@ module SDM
|
|
3248
3436
|
name: nil,
|
3249
3437
|
healthy: nil,
|
3250
3438
|
tags: nil,
|
3439
|
+
secret_store_id: nil,
|
3251
3440
|
hostname: nil,
|
3252
3441
|
username: nil,
|
3253
3442
|
password: nil,
|
@@ -3268,6 +3457,9 @@ module SDM
|
|
3268
3457
|
if tags != nil
|
3269
3458
|
@tags = tags
|
3270
3459
|
end
|
3460
|
+
if secret_store_id != nil
|
3461
|
+
@secret_store_id = secret_store_id
|
3462
|
+
end
|
3271
3463
|
if hostname != nil
|
3272
3464
|
@hostname = hostname
|
3273
3465
|
end
|
@@ -3309,6 +3501,8 @@ module SDM
|
|
3309
3501
|
attr_accessor :healthy
|
3310
3502
|
# Tags is a map of key, value pairs.
|
3311
3503
|
attr_accessor :tags
|
3504
|
+
# ID of the secret store containing credentials for this resource, if any.
|
3505
|
+
attr_accessor :secret_store_id
|
3312
3506
|
|
3313
3507
|
attr_accessor :hostname
|
3314
3508
|
|
@@ -3329,6 +3523,7 @@ module SDM
|
|
3329
3523
|
name: nil,
|
3330
3524
|
healthy: nil,
|
3331
3525
|
tags: nil,
|
3526
|
+
secret_store_id: nil,
|
3332
3527
|
hostname: nil,
|
3333
3528
|
username: nil,
|
3334
3529
|
password: nil,
|
@@ -3349,6 +3544,9 @@ module SDM
|
|
3349
3544
|
if tags != nil
|
3350
3545
|
@tags = tags
|
3351
3546
|
end
|
3547
|
+
if secret_store_id != nil
|
3548
|
+
@secret_store_id = secret_store_id
|
3549
|
+
end
|
3352
3550
|
if hostname != nil
|
3353
3551
|
@hostname = hostname
|
3354
3552
|
end
|
@@ -3390,6 +3588,8 @@ module SDM
|
|
3390
3588
|
attr_accessor :healthy
|
3391
3589
|
# Tags is a map of key, value pairs.
|
3392
3590
|
attr_accessor :tags
|
3591
|
+
# ID of the secret store containing credentials for this resource, if any.
|
3592
|
+
attr_accessor :secret_store_id
|
3393
3593
|
|
3394
3594
|
attr_accessor :hostname
|
3395
3595
|
|
@@ -3410,6 +3610,7 @@ module SDM
|
|
3410
3610
|
name: nil,
|
3411
3611
|
healthy: nil,
|
3412
3612
|
tags: nil,
|
3613
|
+
secret_store_id: nil,
|
3413
3614
|
hostname: nil,
|
3414
3615
|
username: nil,
|
3415
3616
|
password: nil,
|
@@ -3430,6 +3631,9 @@ module SDM
|
|
3430
3631
|
if tags != nil
|
3431
3632
|
@tags = tags
|
3432
3633
|
end
|
3634
|
+
if secret_store_id != nil
|
3635
|
+
@secret_store_id = secret_store_id
|
3636
|
+
end
|
3433
3637
|
if hostname != nil
|
3434
3638
|
@hostname = hostname
|
3435
3639
|
end
|
@@ -3471,6 +3675,8 @@ module SDM
|
|
3471
3675
|
attr_accessor :healthy
|
3472
3676
|
# Tags is a map of key, value pairs.
|
3473
3677
|
attr_accessor :tags
|
3678
|
+
# ID of the secret store containing credentials for this resource, if any.
|
3679
|
+
attr_accessor :secret_store_id
|
3474
3680
|
|
3475
3681
|
attr_accessor :hostname
|
3476
3682
|
|
@@ -3491,6 +3697,7 @@ module SDM
|
|
3491
3697
|
name: nil,
|
3492
3698
|
healthy: nil,
|
3493
3699
|
tags: nil,
|
3700
|
+
secret_store_id: nil,
|
3494
3701
|
hostname: nil,
|
3495
3702
|
password: nil,
|
3496
3703
|
database: nil,
|
@@ -3511,6 +3718,9 @@ module SDM
|
|
3511
3718
|
if tags != nil
|
3512
3719
|
@tags = tags
|
3513
3720
|
end
|
3721
|
+
if secret_store_id != nil
|
3722
|
+
@secret_store_id = secret_store_id
|
3723
|
+
end
|
3514
3724
|
if hostname != nil
|
3515
3725
|
@hostname = hostname
|
3516
3726
|
end
|
@@ -3552,6 +3762,8 @@ module SDM
|
|
3552
3762
|
attr_accessor :healthy
|
3553
3763
|
# Tags is a map of key, value pairs.
|
3554
3764
|
attr_accessor :tags
|
3765
|
+
# ID of the secret store containing credentials for this resource, if any.
|
3766
|
+
attr_accessor :secret_store_id
|
3555
3767
|
|
3556
3768
|
attr_accessor :hostname
|
3557
3769
|
|
@@ -3568,6 +3780,7 @@ module SDM
|
|
3568
3780
|
name: nil,
|
3569
3781
|
healthy: nil,
|
3570
3782
|
tags: nil,
|
3783
|
+
secret_store_id: nil,
|
3571
3784
|
hostname: nil,
|
3572
3785
|
username: nil,
|
3573
3786
|
password: nil,
|
@@ -3586,6 +3799,9 @@ module SDM
|
|
3586
3799
|
if tags != nil
|
3587
3800
|
@tags = tags
|
3588
3801
|
end
|
3802
|
+
if secret_store_id != nil
|
3803
|
+
@secret_store_id = secret_store_id
|
3804
|
+
end
|
3589
3805
|
if hostname != nil
|
3590
3806
|
@hostname = hostname
|
3591
3807
|
end
|
@@ -3621,6 +3837,8 @@ module SDM
|
|
3621
3837
|
attr_accessor :healthy
|
3622
3838
|
# Tags is a map of key, value pairs.
|
3623
3839
|
attr_accessor :tags
|
3840
|
+
# ID of the secret store containing credentials for this resource, if any.
|
3841
|
+
attr_accessor :secret_store_id
|
3624
3842
|
|
3625
3843
|
attr_accessor :hostname
|
3626
3844
|
|
@@ -3635,6 +3853,7 @@ module SDM
|
|
3635
3853
|
name: nil,
|
3636
3854
|
healthy: nil,
|
3637
3855
|
tags: nil,
|
3856
|
+
secret_store_id: nil,
|
3638
3857
|
hostname: nil,
|
3639
3858
|
port_override: nil,
|
3640
3859
|
password: nil,
|
@@ -3652,6 +3871,9 @@ module SDM
|
|
3652
3871
|
if tags != nil
|
3653
3872
|
@tags = tags
|
3654
3873
|
end
|
3874
|
+
if secret_store_id != nil
|
3875
|
+
@secret_store_id = secret_store_id
|
3876
|
+
end
|
3655
3877
|
if hostname != nil
|
3656
3878
|
@hostname = hostname
|
3657
3879
|
end
|
@@ -3684,6 +3906,8 @@ module SDM
|
|
3684
3906
|
attr_accessor :healthy
|
3685
3907
|
# Tags is a map of key, value pairs.
|
3686
3908
|
attr_accessor :tags
|
3909
|
+
# ID of the secret store containing credentials for this resource, if any.
|
3910
|
+
attr_accessor :secret_store_id
|
3687
3911
|
|
3688
3912
|
attr_accessor :hostname
|
3689
3913
|
|
@@ -3700,6 +3924,7 @@ module SDM
|
|
3700
3924
|
name: nil,
|
3701
3925
|
healthy: nil,
|
3702
3926
|
tags: nil,
|
3927
|
+
secret_store_id: nil,
|
3703
3928
|
hostname: nil,
|
3704
3929
|
port_override: nil,
|
3705
3930
|
password: nil,
|
@@ -3718,6 +3943,9 @@ module SDM
|
|
3718
3943
|
if tags != nil
|
3719
3944
|
@tags = tags
|
3720
3945
|
end
|
3946
|
+
if secret_store_id != nil
|
3947
|
+
@secret_store_id = secret_store_id
|
3948
|
+
end
|
3721
3949
|
if hostname != nil
|
3722
3950
|
@hostname = hostname
|
3723
3951
|
end
|
@@ -3753,6 +3981,8 @@ module SDM
|
|
3753
3981
|
attr_accessor :healthy
|
3754
3982
|
# Tags is a map of key, value pairs.
|
3755
3983
|
attr_accessor :tags
|
3984
|
+
# ID of the secret store containing credentials for this resource, if any.
|
3985
|
+
attr_accessor :secret_store_id
|
3756
3986
|
|
3757
3987
|
attr_accessor :hostname
|
3758
3988
|
|
@@ -3771,6 +4001,7 @@ module SDM
|
|
3771
4001
|
name: nil,
|
3772
4002
|
healthy: nil,
|
3773
4003
|
tags: nil,
|
4004
|
+
secret_store_id: nil,
|
3774
4005
|
hostname: nil,
|
3775
4006
|
username: nil,
|
3776
4007
|
password: nil,
|
@@ -3790,6 +4021,9 @@ module SDM
|
|
3790
4021
|
if tags != nil
|
3791
4022
|
@tags = tags
|
3792
4023
|
end
|
4024
|
+
if secret_store_id != nil
|
4025
|
+
@secret_store_id = secret_store_id
|
4026
|
+
end
|
3793
4027
|
if hostname != nil
|
3794
4028
|
@hostname = hostname
|
3795
4029
|
end
|
@@ -3828,6 +4062,8 @@ module SDM
|
|
3828
4062
|
attr_accessor :healthy
|
3829
4063
|
# Tags is a map of key, value pairs.
|
3830
4064
|
attr_accessor :tags
|
4065
|
+
# ID of the secret store containing credentials for this resource, if any.
|
4066
|
+
attr_accessor :secret_store_id
|
3831
4067
|
|
3832
4068
|
attr_accessor :hostname
|
3833
4069
|
|
@@ -3850,6 +4086,7 @@ module SDM
|
|
3850
4086
|
name: nil,
|
3851
4087
|
healthy: nil,
|
3852
4088
|
tags: nil,
|
4089
|
+
secret_store_id: nil,
|
3853
4090
|
hostname: nil,
|
3854
4091
|
username: nil,
|
3855
4092
|
password: nil,
|
@@ -3871,6 +4108,9 @@ module SDM
|
|
3871
4108
|
if tags != nil
|
3872
4109
|
@tags = tags
|
3873
4110
|
end
|
4111
|
+
if secret_store_id != nil
|
4112
|
+
@secret_store_id = secret_store_id
|
4113
|
+
end
|
3874
4114
|
if hostname != nil
|
3875
4115
|
@hostname = hostname
|
3876
4116
|
end
|
@@ -3915,6 +4155,8 @@ module SDM
|
|
3915
4155
|
attr_accessor :healthy
|
3916
4156
|
# Tags is a map of key, value pairs.
|
3917
4157
|
attr_accessor :tags
|
4158
|
+
# ID of the secret store containing credentials for this resource, if any.
|
4159
|
+
attr_accessor :secret_store_id
|
3918
4160
|
|
3919
4161
|
attr_accessor :hostname
|
3920
4162
|
|
@@ -3933,6 +4175,7 @@ module SDM
|
|
3933
4175
|
name: nil,
|
3934
4176
|
healthy: nil,
|
3935
4177
|
tags: nil,
|
4178
|
+
secret_store_id: nil,
|
3936
4179
|
hostname: nil,
|
3937
4180
|
username: nil,
|
3938
4181
|
port: nil,
|
@@ -3952,6 +4195,9 @@ module SDM
|
|
3952
4195
|
if tags != nil
|
3953
4196
|
@tags = tags
|
3954
4197
|
end
|
4198
|
+
if secret_store_id != nil
|
4199
|
+
@secret_store_id = secret_store_id
|
4200
|
+
end
|
3955
4201
|
if hostname != nil
|
3956
4202
|
@hostname = hostname
|
3957
4203
|
end
|
@@ -3990,6 +4236,8 @@ module SDM
|
|
3990
4236
|
attr_accessor :healthy
|
3991
4237
|
# Tags is a map of key, value pairs.
|
3992
4238
|
attr_accessor :tags
|
4239
|
+
# ID of the secret store containing credentials for this resource, if any.
|
4240
|
+
attr_accessor :secret_store_id
|
3993
4241
|
|
3994
4242
|
attr_accessor :hostname
|
3995
4243
|
|
@@ -4006,6 +4254,7 @@ module SDM
|
|
4006
4254
|
name: nil,
|
4007
4255
|
healthy: nil,
|
4008
4256
|
tags: nil,
|
4257
|
+
secret_store_id: nil,
|
4009
4258
|
hostname: nil,
|
4010
4259
|
username: nil,
|
4011
4260
|
port: nil,
|
@@ -4024,6 +4273,9 @@ module SDM
|
|
4024
4273
|
if tags != nil
|
4025
4274
|
@tags = tags
|
4026
4275
|
end
|
4276
|
+
if secret_store_id != nil
|
4277
|
+
@secret_store_id = secret_store_id
|
4278
|
+
end
|
4027
4279
|
if hostname != nil
|
4028
4280
|
@hostname = hostname
|
4029
4281
|
end
|
@@ -4059,6 +4311,8 @@ module SDM
|
|
4059
4311
|
attr_accessor :healthy
|
4060
4312
|
# Tags is a map of key, value pairs.
|
4061
4313
|
attr_accessor :tags
|
4314
|
+
# ID of the secret store containing credentials for this resource, if any.
|
4315
|
+
attr_accessor :secret_store_id
|
4062
4316
|
|
4063
4317
|
attr_accessor :hostname
|
4064
4318
|
|
@@ -4075,6 +4329,7 @@ module SDM
|
|
4075
4329
|
name: nil,
|
4076
4330
|
healthy: nil,
|
4077
4331
|
tags: nil,
|
4332
|
+
secret_store_id: nil,
|
4078
4333
|
hostname: nil,
|
4079
4334
|
username: nil,
|
4080
4335
|
port_override: nil,
|
@@ -4093,6 +4348,9 @@ module SDM
|
|
4093
4348
|
if tags != nil
|
4094
4349
|
@tags = tags
|
4095
4350
|
end
|
4351
|
+
if secret_store_id != nil
|
4352
|
+
@secret_store_id = secret_store_id
|
4353
|
+
end
|
4096
4354
|
if hostname != nil
|
4097
4355
|
@hostname = hostname
|
4098
4356
|
end
|
@@ -4128,6 +4386,8 @@ module SDM
|
|
4128
4386
|
attr_accessor :healthy
|
4129
4387
|
# Tags is a map of key, value pairs.
|
4130
4388
|
attr_accessor :tags
|
4389
|
+
# ID of the secret store containing credentials for this resource, if any.
|
4390
|
+
attr_accessor :secret_store_id
|
4131
4391
|
|
4132
4392
|
attr_accessor :hostname
|
4133
4393
|
|
@@ -4144,6 +4404,7 @@ module SDM
|
|
4144
4404
|
name: nil,
|
4145
4405
|
healthy: nil,
|
4146
4406
|
tags: nil,
|
4407
|
+
secret_store_id: nil,
|
4147
4408
|
hostname: nil,
|
4148
4409
|
username: nil,
|
4149
4410
|
port_override: nil,
|
@@ -4162,6 +4423,9 @@ module SDM
|
|
4162
4423
|
if tags != nil
|
4163
4424
|
@tags = tags
|
4164
4425
|
end
|
4426
|
+
if secret_store_id != nil
|
4427
|
+
@secret_store_id = secret_store_id
|
4428
|
+
end
|
4165
4429
|
if hostname != nil
|
4166
4430
|
@hostname = hostname
|
4167
4431
|
end
|
@@ -4197,6 +4461,8 @@ module SDM
|
|
4197
4461
|
attr_accessor :healthy
|
4198
4462
|
# Tags is a map of key, value pairs.
|
4199
4463
|
attr_accessor :tags
|
4464
|
+
# ID of the secret store containing credentials for this resource, if any.
|
4465
|
+
attr_accessor :secret_store_id
|
4200
4466
|
|
4201
4467
|
attr_accessor :hostname
|
4202
4468
|
|
@@ -4213,6 +4479,7 @@ module SDM
|
|
4213
4479
|
name: nil,
|
4214
4480
|
healthy: nil,
|
4215
4481
|
tags: nil,
|
4482
|
+
secret_store_id: nil,
|
4216
4483
|
hostname: nil,
|
4217
4484
|
username: nil,
|
4218
4485
|
password: nil,
|
@@ -4231,6 +4498,9 @@ module SDM
|
|
4231
4498
|
if tags != nil
|
4232
4499
|
@tags = tags
|
4233
4500
|
end
|
4501
|
+
if secret_store_id != nil
|
4502
|
+
@secret_store_id = secret_store_id
|
4503
|
+
end
|
4234
4504
|
if hostname != nil
|
4235
4505
|
@hostname = hostname
|
4236
4506
|
end
|
@@ -4399,7 +4669,7 @@ module SDM
|
|
4399
4669
|
class Relay
|
4400
4670
|
# Unique identifier of the Relay.
|
4401
4671
|
attr_accessor :id
|
4402
|
-
# Unique human-readable name of the Relay. Generated if not provided on create.
|
4672
|
+
# Unique human-readable name of the Relay. Node names must include only letters, numbers, and hyphens (no spaces, underscores, or other special characters). Generated if not provided on create.
|
4403
4673
|
attr_accessor :name
|
4404
4674
|
# The current state of the relay. One of: "new", "verifying_restart",
|
4405
4675
|
# "awaiting_restart", "restarting", "started", "stopped", "dead",
|
@@ -4441,7 +4711,7 @@ module SDM
|
|
4441
4711
|
class Gateway
|
4442
4712
|
# Unique identifier of the Gateway.
|
4443
4713
|
attr_accessor :id
|
4444
|
-
# Unique human-readable name of the Gateway. Generated if not provided on create.
|
4714
|
+
# Unique human-readable name of the Gateway. Node names must include only letters, numbers, and hyphens (no spaces, underscores, or other special characters). Generated if not provided on create.
|
4445
4715
|
attr_accessor :name
|
4446
4716
|
# The current state of the gateway. One of: "new", "verifying_restart",
|
4447
4717
|
# "restarting", "started", "stopped", "dead", "unknown"
|
@@ -4848,8 +5118,7 @@ module SDM
|
|
4848
5118
|
end
|
4849
5119
|
end
|
4850
5120
|
|
4851
|
-
# A RoleGrant connects a resource to a role, granting members of the role
|
4852
|
-
# access to that resource.
|
5121
|
+
# A RoleGrant connects a resource to a role, granting members of the role access to that resource.
|
4853
5122
|
class RoleGrant
|
4854
5123
|
# Unique identifier of the RoleGrant.
|
4855
5124
|
attr_accessor :id
|
@@ -5015,7 +5284,7 @@ module SDM
|
|
5015
5284
|
end
|
5016
5285
|
end
|
5017
5286
|
|
5018
|
-
# A Role is a collection of
|
5287
|
+
# A Role is a collection of access grants, and typically corresponds to a team, Active Directory OU, or other organizational unit. Users are granted access to resources by assigning them to roles.
|
5019
5288
|
class Role
|
5020
5289
|
# Unique identifier of the Role.
|
5021
5290
|
attr_accessor :id
|
@@ -5054,4 +5323,270 @@ module SDM
|
|
5054
5323
|
hash.to_json
|
5055
5324
|
end
|
5056
5325
|
end
|
5326
|
+
|
5327
|
+
# SecretStoreCreateResponse reports how the SecretStores were created in the system.
|
5328
|
+
class SecretStoreCreateResponse
|
5329
|
+
# Reserved for future use.
|
5330
|
+
attr_accessor :meta
|
5331
|
+
# The created SecretStore.
|
5332
|
+
attr_accessor :secret_store
|
5333
|
+
# Rate limit information.
|
5334
|
+
attr_accessor :rate_limit
|
5335
|
+
|
5336
|
+
def initialize(
|
5337
|
+
meta: nil,
|
5338
|
+
secret_store: nil,
|
5339
|
+
rate_limit: nil
|
5340
|
+
)
|
5341
|
+
if meta != nil
|
5342
|
+
@meta = meta
|
5343
|
+
end
|
5344
|
+
if secret_store != nil
|
5345
|
+
@secret_store = secret_store
|
5346
|
+
end
|
5347
|
+
if rate_limit != nil
|
5348
|
+
@rate_limit = rate_limit
|
5349
|
+
end
|
5350
|
+
end
|
5351
|
+
|
5352
|
+
def to_json(options = {})
|
5353
|
+
hash = {}
|
5354
|
+
self.instance_variables.each do |var|
|
5355
|
+
hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
|
5356
|
+
end
|
5357
|
+
hash.to_json
|
5358
|
+
end
|
5359
|
+
end
|
5360
|
+
|
5361
|
+
# SecretStoreGetResponse returns a requested SecretStore.
|
5362
|
+
class SecretStoreGetResponse
|
5363
|
+
# Reserved for future use.
|
5364
|
+
attr_accessor :meta
|
5365
|
+
# The requested SecretStore.
|
5366
|
+
attr_accessor :secret_store
|
5367
|
+
# Rate limit information.
|
5368
|
+
attr_accessor :rate_limit
|
5369
|
+
|
5370
|
+
def initialize(
|
5371
|
+
meta: nil,
|
5372
|
+
secret_store: nil,
|
5373
|
+
rate_limit: nil
|
5374
|
+
)
|
5375
|
+
if meta != nil
|
5376
|
+
@meta = meta
|
5377
|
+
end
|
5378
|
+
if secret_store != nil
|
5379
|
+
@secret_store = secret_store
|
5380
|
+
end
|
5381
|
+
if rate_limit != nil
|
5382
|
+
@rate_limit = rate_limit
|
5383
|
+
end
|
5384
|
+
end
|
5385
|
+
|
5386
|
+
def to_json(options = {})
|
5387
|
+
hash = {}
|
5388
|
+
self.instance_variables.each do |var|
|
5389
|
+
hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
|
5390
|
+
end
|
5391
|
+
hash.to_json
|
5392
|
+
end
|
5393
|
+
end
|
5394
|
+
|
5395
|
+
# SecretStoreUpdateResponse returns the fields of a SecretStore after it has been updated by
|
5396
|
+
# a SecretStoreUpdateRequest.
|
5397
|
+
class SecretStoreUpdateResponse
|
5398
|
+
# Reserved for future use.
|
5399
|
+
attr_accessor :meta
|
5400
|
+
# The updated SecretStore.
|
5401
|
+
attr_accessor :secret_store
|
5402
|
+
# Rate limit information.
|
5403
|
+
attr_accessor :rate_limit
|
5404
|
+
|
5405
|
+
def initialize(
|
5406
|
+
meta: nil,
|
5407
|
+
secret_store: nil,
|
5408
|
+
rate_limit: nil
|
5409
|
+
)
|
5410
|
+
if meta != nil
|
5411
|
+
@meta = meta
|
5412
|
+
end
|
5413
|
+
if secret_store != nil
|
5414
|
+
@secret_store = secret_store
|
5415
|
+
end
|
5416
|
+
if rate_limit != nil
|
5417
|
+
@rate_limit = rate_limit
|
5418
|
+
end
|
5419
|
+
end
|
5420
|
+
|
5421
|
+
def to_json(options = {})
|
5422
|
+
hash = {}
|
5423
|
+
self.instance_variables.each do |var|
|
5424
|
+
hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
|
5425
|
+
end
|
5426
|
+
hash.to_json
|
5427
|
+
end
|
5428
|
+
end
|
5429
|
+
|
5430
|
+
# SecretStoreDeleteResponse returns information about a SecretStore that was deleted.
|
5431
|
+
class SecretStoreDeleteResponse
|
5432
|
+
# Reserved for future use.
|
5433
|
+
attr_accessor :meta
|
5434
|
+
# Rate limit information.
|
5435
|
+
attr_accessor :rate_limit
|
5436
|
+
|
5437
|
+
def initialize(
|
5438
|
+
meta: nil,
|
5439
|
+
rate_limit: nil
|
5440
|
+
)
|
5441
|
+
if meta != nil
|
5442
|
+
@meta = meta
|
5443
|
+
end
|
5444
|
+
if rate_limit != nil
|
5445
|
+
@rate_limit = rate_limit
|
5446
|
+
end
|
5447
|
+
end
|
5448
|
+
|
5449
|
+
def to_json(options = {})
|
5450
|
+
hash = {}
|
5451
|
+
self.instance_variables.each do |var|
|
5452
|
+
hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
|
5453
|
+
end
|
5454
|
+
hash.to_json
|
5455
|
+
end
|
5456
|
+
end
|
5457
|
+
|
5458
|
+
class VaultTokenStore
|
5459
|
+
# Unique identifier of the SecretStore.
|
5460
|
+
attr_accessor :id
|
5461
|
+
# Unique human-readable name of the SecretStore.
|
5462
|
+
attr_accessor :name
|
5463
|
+
|
5464
|
+
attr_accessor :server_address
|
5465
|
+
# Tags is a map of key, value pairs.
|
5466
|
+
attr_accessor :tags
|
5467
|
+
|
5468
|
+
def initialize(
|
5469
|
+
id: nil,
|
5470
|
+
name: nil,
|
5471
|
+
server_address: nil,
|
5472
|
+
tags: nil
|
5473
|
+
)
|
5474
|
+
if id != nil
|
5475
|
+
@id = id
|
5476
|
+
end
|
5477
|
+
if name != nil
|
5478
|
+
@name = name
|
5479
|
+
end
|
5480
|
+
if server_address != nil
|
5481
|
+
@server_address = server_address
|
5482
|
+
end
|
5483
|
+
if tags != nil
|
5484
|
+
@tags = tags
|
5485
|
+
end
|
5486
|
+
end
|
5487
|
+
|
5488
|
+
def to_json(options = {})
|
5489
|
+
hash = {}
|
5490
|
+
self.instance_variables.each do |var|
|
5491
|
+
hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
|
5492
|
+
end
|
5493
|
+
hash.to_json
|
5494
|
+
end
|
5495
|
+
end
|
5496
|
+
|
5497
|
+
class VaultTLSStore
|
5498
|
+
# Unique identifier of the SecretStore.
|
5499
|
+
attr_accessor :id
|
5500
|
+
# Unique human-readable name of the SecretStore.
|
5501
|
+
attr_accessor :name
|
5502
|
+
|
5503
|
+
attr_accessor :server_address
|
5504
|
+
|
5505
|
+
attr_accessor :ca_cert_path
|
5506
|
+
|
5507
|
+
attr_accessor :client_cert_path
|
5508
|
+
|
5509
|
+
attr_accessor :client_key_path
|
5510
|
+
# Tags is a map of key, value pairs.
|
5511
|
+
attr_accessor :tags
|
5512
|
+
|
5513
|
+
def initialize(
|
5514
|
+
id: nil,
|
5515
|
+
name: nil,
|
5516
|
+
server_address: nil,
|
5517
|
+
ca_cert_path: nil,
|
5518
|
+
client_cert_path: nil,
|
5519
|
+
client_key_path: nil,
|
5520
|
+
tags: nil
|
5521
|
+
)
|
5522
|
+
if id != nil
|
5523
|
+
@id = id
|
5524
|
+
end
|
5525
|
+
if name != nil
|
5526
|
+
@name = name
|
5527
|
+
end
|
5528
|
+
if server_address != nil
|
5529
|
+
@server_address = server_address
|
5530
|
+
end
|
5531
|
+
if ca_cert_path != nil
|
5532
|
+
@ca_cert_path = ca_cert_path
|
5533
|
+
end
|
5534
|
+
if client_cert_path != nil
|
5535
|
+
@client_cert_path = client_cert_path
|
5536
|
+
end
|
5537
|
+
if client_key_path != nil
|
5538
|
+
@client_key_path = client_key_path
|
5539
|
+
end
|
5540
|
+
if tags != nil
|
5541
|
+
@tags = tags
|
5542
|
+
end
|
5543
|
+
end
|
5544
|
+
|
5545
|
+
def to_json(options = {})
|
5546
|
+
hash = {}
|
5547
|
+
self.instance_variables.each do |var|
|
5548
|
+
hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
|
5549
|
+
end
|
5550
|
+
hash.to_json
|
5551
|
+
end
|
5552
|
+
end
|
5553
|
+
|
5554
|
+
class AWSStore
|
5555
|
+
# Unique identifier of the SecretStore.
|
5556
|
+
attr_accessor :id
|
5557
|
+
# Unique human-readable name of the SecretStore.
|
5558
|
+
attr_accessor :name
|
5559
|
+
|
5560
|
+
attr_accessor :region
|
5561
|
+
# Tags is a map of key, value pairs.
|
5562
|
+
attr_accessor :tags
|
5563
|
+
|
5564
|
+
def initialize(
|
5565
|
+
id: nil,
|
5566
|
+
name: nil,
|
5567
|
+
region: nil,
|
5568
|
+
tags: nil
|
5569
|
+
)
|
5570
|
+
if id != nil
|
5571
|
+
@id = id
|
5572
|
+
end
|
5573
|
+
if name != nil
|
5574
|
+
@name = name
|
5575
|
+
end
|
5576
|
+
if region != nil
|
5577
|
+
@region = region
|
5578
|
+
end
|
5579
|
+
if tags != nil
|
5580
|
+
@tags = tags
|
5581
|
+
end
|
5582
|
+
end
|
5583
|
+
|
5584
|
+
def to_json(options = {})
|
5585
|
+
hash = {}
|
5586
|
+
self.instance_variables.each do |var|
|
5587
|
+
hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
|
5588
|
+
end
|
5589
|
+
hash.to_json
|
5590
|
+
end
|
5591
|
+
end
|
5057
5592
|
end
|