reductstore 1.19.8

ReductStore is a time series database designed specifically for storing and managing large amounts of blob data.
Documentation
// Copyright 2022 ReductStore
// Licensed under the Business Source License 1.1

syntax = "proto3";

import "google/protobuf/timestamp.proto";

package reduct.proto.auth;

// API token
message Token {
  // Permissions
  message Permissions {
    bool full_access = 1;        // if true, allows to manage buckets, tokens, write and read all buckets
    repeated string read = 2;    // list of buckets for reading
    repeated string write = 3;   // list of buckets for writing
  }

  string name = 1;                            // name of topic
  string value = 2;                           // string which represents token
  google.protobuf.Timestamp created_at = 3;   // creating time
  Permissions permissions = 4;                // permissions
  bool is_provisioned = 5;                    // token was provisioned from config
  google.protobuf.Timestamp expires_at = 6;   // expiration time
  uint64 ttl = 7;                             // inactivity TTL in seconds
  repeated string ip_allowlist = 8;           // optional allowed client IP list
}

message TokenRepo {
  repeated Token tokens = 1;    // tokens in repo
}