Properties
Readonly name
name: string
Methods
addRole
- addRole(role: string | Role, options?: grpc.CallOptions): Promise<this>
-
Parameters
-
role: string | Role
-
Optional options: grpc.CallOptions
Returns Promise<this>
create
- create(password: string, options?: grpc.CallOptions): Promise<this>
-
Parameters
-
password: string
-
Optional options: grpc.CallOptions
Returns Promise<this>
delete
- delete(options?: grpc.CallOptions): Promise<this>
-
Parameters
-
Optional options: grpc.CallOptions
Returns Promise<this>
removeRole
- removeRole(role: string | Role, options?: grpc.CallOptions): Promise<this>
-
Parameters
-
role: string | Role
-
Optional options: grpc.CallOptions
Returns Promise<this>
roles
- roles(options?: grpc.CallOptions): Promise<Role[]>
-
Parameters
-
Optional options: grpc.CallOptions
Returns Promise<Role[]>
setPassword
- setPassword(password: string, options?: grpc.CallOptions): Promise<this>
-
Parameters
-
password: string
-
Optional options: grpc.CallOptions
Returns Promise<this>
The User provides an entry point for managing etcd users. The user can be added to Roles to manage permissions.