Get api key from hiera