addMachineKey method

ResponseFuture<AddMachineKeyResponse> addMachineKey(
  1. AddMachineKeyRequest request, {
  2. CallOptions? options,
})

Create Key for machine user

Deprecated: use user service v2 AddKey instead.

If a public key is not supplied, a new key is generated and will be returned in the response. Make sure to store the returned key. If an RSA public key is supplied, the private key is omitted from the response. Machine keys are used to authenticate with jwt profile.

Implementation

$grpc.ResponseFuture<$0.AddMachineKeyResponse> addMachineKey(
  $0.AddMachineKeyRequest request, {
  $grpc.CallOptions? options,
}) {
  return $createUnaryCall(_$addMachineKey, request, options: options);
}