Skip to content

Commit

Permalink
Token fields
Browse files Browse the repository at this point in the history
  • Loading branch information
vcastellm committed Mar 24, 2024
1 parent aae95b9 commit b1ce3da
Show file tree
Hide file tree
Showing 2 changed files with 201 additions and 125 deletions.
9 changes: 8 additions & 1 deletion proto/pro.proto
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ syntax = "proto3";
package types;
option go_package = "github.com/distribworks/dkron/types";
import "google/protobuf/empty.proto";
import "google/protobuf/timestamp.proto";

// Policy is a policy definition
message Policy {
Expand Down Expand Up @@ -41,7 +42,13 @@ message ACLPolicyListResponse {

// Token is a token string
message Token {
string token = 1;
string accesor = 1;
string secret = 2;
string name = 3;
string type = 4;
google.protobuf.Timestamp create_time = 5;
google.protobuf.Timestamp expire_time = 6;
repeated Policy policies = 7;
}

message ACLTokenUpsertRequest {
Expand Down
Loading

0 comments on commit b1ce3da

Please sign in to comment.