code: protected UserApiKey createApiKeyInternal(final String name) {
      final StitchAuthDocRequest.Builder reqBuilder = new StitchAuthDocRequest.Builder();
      reqBuilder
              .withMethod(Method.POST)
              .withPath(this.getBaseRoute())
              .withDocument(new Document(ApiKeyFields.NAME, name))
              .withRefreshToken();
      return getRequestClient().doAuthenticatedRequest(
              reqBuilder.build(),
              new UserApiKeyDecoder()
      );
    }
docs: Creates a user API key that can be used to authenticate as the current user.
  
  @param name The name of the API key to be created
  @return the created API key.