All Downloads are FREE. Search and download functionalities are using the official Maven repository.

nfig.helidon-config-etcd.4.0.1.source-code.auth.proto Maven / Gradle / Ivy

There is a newer version: 4.0.10
Show newest version
syntax = "proto3";

package authpb;

option java_multiple_files = true;
option java_package = "io.helidon.config.etcd.internal.client.proto";

// User is a single entry in the bucket authUsers
message User {
    bytes name = 1;
    bytes password = 2;
    repeated string roles = 3;
}

// Permission is a single entity
message Permission {
    enum Type {
        READ = 0;
        WRITE = 1;
        READWRITE = 2;
    }
    Type permType = 1;

    bytes key = 2;
    bytes range_end = 3;
}

// Role is a single entry in the bucket authRoles
message Role {
    bytes name = 1;

    repeated Permission keyPermission = 2;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy