File: admin.proto

package info (click to toggle)
golang-step-linkedca 0.19.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 520 kB
  • sloc: makefile: 28
file content (26 lines) | stat: -rw-r--r-- 499 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 = "go.step.sm/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;
}