Skip to content

Commit c7ad51e

Browse files
Hakan Memisoglujdef
authored andcommitted
Adds secrets field to ListSnapshotsRequest (#372)
There is no way to directly pass credentials to ListSnapshots call. This change will add a field required to pass credentials by the caller.
1 parent 3293249 commit c7ad51e

File tree

3 files changed

+229
-206
lines changed

3 files changed

+229
-206
lines changed

csi.proto

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1009,6 +1009,11 @@ message ListSnapshotsRequest {
10091009
// and will not block if the snapshot is being processed after
10101010
// it is cut.
10111011
string snapshot_id = 4;
1012+
1013+
// Secrets required by plugin to complete ListSnapshot request.
1014+
// This field is OPTIONAL. Refer to the `Secrets Requirements`
1015+
// section on how to use this field.
1016+
map<string, string> secrets = 5 [(csi_secret) = true];
10121017
}
10131018

10141019
message ListSnapshotsResponse {

0 commit comments

Comments
 (0)