strongdm 13.11.0 → 14.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.git/ORIG_HEAD +1 -1
- data/.git/index +0 -0
- data/.git/logs/HEAD +3 -3
- data/.git/logs/refs/heads/master +2 -2
- data/.git/logs/refs/remotes/origin/HEAD +1 -1
- data/.git/objects/pack/{pack-1d9fc140c6d5e5a873af3b9499b2cf070fc0bd1e.idx → pack-506fd68e43b73695be77ec3d6e0aef9ecb46e913.idx} +0 -0
- data/.git/objects/pack/{pack-1d9fc140c6d5e5a873af3b9499b2cf070fc0bd1e.pack → pack-506fd68e43b73695be77ec3d6e0aef9ecb46e913.pack} +0 -0
- data/.git/packed-refs +4 -2
- data/.git/refs/heads/master +1 -1
- data/lib/grpc/accounts_pb.rb +2 -0
- data/lib/grpc/approval_workflow_approvers_services_pb.rb +4 -4
- data/lib/grpc/approval_workflow_steps_pb.rb +4 -0
- data/lib/grpc/approval_workflow_steps_services_pb.rb +4 -4
- data/lib/grpc/managed_secrets_pb.rb +171 -0
- data/lib/grpc/managed_secrets_services_pb.rb +59 -0
- data/lib/grpc/plumbing.rb +4265 -2492
- data/lib/grpc/secret_engine_policy_pb.rb +41 -0
- data/lib/grpc/secret_engine_types_pb.rb +75 -0
- data/lib/grpc/secret_engines_pb.rb +124 -0
- data/lib/grpc/secret_engines_services_pb.rb +53 -0
- data/lib/models/porcelain.rb +1304 -60
- data/lib/strongdm.rb +15 -1
- data/lib/svc.rb +668 -12
- data/lib/version +1 -1
- data/lib/version.rb +1 -1
- metadata +10 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 21a01ddee86c6c99b33bb5db709426ce927b01d5306bf06197b285dda6227e9f
|
4
|
+
data.tar.gz: 5363163649f4eb0d6e95b5b754a9f67d9304d39a8e05b4afd3434fc2bfb19e98
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2794a6a0eed8ac5a1d69d8790205a27704d0563642d0b865709278d50a5476f6dcf902aad80cb2f3a592d6d932105549eb398cdeb62ba2d4f10e005b2656d1a8
|
7
|
+
data.tar.gz: c2acc0f9e37457f2ffb22ddc52a1bcd77593af6fb590942599752d8728d34b943c711ea5759685dd8f7981d2b6ddc9d15f0e65ec3c9915551d73432453ea8ae2
|
data/.git/ORIG_HEAD
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
436d2ea8da30a96bc1aeaf22119873288005fd34
|
data/.git/index
CHANGED
Binary file
|
data/.git/logs/HEAD
CHANGED
@@ -1,3 +1,3 @@
|
|
1
|
-
0000000000000000000000000000000000000000
|
2
|
-
|
3
|
-
|
1
|
+
0000000000000000000000000000000000000000 436d2ea8da30a96bc1aeaf22119873288005fd34 root <root@f28596c65d75.(none)> 1744317926 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
|
2
|
+
436d2ea8da30a96bc1aeaf22119873288005fd34 436d2ea8da30a96bc1aeaf22119873288005fd34 root <root@f28596c65d75.(none)> 1744317926 +0000 checkout: moving from master to master
|
3
|
+
436d2ea8da30a96bc1aeaf22119873288005fd34 69ad0369c36e979fdd79988cb6b7525b3b2a7166 root <root@f28596c65d75.(none)> 1744317926 +0000 merge origin/development: Fast-forward
|
data/.git/logs/refs/heads/master
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
0000000000000000000000000000000000000000
|
2
|
-
|
1
|
+
0000000000000000000000000000000000000000 436d2ea8da30a96bc1aeaf22119873288005fd34 root <root@f28596c65d75.(none)> 1744317926 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
|
2
|
+
436d2ea8da30a96bc1aeaf22119873288005fd34 69ad0369c36e979fdd79988cb6b7525b3b2a7166 root <root@f28596c65d75.(none)> 1744317926 +0000 merge origin/development: Fast-forward
|
@@ -1 +1 @@
|
|
1
|
-
0000000000000000000000000000000000000000
|
1
|
+
0000000000000000000000000000000000000000 436d2ea8da30a96bc1aeaf22119873288005fd34 root <root@f28596c65d75.(none)> 1744317926 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
|
Binary file
|
Binary file
|
data/.git/packed-refs
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# pack-refs with: peeled fully-peeled sorted
|
2
|
-
|
3
|
-
|
2
|
+
69ad0369c36e979fdd79988cb6b7525b3b2a7166 refs/remotes/origin/development
|
3
|
+
436d2ea8da30a96bc1aeaf22119873288005fd34 refs/remotes/origin/master
|
4
4
|
2e4fe8087177ddea9b3991ca499f758384839c89 refs/tags/untagged-84fd83a4484c785cce63
|
5
5
|
04f604866214fab4d5663b5171a3e596331577bd refs/tags/v0.9.4
|
6
6
|
6f9a7b75b345c65fb554884907b7060680c807b7 refs/tags/v0.9.5
|
@@ -71,6 +71,8 @@ b68a30b7513dbbdada47704bd34510560b4ee8ca refs/tags/v12.8.0
|
|
71
71
|
7b3f19015f0280427b602d2b8c5371dddacd8299 refs/tags/v13.0.0
|
72
72
|
d2332b223f397155e757daed36263d569cc623e9 refs/tags/v13.1.0
|
73
73
|
4b38abf30ee550075d454f819d6e7c9a54fe02f3 refs/tags/v13.10.0
|
74
|
+
53198e435adfa157c90c15557a705630a9f8e9a6 refs/tags/v13.11.0
|
75
|
+
436d2ea8da30a96bc1aeaf22119873288005fd34 refs/tags/v13.12.0
|
74
76
|
4116587f7cfd88cd8e90c8f13af5f1a13c851530 refs/tags/v13.2.0
|
75
77
|
521b91f1f817e0ee896af3b7ccf29d29491c1b92 refs/tags/v13.2.1
|
76
78
|
d083930c831fd58555dfe5ad34bcaec81b755fc6 refs/tags/v13.3.0
|
data/.git/refs/heads/master
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
69ad0369c36e979fdd79988cb6b7525b3b2a7166
|
data/lib/grpc/accounts_pb.rb
CHANGED
@@ -93,6 +93,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
93
93
|
optional :suspendedRO, :bool, 10
|
94
94
|
optional :permission_levelRW, :string, 11
|
95
95
|
optional :password, :string, 12
|
96
|
+
optional :SCIM, :string, 13
|
97
|
+
optional :manager_id, :string, 14
|
96
98
|
end
|
97
99
|
add_message "v1.Service" do
|
98
100
|
optional :id, :string, 1
|
@@ -28,13 +28,13 @@ module V1
|
|
28
28
|
self.unmarshal_class_method = :decode
|
29
29
|
self.service_name = "v1.ApprovalWorkflowApprovers"
|
30
30
|
|
31
|
-
# Create creates a new approval workflow approver.
|
31
|
+
# Deprecated: Create creates a new approval workflow approver.
|
32
32
|
rpc :Create, ::V1::ApprovalWorkflowApproverCreateRequest, ::V1::ApprovalWorkflowApproverCreateResponse
|
33
|
-
# Get reads one approval workflow approver by ID.
|
33
|
+
# Deprecated: Get reads one approval workflow approver by ID.
|
34
34
|
rpc :Get, ::V1::ApprovalWorkflowApproverGetRequest, ::V1::ApprovalWorkflowApproverGetResponse
|
35
|
-
# Delete deletes an existing approval workflow approver.
|
35
|
+
# Deprecated: Delete deletes an existing approval workflow approver.
|
36
36
|
rpc :Delete, ::V1::ApprovalWorkflowApproverDeleteRequest, ::V1::ApprovalWorkflowApproverDeleteResponse
|
37
|
-
# Lists existing approval workflow approvers.
|
37
|
+
# Deprecated: Lists existing approval workflow approvers.
|
38
38
|
rpc :List, ::V1::ApprovalWorkflowApproverListRequest, ::V1::ApprovalWorkflowApproverListResponse
|
39
39
|
end
|
40
40
|
|
@@ -19,6 +19,7 @@ require "google/protobuf"
|
|
19
19
|
|
20
20
|
require "options_pb"
|
21
21
|
require "spec_pb"
|
22
|
+
require "google/protobuf/duration_pb"
|
22
23
|
|
23
24
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
24
25
|
add_file("approval_workflow_steps.proto", :syntax => :proto3) do
|
@@ -61,6 +62,9 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
61
62
|
add_message "v1.ApprovalWorkflowStep" do
|
62
63
|
optional :id, :string, 1
|
63
64
|
optional :approval_flow_id, :string, 2
|
65
|
+
optional :quantifier, :string, 3
|
66
|
+
optional :skip_after, :message, 4, "google.protobuf.Duration"
|
67
|
+
optional :step_order, :int32, 5
|
64
68
|
end
|
65
69
|
end
|
66
70
|
end
|
@@ -28,13 +28,13 @@ module V1
|
|
28
28
|
self.unmarshal_class_method = :decode
|
29
29
|
self.service_name = "v1.ApprovalWorkflowSteps"
|
30
30
|
|
31
|
-
# Create creates a new approval workflow step.
|
31
|
+
# Deprecated: Create creates a new approval workflow step.
|
32
32
|
rpc :Create, ::V1::ApprovalWorkflowStepCreateRequest, ::V1::ApprovalWorkflowStepCreateResponse
|
33
|
-
# Get reads one approval workflow step by ID.
|
33
|
+
# Deprecated: Get reads one approval workflow step by ID.
|
34
34
|
rpc :Get, ::V1::ApprovalWorkflowStepGetRequest, ::V1::ApprovalWorkflowStepGetResponse
|
35
|
-
# Delete deletes an existing approval workflow step.
|
35
|
+
# Deprecated: Delete deletes an existing approval workflow step.
|
36
36
|
rpc :Delete, ::V1::ApprovalWorkflowStepDeleteRequest, ::V1::ApprovalWorkflowStepDeleteResponse
|
37
|
-
# Lists existing approval workflow steps.
|
37
|
+
# Deprecated: Lists existing approval workflow steps.
|
38
38
|
rpc :List, ::V1::ApprovalWorkflowStepListRequest, ::V1::ApprovalWorkflowStepListResponse
|
39
39
|
end
|
40
40
|
|
@@ -0,0 +1,171 @@
|
|
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: managed_secrets.proto
|
17
|
+
|
18
|
+
require "google/protobuf"
|
19
|
+
|
20
|
+
require "options_pb"
|
21
|
+
require "spec_pb"
|
22
|
+
require "tags_pb"
|
23
|
+
require "google/protobuf/timestamp_pb"
|
24
|
+
|
25
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
26
|
+
add_file("managed_secrets.proto", :syntax => :proto3) do
|
27
|
+
add_message "v1.ManagedSecretLogsRequest" do
|
28
|
+
optional :meta, :message, 1, "v1.ListRequestMetadata"
|
29
|
+
optional :filter, :string, 2
|
30
|
+
end
|
31
|
+
add_message "v1.ManagedSecretLogsResponse" do
|
32
|
+
optional :meta, :message, 1, "v1.ListResponseMetadata"
|
33
|
+
repeated :managed_secret_logs, :message, 2, "v1.ManagedSecretLog"
|
34
|
+
optional :rate_limit, :message, 3, "v1.RateLimitMetadata"
|
35
|
+
end
|
36
|
+
add_message "v1.ManagedSecretListRequest" do
|
37
|
+
optional :meta, :message, 1, "v1.ListRequestMetadata"
|
38
|
+
optional :filter, :string, 2
|
39
|
+
end
|
40
|
+
add_message "v1.ManagedSecretListResponse" do
|
41
|
+
optional :meta, :message, 1, "v1.ListResponseMetadata"
|
42
|
+
repeated :managed_secrets, :message, 2, "v1.ManagedSecret"
|
43
|
+
optional :rate_limit, :message, 3, "v1.RateLimitMetadata"
|
44
|
+
end
|
45
|
+
add_message "v1.ManagedSecretRetrieveRequest" do
|
46
|
+
optional :meta, :message, 1, "v1.GetRequestMetadata"
|
47
|
+
optional :id, :string, 2
|
48
|
+
optional :public_key, :bytes, 3
|
49
|
+
end
|
50
|
+
add_message "v1.ManagedSecretRetrieveResponse" do
|
51
|
+
optional :meta, :message, 1, "v1.GetResponseMetadata"
|
52
|
+
optional :managed_secret, :message, 2, "v1.ManagedSecret"
|
53
|
+
optional :rate_limit, :message, 3, "v1.RateLimitMetadata"
|
54
|
+
end
|
55
|
+
add_message "v1.ManagedSecretValidateRequest" do
|
56
|
+
optional :meta, :message, 1, "v1.GetRequestMetadata"
|
57
|
+
optional :id, :string, 2
|
58
|
+
end
|
59
|
+
add_message "v1.ManagedSecretValidateResponse" do
|
60
|
+
optional :meta, :message, 1, "v1.GetResponseMetadata"
|
61
|
+
optional :valid, :bool, 2
|
62
|
+
optional :rate_limit, :message, 3, "v1.RateLimitMetadata"
|
63
|
+
optional :invalid_info, :string, 4
|
64
|
+
end
|
65
|
+
add_message "v1.ManagedSecretGetRequest" do
|
66
|
+
optional :meta, :message, 1, "v1.GetRequestMetadata"
|
67
|
+
optional :id, :string, 2
|
68
|
+
end
|
69
|
+
add_message "v1.ManagedSecretGetResponse" do
|
70
|
+
optional :meta, :message, 1, "v1.GetResponseMetadata"
|
71
|
+
optional :managed_secret, :message, 2, "v1.ManagedSecret"
|
72
|
+
optional :rate_limit, :message, 3, "v1.RateLimitMetadata"
|
73
|
+
end
|
74
|
+
add_message "v1.ManagedSecretCreateRequest" do
|
75
|
+
optional :meta, :message, 1, "v1.CreateRequestMetadata"
|
76
|
+
optional :managed_secret, :message, 2, "v1.ManagedSecret"
|
77
|
+
end
|
78
|
+
add_message "v1.ManagedSecretCreateResponse" do
|
79
|
+
optional :meta, :message, 1, "v1.CreateResponseMetadata"
|
80
|
+
optional :managed_secret, :message, 2, "v1.ManagedSecret"
|
81
|
+
optional :rate_limit, :message, 3, "v1.RateLimitMetadata"
|
82
|
+
end
|
83
|
+
add_message "v1.ManagedSecretUpdateRequest" do
|
84
|
+
optional :meta, :message, 1, "v1.UpdateRequestMetadata"
|
85
|
+
optional :id, :string, 2
|
86
|
+
optional :managed_secret, :message, 3, "v1.ManagedSecret"
|
87
|
+
end
|
88
|
+
add_message "v1.ManagedSecretUpdateResponse" do
|
89
|
+
optional :meta, :message, 1, "v1.UpdateResponseMetadata"
|
90
|
+
optional :managed_secret, :message, 2, "v1.ManagedSecret"
|
91
|
+
optional :rate_limit, :message, 3, "v1.RateLimitMetadata"
|
92
|
+
end
|
93
|
+
add_message "v1.ManagedSecretRotateRequest" do
|
94
|
+
optional :meta, :message, 1, "v1.GenericRequestMetadata"
|
95
|
+
optional :id, :string, 2
|
96
|
+
end
|
97
|
+
add_message "v1.ManagedSecretRotateResponse" do
|
98
|
+
optional :meta, :message, 1, "v1.GenericResponseMetadata"
|
99
|
+
optional :rate_limit, :message, 2, "v1.RateLimitMetadata"
|
100
|
+
end
|
101
|
+
add_message "v1.ManagedSecretDeleteRequest" do
|
102
|
+
optional :meta, :message, 1, "v1.UpdateRequestMetadata"
|
103
|
+
optional :id, :string, 2
|
104
|
+
end
|
105
|
+
add_message "v1.ManagedSecretDeleteResponse" do
|
106
|
+
optional :meta, :message, 1, "v1.DeleteResponseMetadata"
|
107
|
+
optional :rate_limit, :message, 2, "v1.RateLimitMetadata"
|
108
|
+
end
|
109
|
+
add_message "v1.ManagedSecretLog" do
|
110
|
+
optional :id, :string, 1
|
111
|
+
optional :created_at, :message, 2, "google.protobuf.Timestamp"
|
112
|
+
optional :secret_engine_id, :string, 3
|
113
|
+
optional :managed_secret_id, :string, 4
|
114
|
+
optional :account_id, :string, 5
|
115
|
+
optional :action, :string, 6
|
116
|
+
optional :debug, :string, 7
|
117
|
+
end
|
118
|
+
add_message "v1.ManagedSecret" do
|
119
|
+
optional :id, :string, 1
|
120
|
+
optional :name, :string, 2
|
121
|
+
optional :secret_engine_id, :string, 3
|
122
|
+
optional :value, :bytes, 4
|
123
|
+
optional :secret_store_path, :string, 5
|
124
|
+
optional :policy, :message, 6, "v1.ManagedSecretPolicy"
|
125
|
+
optional :tags, :message, 7, "v1.Tags"
|
126
|
+
optional :last_rotated_at, :message, 8, "google.protobuf.Timestamp"
|
127
|
+
optional :expires_at, :message, 9, "google.protobuf.Timestamp"
|
128
|
+
optional :config, :string, 10
|
129
|
+
end
|
130
|
+
add_message "v1.ManagedSecretPolicy" do
|
131
|
+
optional :rotation_policy, :message, 1, "v1.ManagedSecretRotationPolicy"
|
132
|
+
optional :password_policy, :message, 2, "v1.ManagedSecretPasswordPolicy"
|
133
|
+
end
|
134
|
+
add_message "v1.ManagedSecretPasswordPolicy" do
|
135
|
+
optional :length, :uint32, 1
|
136
|
+
optional :exclude_upper_case, :bool, 2
|
137
|
+
optional :num_digits, :uint32, 3
|
138
|
+
optional :num_symbols, :uint32, 4
|
139
|
+
optional :allow_repeat, :bool, 5
|
140
|
+
optional :exclude_characters, :string, 6
|
141
|
+
end
|
142
|
+
add_message "v1.ManagedSecretRotationPolicy" do
|
143
|
+
end
|
144
|
+
end
|
145
|
+
end
|
146
|
+
|
147
|
+
module V1
|
148
|
+
ManagedSecretLogsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ManagedSecretLogsRequest").msgclass
|
149
|
+
ManagedSecretLogsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ManagedSecretLogsResponse").msgclass
|
150
|
+
ManagedSecretListRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ManagedSecretListRequest").msgclass
|
151
|
+
ManagedSecretListResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ManagedSecretListResponse").msgclass
|
152
|
+
ManagedSecretRetrieveRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ManagedSecretRetrieveRequest").msgclass
|
153
|
+
ManagedSecretRetrieveResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ManagedSecretRetrieveResponse").msgclass
|
154
|
+
ManagedSecretValidateRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ManagedSecretValidateRequest").msgclass
|
155
|
+
ManagedSecretValidateResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ManagedSecretValidateResponse").msgclass
|
156
|
+
ManagedSecretGetRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ManagedSecretGetRequest").msgclass
|
157
|
+
ManagedSecretGetResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ManagedSecretGetResponse").msgclass
|
158
|
+
ManagedSecretCreateRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ManagedSecretCreateRequest").msgclass
|
159
|
+
ManagedSecretCreateResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ManagedSecretCreateResponse").msgclass
|
160
|
+
ManagedSecretUpdateRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ManagedSecretUpdateRequest").msgclass
|
161
|
+
ManagedSecretUpdateResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ManagedSecretUpdateResponse").msgclass
|
162
|
+
ManagedSecretRotateRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ManagedSecretRotateRequest").msgclass
|
163
|
+
ManagedSecretRotateResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ManagedSecretRotateResponse").msgclass
|
164
|
+
ManagedSecretDeleteRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ManagedSecretDeleteRequest").msgclass
|
165
|
+
ManagedSecretDeleteResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ManagedSecretDeleteResponse").msgclass
|
166
|
+
ManagedSecretLog = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ManagedSecretLog").msgclass
|
167
|
+
ManagedSecret = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ManagedSecret").msgclass
|
168
|
+
ManagedSecretPolicy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ManagedSecretPolicy").msgclass
|
169
|
+
ManagedSecretPasswordPolicy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ManagedSecretPasswordPolicy").msgclass
|
170
|
+
ManagedSecretRotationPolicy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ManagedSecretRotationPolicy").msgclass
|
171
|
+
end
|
@@ -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: managed_secrets.proto for package 'v1'
|
17
|
+
|
18
|
+
require "grpc"
|
19
|
+
require "managed_secrets_pb"
|
20
|
+
|
21
|
+
module V1
|
22
|
+
module ManagedSecrets
|
23
|
+
# ManagedSecret is a private vertical for creating, reading, updating,
|
24
|
+
# deleting, listing and rotating the managed secrets in the secrets engines as
|
25
|
+
# an authenticated user.
|
26
|
+
class Service
|
27
|
+
include ::GRPC::GenericService
|
28
|
+
|
29
|
+
self.marshal_class_method = :encode
|
30
|
+
self.unmarshal_class_method = :decode
|
31
|
+
self.service_name = "v1.ManagedSecrets"
|
32
|
+
|
33
|
+
# List returns Managed Secrets from a Secret Engine.
|
34
|
+
rpc :List, ::V1::ManagedSecretListRequest, ::V1::ManagedSecretListResponse
|
35
|
+
# List returns Managed Secrets for an Actor from a Secret Engine.
|
36
|
+
rpc :ListByActor, ::V1::ManagedSecretListRequest, ::V1::ManagedSecretListResponse
|
37
|
+
# Create creates a Managed Secret
|
38
|
+
rpc :Create, ::V1::ManagedSecretCreateRequest, ::V1::ManagedSecretCreateResponse
|
39
|
+
# Update updates a Managed Secret
|
40
|
+
rpc :Update, ::V1::ManagedSecretUpdateRequest, ::V1::ManagedSecretUpdateResponse
|
41
|
+
# Rotate forces rotation of Managed Secret
|
42
|
+
rpc :Rotate, ::V1::ManagedSecretRotateRequest, ::V1::ManagedSecretRotateResponse
|
43
|
+
# Delete deletes a Managed Secret
|
44
|
+
rpc :Delete, ::V1::ManagedSecretDeleteRequest, ::V1::ManagedSecretDeleteResponse
|
45
|
+
# Get gets details of a Managed Secret without sensitive data
|
46
|
+
rpc :Get, ::V1::ManagedSecretGetRequest, ::V1::ManagedSecretGetResponse
|
47
|
+
# Retrieve returns Managed Secret with sensitive data
|
48
|
+
rpc :Retrieve, ::V1::ManagedSecretRetrieveRequest, ::V1::ManagedSecretRetrieveResponse
|
49
|
+
# Validate returns the result of testing the stored credential against the
|
50
|
+
# secret engine.
|
51
|
+
rpc :Validate, ::V1::ManagedSecretValidateRequest, ::V1::ManagedSecretValidateResponse
|
52
|
+
# Logs returns the audit records for the managed secret. This may be replaced
|
53
|
+
# in the future.
|
54
|
+
rpc :Logs, ::V1::ManagedSecretLogsRequest, ::V1::ManagedSecretLogsResponse
|
55
|
+
end
|
56
|
+
|
57
|
+
Stub = Service.rpc_stub_class
|
58
|
+
end
|
59
|
+
end
|