code: public Observable<SpatialAnchorsAccountKeysInner> getKeysAsync(String resourceGroupName, String spatialAnchorsAccountName) {
          return getKeysWithServiceResponseAsync(resourceGroupName, spatialAnchorsAccountName).map(new Func1<ServiceResponse<SpatialAnchorsAccountKeysInner>, SpatialAnchorsAccountKeysInner>() {
              @Override
              public SpatialAnchorsAccountKeysInner call(ServiceResponse<SpatialAnchorsAccountKeysInner> response) {
                  return response.body();
              }
          });
      }
docs: Get Both of the 2 Keys of a Spatial Anchors Account.
  
  @param resourceGroupName Name of an Azure resource group.
  @param spatialAnchorsAccountName Name of an Mixed Reality Spatial Anchors Account.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @return the observable to the SpatialAnchorsAccountKeysInner object