public function createMount($name, array $body)
    {
        $body = OptionsResolver::resolve($body, ['type', 'description', 'config']);

        $params = [
            'body' => json_encode($body)
        ];

        return $this->client->post('/v1/sys/mounts/' . $name, $params);
    }
public function createMount($name, array $body)
    {
        $body = OptionsResolver::resolve($body, ['type', 'description', 'config']);

        $params = [
            'body' => json_encode($body)
        ];

        return $this->client->post('/v1/sys/mounts/' . $name, $params);
    }
public function createMount ( $ name , array $ body ) { $ body = OptionsResolver :: resolve ( $ body , [ 'type' , 'description' , 'config' ] ) ; $ params = [ 'body' => json_encode ( $ body ) ] ; return $ this -> client -> post ( '/v1/sys/mounts/' . $ name , $ params ) ; }
Mount a new secret backend to the mount point in the URL.

@param  string $name
@param  array  $body
@return mixed
Mount a new secret backend to the mount point in the URL .