File: admin.proto

package info (click to toggle)
golang-github-smallstep-linkedca 0.24.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 580 kB
  • sloc: makefile: 61
file content (26 lines) | stat: -rw-r--r-- 509 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
syntax = "proto3";

package linkedca;

option go_package = "github.com/smallstep/linkedca";

import "google/protobuf/timestamp.proto";

message Admin {
    enum Type {
        UNKNOWN = 0;
        ADMIN = 1;
        SUPER_ADMIN = 2;
    }
    string id = 1;
    string authority_id = 2;
    string subject = 3;
    string provisioner_id = 4;
    Type type = 5;
    google.protobuf.Timestamp created_at = 6;
    google.protobuf.Timestamp deleted_at = 7;
}

message AdminList {
    repeated Admin admins = 1;
}