Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions odpf/optimus/core/v1beta1/runtime.proto
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,13 @@ service RuntimeService {
};
}

// DeleteSecret deletes a secret for a project
rpc DeleteSecret(DeleteSecretRequest) returns (DeleteSecretResponse) {
option (google.api.http) = {
delete: "/v1beta1/project/{project_name}/secret/{secret_name}"
};
}

// ListProjects returns list of registered projects and configurations
rpc ListProjects(ListProjectsRequest) returns (ListProjectsResponse) {
option (google.api.http) = {
Expand Down Expand Up @@ -604,6 +611,14 @@ message ListSecretsResponse {
repeated Secret secrets = 1;
}

message DeleteSecretRequest {
string project_name = 1;
string secret_name = 2;
string namespace_name = 3;
}

message DeleteSecretResponse {}

message ListProjectsRequest {}

message ListProjectsResponse {
Expand Down